{"id":81949,"date":"2026-07-14T02:46:46","date_gmt":"2026-07-13T23:16:46","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-57856-cockpit-cms-path-traversal-via-bucket-name-in-bucket-file-storage-api\/"},"modified":"2026-07-14T02:46:46","modified_gmt":"2026-07-13T23:16:46","slug":"cve-2026-57856-cockpit-cms-path-traversal-via-bucket-name-in-bucket-file-storage-api","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-57856-cockpit-cms-path-traversal-via-bucket-name-in-bucket-file-storage-api\/","title":{"rendered":"CVE-2026-57856 &#8211; Cockpit CMS Path Traversal via Bucket Name in Bucket File Storage API"},"content":{"rendered":"<p>CVE ID :CVE-2026-57856<\/p>\n<p>  Published : July 13, 2026, 11:16 p.m. | 13\u00a0minutes ago<\/p>\n<p>  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(&#8216;\/[^a-zA-Z0-9-_\\.]\/&#8217;,&#8221;, $bucket), which permits &#8216;..&#8217; and &#8216;..\/&#8217; sequences. The sanitized value is interpolated into a Flysystem path as uploads:\/\/buckets\/{bucket}. Flysystem&#8217;s WhitespacePathNormalizer resolves &#8216;buckets\/..&#8217; to the empty string (the uploads storage root) without raising PathTraversalDetected because the &#8216;..&#8217; has a preceding component to consume. An authenticated low-privileged user can send a crafted request with a &#8216;..\/&#8217; bucket name to list, upload, and delete files across all buckets, including those belonging to other users or roles<\/p>\n<p>  Severity: 8.8 | HIGH<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-57856 Published : July 13, 2026, 11:16 p.m. | 13\u00a0minutes ago 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(&#8216;\/[^a-zA-Z0-9-_\\.]\/&#8217;,&#8221;, $bucket), which permits &#8216;..&#8217; and &#8216;..\/&#8217; sequences. The sanitized value is interpolated into a Flysystem path &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-81949","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/81949","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=81949"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/81949\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=81949"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=81949"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=81949"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}