CVE-2026-38993
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Cockpit CMS 2.13.5 and earlier contains a directory traversal vulnerability in the Buckets component, allowing authenticated attackers to write arbitrary files within the uploads directory arbitrary or overwrite assets.
Vulnerability
Description
CVE-2026-38993 is a directory traversal vulnerability affecting Cockpit CMS versions 2.13.5 and earlier. The flaw resides in the Buckets component, where the component, insufficient input validation allows an authenticated attacker to escape the intended directory [3]. This enables writing files to arbitrary locations within the uploads directory or overwriting existing assets with malicious versions [3].
Attack
Vector
An attacker must first obtain valid authentication credentials for the Cockpit CMS instance [1][3]. Once authenticated, they exploit the Buckets component's missing path sanitization to validation write arbitrary files outside the normal asset storage area [1]. The attack complexity is low, as no additional privileges beyond standard user access are required, and the only prerequisite is a valid session [1][2].
Impact
Successful exploitation can lead to unauthorized modification of stored assets, potential file uploads to sensitive directories, and in certain configurations, may serve as a stepping stone for further attacks such as arbitrary code execution. The disclosure notes that this vulnerability was part of a batch of issues reported together with an arbitrary code execution flaw (CVE-2026-38992), suggesting the directory traversal could be chained with other bugs for greater effect [1][2].
Mitigation
The vendor responded within seven hours of disclosure and released a patch in version 2.14.0 on March 30, 2026 [1][2]. All users running Cockpit CMS 2.13.5 or earlier are strongly advised to upgrade to version 2.14.0 or later to remediate this vulnerability [4].
AI Insight generated on May 18, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
cockpit-hq/cockpitPackagist | < 2.14.0 | 2.14.0 |
Affected products
1- Range: <=2.13.5
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5News mentions
0No linked articles in our index yet.