Path Traversal in Cockpit-Hq Cockpit
CVE-2026-58467
Cockpit CMS through 2.14.0 contains a path traversal and local file inclusion vulnerability that allows unauthenticated attackers to read arbitrary files or execute PHP files by including unvalidated PATH_INFO derived from REQUEST_URI in filesystem path construction without containment checks. Attackers can inject dot-dot sequences into the URL to traverse outside the designated spaces directory, and when the resolved path ends with a .php extension, the application passes it to include(), enabling local file inclusion on deployments using the PHP built-in server or certain non-default Nginx configurations.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.017, 78.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Cockpit-Hq Cockpit — versions 0
Weakness classification (CWE)
References
- github.com/cockpit-project/cockpit/releases/tag/364 (release-notes, patch)
- Researcher Disclosure (technical-description, exploit)
- www.vulncheck.com/advisories/cockpit-cms-364-path-traversal-local-file-inclusio… (third-party-advisory)
- www.vulncheck.com/advisories/cockpit-cms-path-traversal-local-file-inclusion-vi… (third-party-advisory)