CVE-2026-58467: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in cockpit-hq cockpit
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.
AI Analysis
Technical Summary
CVE-2026-58467 is a path traversal and local file inclusion vulnerability in cockpit-hq's Cockpit CMS through version 2.14.0 (affected versions <364). The vulnerability occurs because the application constructs filesystem paths using unvalidated PATH_INFO from REQUEST_URI without containment checks. Attackers can inject '../' sequences to traverse outside the designated spaces directory. If the resolved path ends with a .php extension, the application may include and execute that file, particularly on deployments using the PHP built-in server or specific non-default Nginx configurations. This allows unauthenticated attackers to read arbitrary files or execute PHP code locally.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to read arbitrary files on the server or execute PHP files, potentially leading to information disclosure or remote code execution depending on the server environment. The impact is high due to the ability to access sensitive files or execute code without authentication.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid deploying Cockpit CMS in configurations that allow PHP file inclusion via PATH_INFO, such as the PHP built-in server or certain non-default Nginx setups. Implement strict input validation and containment checks on PATH_INFO to prevent directory traversal. Monitor vendor channels for patches or official mitigations.
CVE-2026-58467: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in cockpit-hq cockpit
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.
CVSS v4.0
Score 8.2high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-58467 is a path traversal and local file inclusion vulnerability in cockpit-hq's Cockpit CMS through version 2.14.0 (affected versions <364). The vulnerability occurs because the application constructs filesystem paths using unvalidated PATH_INFO from REQUEST_URI without containment checks. Attackers can inject '../' sequences to traverse outside the designated spaces directory. If the resolved path ends with a .php extension, the application may include and execute that file, particularly on deployments using the PHP built-in server or specific non-default Nginx configurations. This allows unauthenticated attackers to read arbitrary files or execute PHP code locally.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to read arbitrary files on the server or execute PHP files, potentially leading to information disclosure or remote code execution depending on the server environment. The impact is high due to the ability to access sensitive files or execute code without authentication.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid deploying Cockpit CMS in configurations that allow PHP file inclusion via PATH_INFO, such as the PHP built-in server or certain non-default Nginx setups. Implement strict input validation and containment checks on PATH_INFO to prevent directory traversal. Monitor vendor channels for patches or official mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-06-30T20:20:33.790Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a46c86427e9c7971904392f
Added to database: 07/02/2026, 20:21:56 UTC
Last enriched: 07/17/2026, 09:07:22 UTC
Last updated: 08/16/2026, 12:41:10 UTC
Views: 112
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.