Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed Cockpit CMS instance
-
DeliverySend crafted URL with ../ in PATH_INFO
-
ExploitEscape spaces directory via unvalidated REQUEST_URI
-
ExecutionApp builds path and calls include()
-
PersistRead arbitrary files or include existing .php
-
ImpactDisclose sensitive data / trigger LFI
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires that the Cockpit CMS deployment expose index.php via the PHP built-in server OR a non-default Nginx configuration that forwards unsanitized PATH_INFO/REQUEST_URI into the application - this is the explicit prerequisite from the description and the reason CVSS 4.0 sets AT:P. No authentication and no user interaction are needed (PR:N/UI:N), and the attack is over the network (AV:N), so any reachable instance on a vulnerable server config can be hit by an unauthenticated remote attacker. Limiting factors: default/hardened stacks (e.g., Apache or Nginx with PHP-FPM that do not pass raw PATH_INFO) may not be exploitable, PHP execution is limited to including .php files already present on disk (no arbitrary upload primitive described), and the rated impact is confidentiality-only. |
| Impact | The vendor CVSS 4.0 score is 8.2 (High) with vector AV:N/AC:L/AT:P/PR:N/UI:N and confidentiality-only impact (VC:H, VI:N, VA:N), meaning the assessors rated this primarily as unauthenticated remote file disclosure rather than full code execution - LFI here includes existing .php files, not attacker-uploaded code, so it lacks a straightforward RCE integrity/availability impact. The single most important qualifier is AT:P: exploitation is gated on the deployment using the PHP built-in server or particular non-default Nginx configs, so default hardened Apache/PHP-FPM stacks may not be exploitable, making this targeted at misconfigured or development-style deployments rather than universally exploitable. Public exploit code exists (raising practical risk), but it is NOT in CISA KEV and no EPSS probability was supplied, so there is no evidence of active, widespread exploitation at time of analysis. Net: a real, patch-now issue for exposed Cockpit instances on the affected server configurations, but the config dependency meaningfully narrows the blast radius versus the raw 8.2. |
| Exploit ScenarioDerived | An attacker enumerates an internet-exposed Cockpit CMS instance and sends a crafted request to index.php with dot-dot sequences in the trailing path (PATH_INFO), traversing out of the spaces directory to read sensitive files such as configuration or credential files. Where the deployment routes PATH_INFO into the app and the resolved path ends in .php, the attacker points include() at an existing server-side PHP file to trigger local file inclusion; public exploit code for this technique already exists, lowering the skill needed. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 02, 2026
Arbitrary file disclosure and PHP local file inclusion in Cockpit CMS before release 364 lets unauthenticated remote attackers read files outside the web root and, on certain server setups, cause the application to include() attacker-chosen .php files. The flaw stems from unvalidated PATH_INFO (derived from REQUEST_URI) being used to build filesystem paths without containment checks. Publicly available exploit code exists; it is not listed in CISA KEV and no EPSS score was provided.
RemediationAI
Vendor-released patch: upgrade to Cockpit CMS release 364 or later (https://github.com/cockpit-project/cockpit/releases/tag/364), which adds containment checks on the PATH_INFO-derived path. If immediate upgrade is not possible, stop serving Cockpit via the PHP built-in server in production and review the Nginx config: ensure requests are routed through a strict location block that does not pass raw PATH_INFO/REQUEST_URI into index.php, and avoid the 'try_files ... /index.php$is_args$args' style patterns that reconstruct path info - the trade-off is you must test that legitimate space/route URLs still resolve. As additional compensating controls, place the application behind a WAF or reverse-proxy rule that blocks encoded and literal dot-dot ('../', '%2e%2e') sequences and requests whose path resolves to a .php outside the app root (may break edge cases that legitimately use encoded characters), and restrict network exposure of the admin interface to trusted networks. Consult the VulnCheck advisory above for exploitation specifics before validating mitigations.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Cockpit CMS is a self-hosted, open-source headless content management system written in PHP (cpe:2.3:a:cockpit-project:cockpit). The bug is a classic CWE-22 path traversal: the front controller (index.php) constructs a filesystem path by concatenating server-supplied PATH_INFO onto the designated 'spaces' directory, trusting REQUEST_URI without normalizing or verifying that the resolved path stays within the intended base directory. Because '../' (dot-dot) sequences are not stripped or rejected, the resolved target can point anywhere on disk, and when the target ends in .php the value is handed to PHP's include(), turning a read primitive into local file inclusion. Whether PATH_INFO reaches the application in an exploitable form depends on how the request is routed, which is why the PHP built-in server and specific non-default Nginx configurations are called out - the CVSS 4.0 AT:P (attack requirement) metric encodes this deployment dependency.
Know when Cockpit gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Unauthenticated network attack (AV:N/PR:N/UI:N) but exploitation depends on non-default server config, so AC:H; primary impact is arbitrary file disclosure (C:H) with no confirmed integrity/availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Articles & Coverage 1
Executive ViewAI
Cockpit CMS before release 364 contains an unauthenticated remote file disclosure and local file inclusion vulnerability (CVSS 8.2) that allows attackers to read configuration files, credentials, and other sensitive data outside the web root. Organizations running vulnerable Cockpit CMS instances face immediate risk of credential compromise and potential remote code execution. Publicly available exploit code exists, making exploitation trivial for threat actors.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php resetpassword function. Rated critical
Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php check function. Rated critical severit
Insufficient Session Expiration in GitHub repository cockpit-hq/cockpit prior to 2.2.0. Rated critical severity (CVSS 9.
Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php newpassword function. Rated critical s
Agentejo Cockpit performs actions on files without appropriate validation and therefore allows an attacker to traverse t
SSRF (Server Side Request Forgery) in /assets/lib/fuc.js.php in Cockpit 0.4.4 through 0.5.5 allows remote attackers to r
PHP Remote File Inclusion in GitHub repository cockpit-hq/cockpit prior to 2.6.3. Rated high severity (CVSS 8.8), this v
A Cross-Site Request Forgery (CSRF) in the Admin portal of Cockpit CMS v2.5.2 allows attackers to execute arbitrary Admi
Unrestricted Upload of File with Dangerous Type in GitHub repository cockpit-hq/cockpit prior to 2.4.1. Rated high sever
Privilege Chaining in GitHub repository cockpit-hq/cockpit prior to 2.3.8. Rated high severity (CVSS 8.8), this vulnerab
Improper Removal of Sensitive Information Before Storage or Transfer in GitHub repository cockpit-hq/cockpit prior to 2.
Authenticated remote code execution in Cockpit CMS lets attackers holding collection-management privileges inject arbitr
EUVD-2026-41436
GHSA-f6g9-3r3j-32rg
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB