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.
Published: 2026-05-27
Score: 9.8 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Pi.Alert exposes an unauthenticated remote code execution flaw through its SaveConfigFile() endpoint, which writes user‑supplied numeric configuration values directly into the pialert.conf file without validation. Because the configuration file is subsequently executed by Python’s exec() function every 3–5 minutes by a background cron process, an attacker can inject arbitrary Python code and gain full OS‑level control on machines that run the vulnerable version. The issue is rooted in failure to validate or sanitize user input before it reaches a code‑execution context (CWE‑94).

Affected Systems

The vulnerability affects the Pi.Alert product developed by leiweibau. Prior to the 2026‑05‑07 release, any installation that had its web protection disabled (PIALERT_WEB_PROTECTION = False) was susceptible to exploitation. No specific version numbers are listed in the advisory except that the fix was included in the 2026‑05‑07 update.

Risk and Exploitability

The CVSS score of 9.8 indicates a critical severity, and the vulnerability is marked as unauthenticated, which means any local or remote user can exploit it without credentials. The EPSS score is not available, and the issue is not listed in the CISA KEV catalog. Based on the information, the likely attack vector is submitting a crafted numeric value to SaveConfigFile() on a host that runs the impacted Pi.Alert version. If the exploit succeeds, the attacker can execute arbitrary code with the privileges of the process that runs the cron task, effectively compromising the entire host.

Generated by OpenCVE AI on May 27, 2026 at 20:57 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the 2026‑05‑07 patch or later to Pi.Alert to eliminate the unvalidated config file write.
  • Enable PIALERT_WEB_PROTECTION (set to True) to require authentication for any configuration changes.
  • Audit existing configurations for untrusted numeric values and replace the exec() based config loader with a safe parsing method if the product cannot be upgraded immediately.

Generated by OpenCVE AI on May 27, 2026 at 20:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 27 May 2026 19:30:00 +0000

Type Values Removed Values Added
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.
Title Unauthenticated RCE via Python Config File Injection in SaveConfigFile() (Interger)
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-05-27T19:14:43.897Z

Reserved: 2026-05-07T21:50:33.545Z

Link: CVE-2026-44888

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-05-27T20:16:38.040

Modified: 2026-05-27T20:16:38.040

Link: CVE-2026-44888

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-27T21:00:14Z

Weaknesses