Skip to main content

Cockpit CMS CVE-2026-58467

| EUVDEUVD-2026-41436 HIGH
Path Traversal (CWE-22)
2026-07-02 VulnCheck GHSA-f6g9-3r3j-32rg
8.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed Cockpit CMS instance
  2. Delivery
    Send crafted URL with ../ in PATH_INFO
  3. Exploit
    Escape spaces directory via unvalidated REQUEST_URI
  4. Execution
    App builds path and calls include()
  5. Persist
    Read arbitrary files or include existing .php
  6. Impact
    Disclose 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

cockpit 0 <364

Affected Packages

euvd cockpit fix: 364

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

Vendor (VulnCheck) PRIMARY 8.2 HIGH
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
vuln.today AI 5.9 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Red Hat 7.5 HIGH

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Low
niche self-hosted open-source PHP headless CMS, limited enterprise footprint
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

61
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

CVE-2020-35847 CRITICAL POC
9.8 Dec 30

Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php resetpassword function. Rated critical

CVE-2020-35846 CRITICAL POC
9.8 Dec 30

Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php check function. Rated critical severit

CVE-2022-2713 CRITICAL POC
9.8 Aug 08

Insufficient Session Expiration in GitHub repository cockpit-hq/cockpit prior to 2.2.0. Rated critical severity (CVSS 9.

CVE-2020-35848 CRITICAL POC
9.8 Dec 30

Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php newpassword function. Rated critical s

CVE-2018-15540 CRITICAL POC
9.8 Oct 15

Agentejo Cockpit performs actions on files without appropriate validation and therefore allows an attacker to traverse t

CVE-2018-9302 CRITICAL POC
9.1 May 02

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

CVE-2023-4195 HIGH POC
8.8 Aug 06

PHP Remote File Inclusion in GitHub repository cockpit-hq/cockpit prior to 2.6.3. Rated high severity (CVSS 8.8), this v

CVE-2023-37650 HIGH POC
8.8 Jul 20

A Cross-Site Request Forgery (CSRF) in the Admin portal of Cockpit CMS v2.5.2 allows attackers to execute arbitrary Admi

CVE-2023-1313 HIGH POC
8.8 Mar 10

Unrestricted Upload of File with Dangerous Type in GitHub repository cockpit-hq/cockpit prior to 2.4.1. Rated high sever

CVE-2023-0759 HIGH POC
8.8 Feb 09

Privilege Chaining in GitHub repository cockpit-hq/cockpit prior to 2.3.8. Rated high severity (CVSS 8.8), this vulnerab

CVE-2022-2818 HIGH POC
8.8 Aug 15

Improper Removal of Sensitive Information Before Storage or Transfer in GitHub repository cockpit-hq/cockpit prior to 2.

CVE-2026-34965 HIGH POC
8.7 Apr 29

Authenticated remote code execution in Cockpit CMS lets attackers holding collection-management privileges inject arbitr

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy