CVE-2026-57856: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Cockpit HQ Cockpit CMS
Cockpit CMS has a path traversal vulnerability in its Bucket file storage API that allows authenticated low-privileged users to manipulate bucket names to access files across all buckets. The vulnerability arises because the sanitization of bucket names permits '..' sequences, which bypass path traversal detection in the underlying Flysystem path normalization. This enables unauthorized listing, uploading, and deletion of files in other users' buckets.
AI Analysis
Technical Summary
CVE-2026-57856 describes a path traversal vulnerability in Cockpit CMS's Bucket file storage API endpoint (/system/buckets/api). The api() method sanitizes bucket names using a regex that removes characters except alphanumeric, dash, underscore, backslash, and dot, but this allows '..' and '../' sequences. When these sanitized bucket names are used in Flysystem paths, the WhitespacePathNormalizer resolves paths like 'buckets/..' to the root uploads directory without triggering path traversal detection. Consequently, an authenticated user with low privileges can craft requests with '../' in bucket names to access, list, upload, or delete files across all buckets, including those of other users or roles. No patch or official remediation is currently documented.
Potential Impact
An authenticated user with low privileges can exploit this vulnerability to bypass intended access restrictions on bucket file storage. This leads to unauthorized access and modification capabilities across all buckets, potentially compromising data confidentiality and integrity for all users of the Cockpit CMS instance.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the Bucket file storage API to trusted users only and monitor for suspicious activity involving bucket names containing path traversal sequences. Avoid exposing the vulnerable API endpoint to untrusted users.
CVE-2026-57856: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Cockpit HQ Cockpit CMS
Description
Cockpit CMS has a path traversal vulnerability in its Bucket file storage API that allows authenticated low-privileged users to manipulate bucket names to access files across all buckets. The vulnerability arises because the sanitization of bucket names permits '..' sequences, which bypass path traversal detection in the underlying Flysystem path normalization. This enables unauthorized listing, uploading, and deletion of files in other users' buckets.
CVSS v4.0
Score 8.7high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-57856 describes a path traversal vulnerability in Cockpit CMS's Bucket file storage API endpoint (/system/buckets/api). The api() method sanitizes bucket names using a regex that removes characters except alphanumeric, dash, underscore, backslash, and dot, but this allows '..' and '../' sequences. When these sanitized bucket names are used in Flysystem paths, the WhitespacePathNormalizer resolves paths like 'buckets/..' to the root uploads directory without triggering path traversal detection. Consequently, an authenticated user with low privileges can craft requests with '../' in bucket names to access, list, upload, or delete files across all buckets, including those of other users or roles. No patch or official remediation is currently documented.
Potential Impact
An authenticated user with low privileges can exploit this vulnerability to bypass intended access restrictions on bucket file storage. This leads to unauthorized access and modification capabilities across all buckets, potentially compromising data confidentiality and integrity for all users of the Cockpit CMS instance.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the Bucket file storage API to trusted users only and monitor for suspicious activity involving bucket names containing path traversal sequences. Avoid exposing the vulnerable API endpoint to untrusted users.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-06-25T18:48:00.282Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a556b3468715ace43025793
Added to database: 07/13/2026, 22:48:20 UTC
Last enriched: 07/13/2026, 23:02:28 UTC
Last updated: 07/14/2026, 00:42:51 UTC
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.