Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Cockpit CMS instance via fingerprinting
-
DeliverySend crafted HTTP request targeting /config/config.yaml path
-
ExploitBypass htaccess Handler access control via path traversal
-
ExecutionRetrieve YAML configuration contents
-
ImpactExtract 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Network-accessible with no auth or user interaction required; impact is limited to partial confidentiality loss (config file exposure), no integrity or availability consequence.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
More in Cockpit Cms
View allAuthenticated remote code execution in Cockpit CMS lets attackers holding collection-management privileges inject arbitr
Unrestricted file upload in Cockpit CMS versions up to and including 2.6.0 allows any authenticated user to upload PHP s
Path-traversal privilege escalation in Cockpit CMS Bucket file storage API (before 2.14.0) lets an authenticated low-pri
Broken access control in Cockpit CMS's Bucket file storage API (/system/buckets/api) lets any authenticated user, regard
EUVD-2026-40030
GHSA-q4hh-wg87-823q
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB