
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-40941 is a package import signature validation bypass vulnerability in Cacti, an open-source performance and fault management framework. The flaw allows authenticated users with package import privileges to import self-signed packages without proper cryptographic verification, bypassing intended security controls on package authenticity. All versions up to and including 1.2.30 are affected; the issue was fixed in version 1.2.31, released on June 15, 2026. The vulnerability was publicly disclosed on June 25, 2026, and carries a CVSS v3.1 base score of 6.5 (Medium) and a CVSS v4.0 base score of 7.1 (High) (GitHub Advisory, Red Hat Bugzilla).
The root cause is classified as CWE-347 (Improper Verification of Cryptographic Signature): Cacti's package import functionality failed to properly validate the cryptographic signature of imported packages, permitting self-signed packages to be accepted as legitimate. The fix, implemented in PR #7054, removed the legacy SHA-1 key verification path and enforced SHA-256 for all package signature verification, meaning packages signed with the old key must be re-signed to be importable. Exploitation requires network access and low-level authenticated privileges (e.g., an account with package import rights), but no user interaction is needed. The attack vector is network-based with low attack complexity (GitHub Advisory, GitHub PR #7054).
Successful exploitation allows an authenticated attacker with package import privileges to introduce malicious self-signed packages into the Cacti framework, potentially enabling arbitrary code execution or persistent compromise of the Cacti installation. The primary impact is on integrity (rated High), as there is no direct confidentiality or availability impact from the bypass itself. However, a malicious package could serve as a foothold for further lateral movement, data exfiltration, or full system compromise depending on the content of the imported package (GitHub Advisory, Feedly).
Import/Export in the admin panel) and upload the crafted self-signed package. Due to the signature validation bypass, the package is accepted without proper verification.scripts/ or resource/ directories following a package import operation; presence of web shells or unfamiliar PHP files in the Cacti web root.bash, curl, wget, python) following a package import.data_input table) containing shell metacharacters or unexpected command strings (GitHub PR #7054).Upgrade Cacti to version 1.2.31 or later, which enforces SHA-256 for all package signature verification and removes the legacy SHA-1 bypass path (GitHub Release, GitHub Advisory). No official workaround short of upgrading has been published; however, as an interim measure, administrators should restrict package import functionality to the minimum number of trusted accounts and audit existing imported packages for unexpected content. Organizations should also review user accounts with import privileges and ensure that only verified, officially signed packages are imported.
The vulnerability was responsibly disclosed by researcher davidkm-ai and coordinated by netniV (Cacti maintainer), with remediation review credited to TheWitness. The Cacti project acknowledged the issue in their 1.2.31 release notes, emphasizing their ongoing commitment to security and responsible disclosure (GitHub Release). Red Hat tracked the issue via Bugzilla (Bug 2493265) and assigned it high severity (Red Hat Bugzilla). No significant broader media coverage or notable social media discussion has been identified beyond standard vulnerability database aggregation.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."