CVE-2026-58467
cockpit: Cockpit CMS: Arbitrary file read and code execution via path traversal
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · July 3, 2026
Updated · July 13, 2026
Description
A flaw was found in Cockpit CMS. This vulnerability, a path traversal and local file inclusion, allows an unauthenticated attacker to read arbitrary files or execute PHP files. By manipulating the URL, an attacker can bypass security checks and access restricted directories. This could lead to unauthorized information disclosure or the execution of malicious code on affected systems.
Statement
This Important flaw in Cockpit CMS allows unauthenticated attackers to perform path traversal and local file inclusion, enabling them to read arbitrary files or execute PHP files. This is due to improper validation of PATH_INFO in the REQUEST_URI, which can be exploited on systems utilizing the PHP built-in server or certain non-default Nginx configurations. Successful exploitation could lead to unauthorized information disclosure or arbitrary code execution in some cases.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
CVSS / CWE
CVSS 3.1 · 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')