OS Command Injection Affecting cacti package, versions <1.2.25-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
82.19% (100th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE323-CACTI-14176905
  • published4 Dec 2025
  • disclosed5 Sept 2023

Introduced: 5 Sep 2023

CVE-2023-39362  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade Alpine:3.23 cacti to version 1.2.25-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cacti package and not the cacti package as distributed by Alpine. See How to fix? for Alpine:3.23 relevant fixed versions and status.

Cacti is an open source operational monitoring and fault management framework. In Cacti 1.2.24, under certain conditions, an authenticated privileged user, can use a malicious string in the SNMP options of a Device, performing command injection and obtaining remote code execution on the underlying server. The lib/snmp.php file has a set of functions, with similar behavior, that accept in input some variables and place them into an exec call without a proper escape or validation. This issue has been addressed in version 1.2.25. Users are advised to upgrade. There are no known workarounds for this vulnerability.

CVSS Base Scores

version 3.1