CVE-2026-44888: CWE-94: Improper Control of Generation of Code ('Code Injection') in leiweibau Pi.Alert
CVE-2026-44888 is a critical code injection vulnerability in leiweibau Pi. Alert versions prior to 2026-05-07. The SaveConfigFile() endpoint improperly writes user-supplied numeric configuration values directly into a configuration file (pialert.conf) without validation. This file is executed every few minutes by a background Python process, allowing unauthenticated attackers to inject arbitrary Python code and achieve OS-level remote code execution. By default, installations have no web protection enabled, requiring no credentials to exploit. The vulnerability has a CVSS score of 9.8 and was fixed on 2026-05-07. No official patch link or advisory is provided in the data, and no known exploits are reported in the wild.
AI Analysis
Technical Summary
Pi.Alert's SaveConfigFile() endpoint accepts user-supplied numeric configuration values and writes them directly into pialert.conf without validation. Since pialert.conf is executed by Python's exec() function every 3–5 minutes via a cron job, this allows an attacker to inject arbitrary Python code. Default installations with PIALERT_WEB_PROTECTION disabled do not require authentication, enabling unauthenticated remote code execution at the OS level. The vulnerability affects versions prior to 2026-05-07 and has been fixed in that release. The CVSS 3.1 base score is 9.8, reflecting network attack vector, low attack complexity, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability.
Potential Impact
An attacker can achieve unauthenticated remote code execution on the underlying operating system by injecting arbitrary Python code through the vulnerable SaveConfigFile() endpoint. This compromises the confidentiality, integrity, and availability of the affected system. The vulnerability is critical due to the ease of exploitation and the high impact on system security. No known exploits in the wild have been reported as of the published date.
Mitigation Recommendations
The vulnerability was fixed in the 2026-05-07 release of Pi.Alert. Users should upgrade to version 2026-05-07 or later to remediate this issue. Since no official patch link or advisory is provided, users should verify the update from the vendor's official channels. Additionally, enabling PIALERT_WEB_PROTECTION may reduce exposure by requiring authentication, but the primary mitigation is applying the fixed version. Patch status is not explicitly confirmed beyond the stated fix date; users should consult the vendor for current remediation guidance.
CVE-2026-44888: CWE-94: Improper Control of Generation of Code ('Code Injection') in leiweibau Pi.Alert
Description
CVE-2026-44888 is a critical code injection vulnerability in leiweibau Pi. Alert versions prior to 2026-05-07. The SaveConfigFile() endpoint improperly writes user-supplied numeric configuration values directly into a configuration file (pialert.conf) without validation. This file is executed every few minutes by a background Python process, allowing unauthenticated attackers to inject arbitrary Python code and achieve OS-level remote code execution. By default, installations have no web protection enabled, requiring no credentials to exploit. The vulnerability has a CVSS score of 9.8 and was fixed on 2026-05-07. No official patch link or advisory is provided in the data, and no known exploits are reported in the wild.
CVSS v3.1
Score 9.8critical
Affected software
pkg:github/leiweibau/Pi.AlertRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Pi.Alert's SaveConfigFile() endpoint accepts user-supplied numeric configuration values and writes them directly into pialert.conf without validation. Since pialert.conf is executed by Python's exec() function every 3–5 minutes via a cron job, this allows an attacker to inject arbitrary Python code. Default installations with PIALERT_WEB_PROTECTION disabled do not require authentication, enabling unauthenticated remote code execution at the OS level. The vulnerability affects versions prior to 2026-05-07 and has been fixed in that release. The CVSS 3.1 base score is 9.8, reflecting network attack vector, low attack complexity, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability.
Potential Impact
An attacker can achieve unauthenticated remote code execution on the underlying operating system by injecting arbitrary Python code through the vulnerable SaveConfigFile() endpoint. This compromises the confidentiality, integrity, and availability of the affected system. The vulnerability is critical due to the ease of exploitation and the high impact on system security. No known exploits in the wild have been reported as of the published date.
Mitigation Recommendations
The vulnerability was fixed in the 2026-05-07 release of Pi.Alert. Users should upgrade to version 2026-05-07 or later to remediate this issue. Since no official patch link or advisory is provided, users should verify the update from the vendor's official channels. Additionally, enabling PIALERT_WEB_PROTECTION may reduce exposure by requiring authentication, but the primary mitigation is applying the fixed version. Patch status is not explicitly confirmed beyond the stated fix date; users should consult the vendor for current 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: 05/27/2026, 19:35:06 UTC
Last enriched: 06/03/2026, 20:52:38 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 64
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.