Skip to main content

Cockpit CMS CVE-2026-13533

| EUVDEUVD-2026-40030 MEDIUM
Files or Directories Accessible to External Parties (CWE-552)
2026-06-29 VulDB GHSA-q4hh-wg87-823q
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Identify Cockpit CMS instance via fingerprinting
  2. Delivery
    Send crafted HTTP request targeting /config/config.yaml path
  3. Exploit
    Bypass htaccess Handler access control via path traversal
  4. Execution
    Retrieve YAML configuration contents
  5. Impact
    Extract credentials or sensitive configuration values

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling File access restriction
MITRE ATT&CK

2 techniques across 1 tactic: Collection

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

Exploitation Conditions

Target must be running agentejo Cockpit CMS version 0.12.2 or earlier with the htaccess Handler component active - this is the default configuration for Apache-hosted deployments. The web server must be Apache (or configured to process .htaccess files), as the vulnerability is specifically in the htaccess Handler's path resolution and access control logic. No authentication is required (CVSS 4.0 PR:N, UI:N). Exploitation is limited to: (1) Apache-based deployments - nginx or other servers with native config-based access controls may not be affected in the same way; (2) instances where the /config/ directory is reachable from the public web root rather than placed outside the document root; (3) Cockpit CMS versions 0.12.2 and below only. The low confidentiality impact (VC:L) indicates partial file exposure rather than full system compromise - attackers gain read access to configuration data, not code execution.

Impact

The CVSS 4.0 base score of 6.9 (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N) reflects a remotely exploitable, low-complexity flaw requiring no authentication, but with only low confidentiality impact - no integrity or availability consequences are assessed. The exploit maturity modifier (E:P) in the provided vector confirms a publicly available POC, escalating operational risk beyond the base score alone. This is NOT listed in the CISA KEV catalog, so active mass exploitation is not confirmed; however, the public GitHub gist exploit lowers the bar significantly for opportunistic attackers. EPSS data was not provided, but given the network-accessible, zero-auth attack vector paired with a public exploit, the real-world exploitation probability is meaningfully elevated above the raw score suggests. The primary limiting factor is the niche footprint of Cockpit CMS - this is not a widely deployed product, which constrains the scope of impact. For organizations actively running Cockpit CMS 0.12.2 or earlier, this should be treated as a high-priority remediation given no patch exists and the exploit is public.

Exploit ScenarioDerived

An unauthenticated remote attacker sends a crafted HTTP GET request to a publicly accessible Cockpit CMS instance, targeting the htaccess Handler's YAML config loading path with traversal sequences (e.g., ../../config/config.yaml or equivalent). Because the .htaccess-based restriction is not reliably enforced by the handler, the server returns the raw contents of the YAML configuration file, potentially exposing database credentials, API keys, or internal directory structures. A working proof-of-concept for this technique is publicly available on GitHub, enabling low-skill exploitation.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 29, 2026

Unauthenticated remote file and directory exposure in agentejo Cockpit CMS 0.12.2 and earlier allows attackers to access files outside the web root via path traversal through the htaccess Handler's YAML configuration loader. The root cause is CWE-552 (Files or Directories Accessible to External Parties), triggered by unsafe processing of /config/config.yaml via the Spyc::YAMLLoad function, which can expose sensitive configuration data including credentials or internal path structures. A public exploit proof-of-concept exists on GitHub; no vendor patch has been issued, as the vendor did not respond to coordinated disclosure.

RemediationAI

No vendor-released patch has been identified at time of analysis; the vendor (agentejo) did not respond to disclosure. As a primary mitigation, restrict HTTP access to the /config/ directory at the web server level - for Apache, add an explicit Deny rule in the main server configuration (not relying on .htaccess alone, given the htaccess Handler is the affected component): use a Directory directive with 'Require all denied' to block external access to /config/config.yaml and sibling paths. For nginx deployments, add a 'location ~ /config/ { deny all; }' block. Operators should also consider placing the Cockpit config directory outside the web root entirely and updating the application's config path reference - this removes reliance on .htaccess for protection. If upgrading or patching is not possible, isolating the Cockpit CMS instance behind a WAF rule blocking path traversal patterns (../, %2e%2e) targeting /config/ provides additional defense. Monitor access logs for unexpected requests to /config/ paths. Exploit code is publicly available at https://gist.github.com/nov-1337/3eb0a06c602ced9c3b11b675b53947da - review it to understand exact request patterns and tune blocking rules accordingly.

Affected VersionsENISA

Cockpit CMS 0.12.0
Cockpit CMS 0.12.1
Cockpit CMS 0.12.2

Affected Packages

euvd cockpit_cms no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

Cockpit CMS (by agentejo) is a headless PHP CMS that uses a YAML-based configuration file at /config/config.yaml, parsed via the Spyc PHP library (Spyc::YAMLLoad). The htaccess Handler component is responsible for applying Apache .htaccess-based access restrictions to protect sensitive directories. CWE-552 indicates that the handler fails to adequately restrict external HTTP access to files or directories that should remain private - likely because .htaccess protections are not reliably applied or are bypassable. The path traversal tag (from VulDB) suggests that manipulation of input to the YAML loader or the handler's path resolution logic can cause the application to serve files outside the intended web-accessible scope. Affected CPE: cpe:2.3:a:agentejo:cockpit_cms:*:*:*:*:*:*:*:* covering all versions through 0.12.2.

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 (VulDB) PRIMARY 5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
vuln.today AI 5.3 MEDIUM

Network-accessible with no auth or user interaction required; impact is limited to partial confidentiality loss (config file exposure), no integrity or availability consequence.

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

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

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

Lifecycle Timeline

1
CVSS changed
Jun 29, 2026 - 06:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)

DescriptionCVE.org

A security vulnerability has been detected in agentejo Cockpit CMS up to 0.12.2. Affected by this issue is the function Spyc::YAMLLoad of the file /config/config.yaml of the component htaccess Handler. Such manipulation leads to files or directories accessible. It is possible to launch the attack remotely. The exploit has been disclosed publicly and may be used. Configuration settings should be changed. The vendor was contacted early about this disclosure but did not respond in any way.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Low
niche open-source headless CMS, limited enterprise footprint
Exploit
POC
Public exploit code exists
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL 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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
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.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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