CVE-2026-57856: Cockpit CMS · Path Traversal
Affects Cockpit CMSSource CVE Database V5
Not known to be exploited · CVSS 8.7 High.
Data as of 26 Nov 2026, 14:59 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 43% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 13 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Cockpit HQCockpit CMS | Affected
| Fixed in– |
AI-suggested
Until an official fix is available, restrict access to the Bucket file storage API to trusted users only and monitor for suspicious activity related to bucket name parameters. Avoid using untrusted input in bucket names without proper validation that disallows directory traversal sequences.
Description
Cockpit CMS contains a path traversal vulnerability in the Bucket file storage API (/system/buckets/api). The api() method in modules/System/Controller/Buckets.php sanitizes the bucket name with preg_replace('/[^a-zA-Z0-9-_\\.]/','', $bucket), which permits '..' and '../' sequences. The sanitized value is interpolated into a Flysystem path as uploads://buckets/{bucket}. Flysystem's WhitespacePathNormalizer resolves 'buckets/..' to the empty string (the uploads storage root) without raising PathTraversalDetected because the '..' has a preceding component to consume. An authenticated low-privileged user can send a crafted request with a '../' bucket name to list, upload, and delete files across all buckets, including those belonging to other users or roles
References
- github.com/cockpit-hq/cockpit (opens in a new tab)
- github.com/Cockpit-HQ/Cockpit/commit/dde2d1d74f5f4e11de42a298918ea8c9684f932c (opens in a new tab)
- gist.github.com/sermikr0/821c4edd3c34e98a62a50b07707785bd (opens in a new tab)
- vulncheck.com/advisories/cockpit-cms-missing-authorization-in-bucket-file-storage-api (opens in a new tab)
- vulncheck.com/advisories/cockpit-cms-path-traversal-via-bucket-name-in-bucket-file-storage-api (opens in a new tab)