Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.6%top 54%

CVE-2026-57856: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Cockpit HQ Cockpit CMS

0
High
VulnerabilityCVE-2026-57856cvecve-2026-57856
Published: 07/13/2026 (07/13/2026, 22:41:23 UTC)
Source: CVE Database V5
Vendor/Project: Cockpit HQ
Product: Cockpit CMS

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

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/21/2026, 19:33:19 UTC

Technical Analysis

The vulnerability in Cockpit CMS (CVE-2026-57856) is a path traversal issue in the Bucket file storage API endpoint (/system/buckets/api). The api() method sanitizes bucket names using a regex that removes characters except letters, digits, hyphens, underscores, backslashes, and dots, but it does not prevent '..' or '../' sequences. These sequences are interpreted by Flysystem's WhitespacePathNormalizer to traverse directories, effectively allowing an attacker with low privileges to access and manipulate files outside their authorized buckets. This enables unauthorized file listing, uploading, and deletion across all buckets.

Potential Impact

An authenticated user with low privileges can exploit this vulnerability to access, upload, and delete files in any bucket, including those belonging to other users or roles. This compromises data confidentiality, integrity, and availability within the Cockpit CMS file storage system.

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 related to bucket name parameters. Avoid using untrusted input in bucket names without proper validation that disallows directory traversal sequences.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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/21/2026, 19:33:19 UTC

Last updated: 08/27/2026, 10:52:10 UTC

Views: 101

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses