Skip to main content
VulnerabilityPublished

CVE-2026-39949: Authenticated Remote Code Execution in Cacti ≤ 1.2.30

Affects cactiSource Reddit Cybersecurity

0
Compare

Not known to be exploited.

Data as of 16 Jun 2026, 21:15 UTC

Severity
Medium

Rated by Threat Radar · No CVSS score from NVD or the CNA

Affects
Cacti up to 1.2.30

Exploitation evidence

  1. Disclosed: evidence found.

    Public on cve.org; its publication date is not in this record

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    Public exploit code: GitHub proofs of concept

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
GitHubcacti/cactipkg:github/cacti/cactiOther threatsAffected
  • <=1.2.30
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Until an official fix is available, restrict graph management privileges to trusted users only and monitor for updates from the Cacti project. Avoid using untrusted input in host metadata fields that are referenced in graph templates.

Discussion

CVE-2026-39949 is an authenticated remote code execution vulnerability in Cacti versions up to and including 1.2.30. The flaw arises from unsanitized variable substitution in RRDtool command-line arguments, allowing users with graph management privileges to inject arbitrary OS commands via host metadata fields such as the device notes. Exploitation requires authenticated access with permissions to create devices and graph templates. An attacker can craft malicious input in the notes field and trigger code execution during graph rendering.

r/cybersecurity (opens in a new tab)u/sysinternalssuite0 points0 comments

During recent testing on Cacti, an authenticated remote code execution vulnerability was discovered that allows users with graph management privileges to execute arbitrary commands on the underlying OS.

The vulnerability originates from Cacti's variable substitution engine, which allows graph templates to reference host metadata through variables such as |host_description|, |host_hostname|, and |host_notes|. During graph generation, these variables are expanded and incorporated into arguments passed to RRDtool.

Because user-controlled host metadata is substituted without sufficient validation or sanitization, an attacker can inject malicious input into a host field and trigger code execution when a graph is rendered.

This issue affects Cacti versions ≤ 1.2.30 and has been assigned CVE-2026-39949.

Link to the writeup: https://github.com/lukehebe/Vulnerability-Disclosures/blob/main/CVE-2026-39949.md
Link to the POC: https://github.com/lukehebe/CVE-2026-39949/tree/main
Link to Cacti changelog: https://github.com/Cacti/cacti/blob/develop/CHANGELOG#L231

References

Community reviews

Loading reviews…