Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| cockpit-hq | cockpit | ≤ 2.14.0 | — |
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Cockpit CMS <= 2.14.0 - Path Traversal / Local File Inclusion http/cves/2026/CVE-2026-58467.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
References
- Researcher Disclosure technical-description exploit
- https://www.vulncheck.com/advisories/cockpit-cms-path-traversal-local-file-inclusion-via-index-php third-party-advisory