CVE-2026-58467: Cockpit CMS path traversal and local file inclusion in index.php

CVE-2026-58467 · Severity: high · CVSS 7.5 · Published 2026-07-02

Cockpit CMS, a content management system used to manage website data, contains a security flaw that allows unauthorized individuals to access sensitive files on the server. By sending a specially crafted web request, an attacker can bypass security restrictions to read internal system files or potentially execute malicious code. This could lead to the theft of sensitive configuration data or a full compromise of the web server.

Technologies: Cockpit Project Cockpit. Vendors: Cockpit Project.

Quick answers

Is CVE-2026-58467 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-58467 being exploited in the wild.
How severe is CVE-2026-58467?
High severity, with a CVSS score of 7.5, published 2 July 2026.
Which products and versions are affected?
Cockpit Project Cockpit before 364.
Is there a fix for CVE-2026-58467?
A patch was published on 2026-06-23: Release 364 published Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-58467 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-58467?
Check whether you run Cockpit Project Cockpit at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A path traversal and local file inclusion (LFI) vulnerability exists in Cockpit CMS prior to version 364. The application uses unvalidated PATH_INFO derived from the REQUEST_URI to construct filesystem paths without proper containment checks. An unauthenticated remote attacker can use dot-dot-slash (../) sequences to traverse outside the intended directory. If the resolved path ends in a .php extension, the application passes it to the PHP include() function, leading to code execution on systems using the PHP built-in server or specific Nginx configurations. The vulnerability is tracked as CWE-22.

Affected products

  • cockpit-project Cockpit CMS before 364

Timeline

  • 2026-06-23: patched: Release 364 published
  • 2026-07-02: advisory: NVD and VulnCheck advisories published

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.