{"id":"CVE-2026-57856","published":"2026-07-13T22:41:23Z","modified":"2026-07-14T21:34:35Z","title":"Cockpit CMS Path Traversal via Bucket Name in Bucket File Storage API","vendor":"Cockpit HQ","product":"Cockpit CMS","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00606,"percentile":0.43125,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/cockpit-hq/cockpit","tags":["product"]},{"url":"https://github.com/Cockpit-HQ/Cockpit/commit/dde2d1d74f5f4e11de42a298918ea8c9684f932c","tags":["patch"]},{"url":"https://gist.github.com/sermikr0/821c4edd3c34e98a62a50b07707785bd","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/cockpit-cms-missing-authorization-in-bucket-file-storage-api","tags":["third-party-advisory"]},{"url":"https://www.vulncheck.com/advisories/cockpit-cms-path-traversal-via-bucket-name-in-bucket-file-storage-api","tags":["third-party-advisory"]}],"priority":{"score":14.8,"factors":[{"name":"EPSS percentile","points":8.62},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"cockpit-hq","affectedVersions":[{"vendor":"Cockpit HQ","product":"Cockpit CMS","versions":["< 2.14.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-07-14T12:57:59.425685Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-43577","exploited":false,"provenance":"source"}}