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: n/a
EPSS: n/a
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.

Generated by OpenCVE AI on April 29, 2026 at 17:02 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 29, 2026 at 17:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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-29T14:37:27.724Z

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

Link: CVE-2026-38993

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-38993

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-29T18:30:17Z

Weaknesses