CVE-2026-39899

Cacti: Path Traversal via filename parameter in package_import.php

Published Jun 24, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
Cacti is an open source performance and fault management framework. Versions 1.2.30 and prior are vulnerable to Path Traversal via filename parameter in package_import.php. This issue has been fixed in version 1.2.31.

Analysis

AI-generated

Technical impact

A Path Traversal flaw exists in the filename parameter of Cacti's package_import.php. The vulnerability allows an attacker to override the intended file path and access arbitrary files on the server, potentially exposing sensitive configuration data or executing malicious code. The weakness corresponds to CWE-22, which focuses on improper validation of user-supplied input for file system access.

Affected Systems

The flaw affects all Cacti installations running version 1.2.30 and earlier. The vendor has released version 1.2.31, in which the issue has been addressed; users should verify that their instance matches or exceeds this version.

Risk and Exploitability

The CVSS score of 6.9 indicates a moderate severity. No EPSS score is published and the vulnerability is not listed in the CISA KEV catalog, suggesting limited current exploitation activity. Attackers would likely need access to the web interface that hosts package_import.php, and the path traversal may require some level of authentication or prior knowledge of the vulnerable parameter. The exact exploitation steps are not detailed in the advisory, but an attacker could manipulate the filename parameter to read or write files outside the intended directory.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Cacti to version 1.2.31 or later
  • Restrict access to package_import.php so only trusted administrators can invoke it and implement input validation that rejects directory traversal sequences
  • Monitor web server logs for abnormal file access patterns or attempts to reach outside the allowed directories

Generated by OpenCVE AI on June 24, 2026 at 23:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Cacti
Cacti cacti
Vendors & Products Cacti
Cacti cacti
Type Values Removed Values Added
Description Cacti is an open source performance and fault management framework. Versions 1.2.30 and prior are vulnerable to Path Traversal via filename parameter in package_import.php. This issue has been fixed in version 1.2.31.
Title Cacti: Path Traversal via filename parameter in package_import.php
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 25, 2026, 11:15 PM
Reserved
Apr 7, 2026, 8:32 PM
Status
Analyzed
Published
Jun 24, 2026, 11:16 PM
Modified
Jun 26, 2026, 12:16 AM