Skip to main content

Cockpit CMS CVE-2026-57856

HIGH
Path Traversal (CWE-22)
2026-07-13 VulnCheck
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privileged user
  2. Delivery
    Craft request to /system/buckets/api with '../' bucket name
  3. Exploit
    Bypass sanitizer, resolve path to uploads root
  4. Execution
    List, upload, and delete cross-bucket files
  5. Impact
    Compromise data of other users and roles

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a valid authenticated Cockpit CMS account with at least low privileges granting access to the Bucket file storage API endpoint (/system/buckets/api) - consistent with PR:L in the CVSS vector; unauthenticated exploitation is not indicated. The specific trigger is supplying a bucket-name parameter containing '..' or '../' (e.g., 'buckets/..') that survives the preg_replace sanitizer and is resolved by Flysystem's WhitespacePathNormalizer to the uploads storage root. Exploitation is limited by the need for any authenticated account and by the affected version window (prior to 2.14.0); no user interaction, no special platform, and no non-default configuration is required, and the uploads:// Flysystem backend is the standard bucket storage. The practical exposure depends on how many untrusted or cross-tenant users hold Cockpit accounts.

Impact

The vendor-assigned CVSS 4.0 score is 8.7 (High) with vector AV:N/AC:L/AT:N/PR:L/UI:N and high vulnerable-system confidentiality, integrity, and availability impact - meaning network-reachable, low-complexity, no user interaction, but requiring an authenticated low-privileged account (PR:L). That authentication requirement is the single most important limiting factor: this is not remote-unauthenticated, so realistic risk depends on how freely accounts are provisioned (e.g., multi-tenant or self-registration deployments raise exposure sharply). No EPSS score, KEV listing, or SSVC decision data was provided, so exploitation-probability and automatability signals are unavailable and cannot be asserted. A POC gist is referenced but its working status is unverified. Overall this is a credible, patch-worthy privilege-escalation/data-integrity issue rather than a mass-exploitation network worm - priority should scale with whether untrusted or shared-tenant users hold Cockpit accounts.

Exploit ScenarioDerived

A low-privileged authenticated user (for example, an editor limited to their own bucket in a multi-tenant Cockpit deployment) sends a crafted request to /system/buckets/api with a bucket name like '../' or 'buckets/..'. The sanitizer leaves the traversal intact, Flysystem resolves the path to the uploads root, and the attacker lists, downloads, overwrites, or deletes files belonging to every other bucket and role. A proof-of-concept gist is referenced, though its functional status is unverified.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 13, 2026

Path-traversal privilege escalation in Cockpit CMS Bucket file storage API (before 2.14.0) lets an authenticated low-privileged user bypass per-bucket isolation by supplying a '../' bucket name, granting cross-bucket read, upload, and delete over all files regardless of owner or role. The flaw stems from an incomplete sanitization regex that strips dangerous characters but preserves dot sequences, which Flysystem then normalizes down to the storage root. No public exploit is identified at time of analysis, though a proof-of-concept gist is referenced; the issue was reported by VulnCheck and a vendor patch is available.

RemediationAI

Vendor-released patch: upgrade to Cockpit CMS 2.14.0 or later (fix commit dde2d1d74f5f4e11de42a298918ea8c9684f932c, released 2026-03-30). If immediate upgrade is not possible, apply the upstream fix by correcting bucket-name validation in modules/System/Controller/Buckets.php so dot sequences are rejected - replace the permissive preg_replace denylist with an allowlist that forbids '.' or explicitly blocks '..' before the value reaches the Flysystem path. As a compensating control, restrict access to the /system/buckets/api endpoint at the reverse proxy or application ACL layer to trusted administrators only, and audit/tighten account provisioning so low-privileged or self-registered users cannot reach the Bucket API (trade-off: may break legitimate bucket workflows for non-admin roles). Review upload storage for unauthorized file changes or deletions predating the patch. Reference the VulnCheck advisory (https://www.vulncheck.com/advisories/cockpit-cms-path-traversal-via-bucket-name-in-bucket-file-storage-api).

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability lives in the api() method of modules/System/Controller/Buckets.php. Bucket names are sanitized with preg_replace('/[^a-zA-Z0-9-_\.]/','', $bucket), a denylist that explicitly permits the dot character, so '..' and '../' survive sanitization. The value is interpolated into a Flysystem virtual path 'uploads://buckets/{bucket}'. Because Flysystem's WhitespacePathNormalizer only raises PathTraversalDetected when a '..' has no preceding path component to consume, 'buckets/..' collapses to the empty string - the uploads storage root - silently. This is a textbook CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) where a broken input filter combines with a normalization edge case. Affected product per CPE is cpe:2.3:a:cockpit_hq:cockpit_cms across all versions prior to the fix; Cockpit CMS is a PHP-based headless/API-first content management system.

Know when Cockpit Cms gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.7 HIGH
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
vuln.today AI 8.8 HIGH

Network API reachable with low-complexity '../' payload; requires an authenticated low-privileged account (PR:L); traversal enables cross-bucket read, write, and delete so C/I/A all High; scope unchanged within the app's own storage.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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

Executive ViewAI

Why It Matters

Cockpit CMS versions before 2.14.0 contain a privilege escalation vulnerability that allows authenticated users to access and modify files across all storage buckets regardless of their assigned permissions. Organizations using Cockpit CMS should prioritize patching to prevent data loss and unauthorized access from compromised or malicious user accounts.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 69% exploitable
Prevalence
Low
niche open-source PHP headless CMS, limited enterprise footprint
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Affected Products (CPE)CVE.org

cpe:2.3:a:cockpit_hq:cockpit_cms:*:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy