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
Share

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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
qualitative

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

2
Analysis Generated
Jul 02, 2026 - 20:36 vuln.today
CVE Published
Jul 02, 2026 - 20:04 cve.org
HIGH 8.2

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.

AnalysisAI

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.

Technical ContextAI

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.

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.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

Vendor StatusVendor

Share

CVE-2026-58467 vulnerability details – vuln.today

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