CVE-2026-44888
BaseFortify
Publication date: 2026-05-27
Last updated on: 2026-05-27
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| pi.alert | pialert | to 2026-05-07 (exc) |
| leiweibau | pi.alert | 2026-05-07 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-94 | The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. |
Attack-Flow Graph
AI Powered Q&A
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
This vulnerability allows unauthenticated remote code execution, which can lead to full system compromise. Such a breach can result in unauthorized access to sensitive data, impacting confidentiality, integrity, and availability.
Because of the potential for unauthorized data access and system control, organizations using Pi.Alert without the fix may fail to comply with data protection regulations like GDPR and HIPAA, which require safeguarding personal and sensitive information against unauthorized access and ensuring system security.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
Detection of this vulnerability involves checking if the Pi.Alert installation is running a vulnerable version prior to 2026-05-07 and if the SaveConfigFile() endpoint is accessible without authentication.
Since the vulnerability allows injection of arbitrary Python code into the pialert.conf file via numeric configuration fields (e.g., SMTP_PORT), one detection method is to inspect the contents of the pialert.conf file for suspicious or unexpected Python code.
Additionally, monitoring network traffic for unauthenticated POST requests to the SaveConfigFile() endpoint that include unusual numeric values or code snippets can help identify exploitation attempts.
Suggested commands to assist detection include:
- Check the modification time and contents of the pialert.conf file: `cat /path/to/pialert.conf` or `grep -E 'SMTP_PORT|[a-zA-Z]' /path/to/pialert.conf` to look for injected code.
- Use network monitoring tools like tcpdump or Wireshark to capture HTTP requests to the Pi.Alert web service, filtering for POST requests to the SaveConfigFile() endpoint: `tcpdump -i eth0 -A 'tcp port 80 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)'` and inspect for suspicious payloads.
- Check if the Pi.Alert web protection is disabled (PIALERT_WEB_PROTECTION = False) by reviewing the configuration or environment variables.
Note that no specific detection scripts or commands are provided in the resources, so manual inspection and network monitoring are recommended.
Can you explain this vulnerability to me?
This vulnerability exists in Pi.Alert, a WIFI / LAN intruder detector with web service monitoring. Before May 7, 2026, the SaveConfigFile() endpoint in Pi.Alert writes user-supplied numeric configuration values directly into the pialert.conf file without validating them.
Since pialert.conf is executed every 3β5 minutes by a background cron process using Python's exec(), an attacker can inject arbitrary Python code through these unvalidated inputs.
This allows an attacker to achieve unauthenticated operating system-level remote code execution (RCE). On default installations where web protection is disabled (PIALERT_WEB_PROTECTION = False), no credentials are required to exploit this vulnerability.
The vulnerability was fixed on May 7, 2026.
How can this vulnerability impact me? :
This vulnerability can have severe impacts because it allows an unauthenticated attacker to execute arbitrary code on the operating system hosting Pi.Alert.
Such remote code execution can lead to full system compromise, including unauthorized access, data theft, system manipulation, or disruption of services.
Since no credentials are required on default installations, the risk of exploitation is high.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, update Pi.Alert to the fixed version released on 2026-05-07 or later.
Additionally, ensure that the default setting PIALERT_WEB_PROTECTION is enabled (set to True) to require credentials and prevent unauthenticated access.