CVE-2026-44888: CWE-94: Improper Control of Generation of Code ('Code Injection') in leiweibau Pi.Alert
Pi.Alert is a WIFI / LAN intruder detector with web service monitoring. Prior to 2026-05-07, Pi.Alert's SaveConfigFile() endpoint writes user-supplied numeric config values (e.g., SMTP_PORT) directly into pialert.conf without validation. Since pialert.conf is loaded via Python's exec() every 3–5 minutes by the background cron process, an attacker can inject arbitrary Python code and achieve unauthenticated OS-level RCE. On default installations (PIALERT_WEB_PROTECTION = False), no credentials are required. This vulnerability is fixed in 2026-05-07.
AI Analysis
Technical Summary
Pi.Alert, a WIFI/LAN intruder detector with web service monitoring, contains a code injection vulnerability (CWE-94) in its SaveConfigFile() endpoint in versions before 2026-05-07. User-supplied numeric values such as SMTP_PORT are written directly into the pialert.conf configuration file without validation. This file is loaded and executed by Python's exec() function every few minutes by a cron job. Because default installations do not require authentication (PIALERT_WEB_PROTECTION = False), an attacker can remotely inject arbitrary Python code leading to unauthenticated OS-level remote code execution. The vulnerability is addressed in the 2026-05-07 update.
Potential Impact
Successful exploitation allows unauthenticated attackers to execute arbitrary Python code on the host operating system, resulting in full system compromise. This includes complete confidentiality, integrity, and availability impacts. The vulnerability affects all Pi.Alert installations prior to 2026-05-07, especially those with default settings that disable web protection.
Mitigation Recommendations
A fix for this vulnerability is available in the 2026-05-07 release of Pi.Alert. Users should upgrade to this version or later to remediate the issue. Until upgraded, enabling PIALERT_WEB_PROTECTION to require authentication can reduce risk by preventing unauthenticated access to the vulnerable endpoint. Patch status is not explicitly stated beyond the fixed release date, so users should verify with the vendor for the latest remediation guidance.
CVE-2026-44888: CWE-94: Improper Control of Generation of Code ('Code Injection') in leiweibau Pi.Alert
Description
Pi.Alert is a WIFI / LAN intruder detector with web service monitoring. Prior to 2026-05-07, Pi.Alert's SaveConfigFile() endpoint writes user-supplied numeric config values (e.g., SMTP_PORT) directly into pialert.conf without validation. Since pialert.conf is loaded via Python's exec() every 3–5 minutes by the background cron process, an attacker can inject arbitrary Python code and achieve unauthenticated OS-level RCE. On default installations (PIALERT_WEB_PROTECTION = False), no credentials are required. This vulnerability is fixed in 2026-05-07.
CVSS v3.1
Score 9.8critical
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Pi.Alert, a WIFI/LAN intruder detector with web service monitoring, contains a code injection vulnerability (CWE-94) in its SaveConfigFile() endpoint in versions before 2026-05-07. User-supplied numeric values such as SMTP_PORT are written directly into the pialert.conf configuration file without validation. This file is loaded and executed by Python's exec() function every few minutes by a cron job. Because default installations do not require authentication (PIALERT_WEB_PROTECTION = False), an attacker can remotely inject arbitrary Python code leading to unauthenticated OS-level remote code execution. The vulnerability is addressed in the 2026-05-07 update.
Potential Impact
Successful exploitation allows unauthenticated attackers to execute arbitrary Python code on the host operating system, resulting in full system compromise. This includes complete confidentiality, integrity, and availability impacts. The vulnerability affects all Pi.Alert installations prior to 2026-05-07, especially those with default settings that disable web protection.
Mitigation Recommendations
A fix for this vulnerability is available in the 2026-05-07 release of Pi.Alert. Users should upgrade to this version or later to remediate the issue. Until upgraded, enabling PIALERT_WEB_PROTECTION to require authentication can reduce risk by preventing unauthenticated access to the vulnerable endpoint. Patch status is not explicitly stated beyond the fixed release date, so users should verify with the vendor for the latest remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-07T21:50:33.545Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a17476ae29bf47b50e35424
Added to database: 5/27/2026, 7:35:06 PM
Last enriched: 5/27/2026, 7:48:58 PM
Last updated: 5/27/2026, 8:45:29 PM
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.