Description
Cockpit 2.13.5 and earlier is vulnerable to directory traversal via the Buckets component. This vulnerability allows authenticated attackers to write files to arbitrary locations within the uploads directory or overwrite assets with malicious versions.
Published: 2026-04-29
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Cockpit CMS 2.13.5 and earlier contain a directory traversal flaw in the Buckets component that lets an authenticated user supply a path that resolves outside the intended uploads directory. This permits the creation or overwrite of arbitrary files within the application’s upload area, enabling malicious asset injection or replacement of legitimate files.

Affected Systems

The vulnerability affects Cockpit CMS version 2.13.5 and all earlier releases. Only users who can authenticate to the CMS can exploit the flaw.

Risk and Exploitability

The flaw requires authenticated access, so its exploitation requires that attackers obtain (or already possess) legitimate credentials. While no public EPSS score is available, the lack of a CISA KEV listing suggests no widespread exploitation has been documented. The potential impact includes site compromise through malicious asset injection, and remediation is available in release 2.14.0. The attack vector is most likely local path manipulation within the Buckets upload handling code. The CVSS score of 6.5 indicates a medium severity.

Generated by OpenCVE AI on April 30, 2026 at 14:03 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Cockpit CMS to version 2.14.0 or later.
  • If an immediate upgrade is not possible, restrict write access to the uploads directory by configuring file system permissions and disabling write operations through the Buckets component for non‑trusted users.
  • Implement strict path validation and sanitization in the Buckets upload handling code to mitigate the directory traversal flaw (CWE‑22).

Generated by OpenCVE AI on April 30, 2026 at 14:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-p46p-7pmj-m34f Cockpit is vulnerable to directory traversal
History

Fri, 01 May 2026 00:15:00 +0000

Type Values Removed Values Added
Title Cockpit: Cockpit: Arbitrary file write via directory traversal in Buckets component
References
Metrics threat_severity

None

threat_severity

Important


Thu, 30 Apr 2026 14:30:00 +0000

Type Values Removed Values Added
Title Directory Traversal in Cockpit CMS Buckets Allows Unauthorized File Write

Wed, 29 Apr 2026 21:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 29 Apr 2026 18:45:00 +0000

Type Values Removed Values Added
First Time appeared Cockpit-hq
Cockpit-hq cockpit
Vendors & Products Cockpit-hq
Cockpit-hq cockpit

Wed, 29 Apr 2026 17:30:00 +0000

Type Values Removed Values Added
Title Directory Traversal in Cockpit CMS Buckets Allows Unauthorized File Write
Weaknesses CWE-22

Wed, 29 Apr 2026 15:30:00 +0000

Type Values Removed Values Added
Description Cockpit 2.13.5 and earlier is vulnerable to directory traversal via the Buckets component. This vulnerability allows authenticated attackers to write files to arbitrary locations within the uploads directory or overwrite assets with malicious versions.
References

Subscriptions

Cockpit-hq Cockpit
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-04-29T20:14:16.567Z

Reserved: 2026-04-06T00:00:00.000Z

Link: CVE-2026-38993

cve-icon Vulnrichment

Updated: 2026-04-29T20:12:19.312Z

cve-icon NVD

Status : Deferred

Published: 2026-04-29T16:16:23.907

Modified: 2026-04-29T21:22:20.120

Link: CVE-2026-38993

cve-icon Redhat

Severity : Important

Publid Date: 2026-04-29T00:00:00Z

Links: CVE-2026-38993 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-30T14:15:40Z

Weaknesses