# CVE-2025-66399: SNMP Command Injection leads to RCE in Cacti

- Severity: High 7.4 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 10.8%, higher than 95% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-12-02T17:57:11.544Z
- Modified: 2026-10-18T18:10:00.100Z
- Weaknesses: CWE-77
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

Cacti is an open source performance and fault management framework. Prior to 1.2.29, there is an input-validation flaw in the SNMP device configuration functionality. An authenticated Cacti user can supply crafted SNMP community strings containing control characters (including newlines) that are accepted, stored verbatim in the database, and later embedded into backend SNMP operations. In environments where downstream SNMP tooling or wrappers interpret newline-separated tokens as command boundaries, this can lead to unintended command execution with the privileges of the Cacti process. This vulnerability is fixed in 1.2.29.

(As written by CVE List.)

## Affected

- Cacti cacti: < 1.2.29; before 1.2.29

## Every score

- GitHub_M: CVSS:4.0 7.4 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/Cacti/cacti/security/advisories/GHSA-c7rr-2h93-7gjf> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2025-66399](https://www.cve.org/CVERecord?id=CVE-2025-66399), CVE Terms of Use, modified 2025-12-08
- NVD: [CVE-2025-66399](https://nvd.nist.gov/vuln/detail/CVE-2025-66399), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2025-66399 · Whole record: https://cve.day/CVE-2025-66399.json · Rebuilt by cve.day 2026-11-25T22:59:08.202Z
