CVE-2026-58467: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in cockpit-project cockpit
Cockpit CMS before release 364 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-project's cockpit CMS versions prior to 364. The issue stems from the application including unvalidated PATH_INFO 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. If the resolved path ends with a .php extension, it is passed to PHP's include() function, enabling local file inclusion and potential code execution on deployments using the PHP built-in server or certain non-default Nginx configurations. This vulnerability requires no authentication and has a CVSS 4.0 score of 8.2, indicating high severity.
Potential Impact
An unauthenticated attacker can read arbitrary files on the server or execute arbitrary PHP code by exploiting this vulnerability. This can lead to disclosure of sensitive information or remote code execution depending on the server configuration. The impact is significant on deployments using the PHP built-in server or specific Nginx configurations that allow PHP file inclusion via this vector.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using the PHP built-in server or non-default Nginx configurations that allow PHP file inclusion via PATH_INFO. Implement strict input validation and containment checks on PATH_INFO to prevent path traversal. Monitor vendor channels for an official patch or update to version 364 or later.
CVE-2026-58467: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in cockpit-project cockpit
Description
Cockpit CMS before release 364 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-project's cockpit CMS versions prior to 364. The issue stems from the application including unvalidated PATH_INFO 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. If the resolved path ends with a .php extension, it is passed to PHP's include() function, enabling local file inclusion and potential code execution on deployments using the PHP built-in server or certain non-default Nginx configurations. This vulnerability requires no authentication and has a CVSS 4.0 score of 8.2, indicating high severity.
Potential Impact
An unauthenticated attacker can read arbitrary files on the server or execute arbitrary PHP code by exploiting this vulnerability. This can lead to disclosure of sensitive information or remote code execution depending on the server configuration. The impact is significant on deployments using the PHP built-in server or specific Nginx configurations that allow PHP file inclusion via this vector.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using the PHP built-in server or non-default Nginx configurations that allow PHP file inclusion via PATH_INFO. Implement strict input validation and containment checks on PATH_INFO to prevent path traversal. Monitor vendor channels for an official patch or update to version 364 or later.
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/02/2026, 20:36:37 UTC
Last updated: 07/03/2026, 00:31:16 UTC
Views: 7
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.