CVE Watchtower

CVE-2026-39949cacti/cacti OS Command Injection

NVD

Vulnerability Summary

Updated Fix Status Previous fix covered only the test path in get_full_test_script_path(). Production poller sinks in test_data_source() are now covered: path_php_binary is wrapped with cacti_escapeshellcmd() at lib/functions.php:2237 and :2525, and host-variable arguments are escaped at lib/data_query.php. Present in shipped 1.2.x. Reviewed in session 2026-04-17. --- Fix: https://github.com/Cacti/cacti/commit/891344a5c10b8687a3d2a5d26e6de20f13069e2a (PR #7054) --- Maintainer Remediation & Release Information This vulnerability is fixed in Cacti 1.2.31 (`release/1.2.31`) via PR #7054, which escapes substituted host variables and script command arguments in `lib/functions.php` and `lib/data_query.php`. Users should upgrade to Cacti 1.2.31 or later.
Severity Level
HIGH(7.2)
Published Date
Nov 29, 2026
Last Modified
Nov 29, 2026
Exploitation Status
No confirmed exploitation yet
CVE Record Status
Reserved
This CVE ID is referenced in a public advisory, but the CVE Program has not published its official CVE Record yet. Full CVSS/CPE data from NVD will appear here once it does.
Root Weakness (CWE)
The software constructs all or part of an OS command using externally-influenced input, but does not properly neutralize special elements.
CVSS v3.1 Base Metrics — Score 7.2
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredHigh
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • cacti/cacti <= 1.2.30
Patched Versions
  • cacti/cacti 1.2.31

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is high.

  1. Check whether you run cacti/cacti and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 29, 2026Published
  • Nov 29, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new cacti/cacti CVEsYou are reading CVE-2026-39949. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 29, 2026 05:01 UTC