CVE-2026-13533: Cockpit CMS Remote File Access Vulnerability (v0.12.2)
Cockpit CMS versions up to 0.12.2 contain a vulnerability in its YAML configuration handler that allows unauthorized file access. An attacker can remotely read sensitive files or access restricted directories without authentication. The issue stems from improper handling of YAML parsing in the configuration module, and exploit code is publicly available. This is a disclosure made without vendor cooperation.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 5.3 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Weaknesses (CWE)
- CWE-425, CWE-552
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-06-29 / 2026-06-29
NVD description (verbatim)
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.
5 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-13533 affects the Spyc::YAMLLoad function within Cockpit CMS's htaccess handler, specifically in the /config/config.yaml component path. The vulnerability permits directory traversal or arbitrary file disclosure via remote, unauthenticated requests. The root cause involves insufficient input validation during YAML configuration parsing. The attack vector is network-based with low complexity and no user interaction required. CWE-425 (Direct Request) and CWE-552 (Files or Directories Accessible to External Parties) classify the exposure.
Business impact
This vulnerability can lead to unauthorized disclosure of sensitive configuration files, credentials stored in YAML configurations, database connection strings, API keys, and other system metadata. Organizations running Cockpit CMS may face data exfiltration, compliance violations, and secondary attack preparation if attackers obtain credentials or system architecture details. The low CVSS score reflects confidentiality risk only; integrity and availability remain unaffected, but exposure of configuration data can enable follow-on compromises.
Affected systems
Cockpit CMS versions through 0.12.2 are vulnerable. Organizations using this content management system, particularly older deployments that have not updated, require immediate assessment. Verify your installed version against vendor release notes. The vulnerability does not affect systems running patched or newer versions beyond 0.12.2.
Exploitability
Exploitation is straightforward: the attack requires no authentication, no user interaction, and can be executed remotely over the network with low complexity. Proof-of-concept code is publicly disclosed, lowering the barrier for opportunistic attacks. However, exploitation is confined to information disclosure; it does not provide code execution or denial-of-service capabilities.
Remediation
Upgrade Cockpit CMS to a version patched after 0.12.2. Review your deployment to confirm the current version and apply the latest security patch from the vendor. Until patching is feasible, restrict network access to the /config directory and surrounding administrative paths using firewall rules or web server configuration. Monitor access logs for suspicious requests targeting configuration files.
Patch guidance
Contact the Cockpit CMS vendor or review their official security advisories and release notes to identify and obtain the patched version beyond 0.12.2. Apply patches in a controlled test environment first to confirm compatibility with your site configuration and plugins. Given the vendor's lack of responsiveness noted in the public disclosure, prioritize upgrading or consider migrating to actively maintained CMS alternatives if support is a concern.
Detection guidance
Monitor for HTTP requests targeting /config/config.yaml or adjacent configuration paths, especially those with encoded path traversal sequences (%2e%2e) or unusual YAML syntax. Audit web server logs for unauthorized 200-status responses to configuration file paths from external IP addresses. Check file access logs for reads of config.yaml by the web server process outside normal operations. Implement web application firewall (WAF) rules to block requests attempting to access configuration directories.
Why prioritize this
Although the CVSS score is medium (5.3), the public disclosure and low exploitation barrier warrant prompt attention. Configuration file exposure directly enables credential theft and infrastructure reconnaissance. The lack of vendor engagement suggests patches may be delayed; rapid assessment and mitigation planning is critical to prevent data loss in active deployments.
Risk score, explained
The CVSS 5.3 score reflects low-complexity, unauthenticated remote access leading to confidential information disclosure. No integrity or availability impact occurs from this vulnerability alone. The score would be elevated if the configuration contained highly sensitive secrets or if the affected system were internet-facing and frequently scanned. Public exploit availability and vendor non-responsiveness increase operational risk beyond the base score.
Frequently asked questions
What files can attackers access through this vulnerability?
Attackers can potentially read /config/config.yaml and possibly other configuration files in adjacent directories. The extent of disclosure depends on the Cockpit CMS installation structure and what sensitive data is stored in plain-text configuration files. Database credentials, API keys, and authentication tokens stored there are at risk.
Do I need to patch if my Cockpit CMS instance is not accessible from the internet?
If your instance is protected by firewall rules restricting external network access, immediate patching is less urgent but still recommended. However, internal threats and lateral movement attacks can still exploit this vulnerability. Patch in your next maintenance window to eliminate the risk entirely.
Is there a temporary workaround if I cannot patch immediately?
You can implement web server-level access controls to deny external requests to /config/ and other configuration directories. Use .htaccess rules or nginx location blocks to block these paths. This is a temporary measure only; patching should remain your primary goal.
Will the vendor release a patch?
The public disclosure notes that the vendor was contacted early but did not respond. Verify the Cockpit CMS project's official repository and security channels for any patches released after the public disclosure. If the vendor remains unresponsive, consider upgrading to an alternative CMS or contributing a patch to the open-source project if feasible.
This analysis is provided for informational purposes and reflects publicly available information as of the publication date. SEC.co does not guarantee the accuracy of vendor-supplied patch version numbers or advisory links; always verify patches against official vendor sources before deployment. No exploit code or weaponized proof-of-concept steps are provided. Readers should conduct their own risk assessment based on their specific deployments and security posture. This document does not constitute legal or compliance advice. Source: NVD (public-domain), retrieved 2026-08-07. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-11986MEDIUMKeycloak Admin Permission Bypass Allows Unauthorized Role Removal
- CVE-2026-40425MEDIUMMacGregor VDR Admin File Access Vulnerability – MEDIUM Risk
- CVE-2026-45543MEDIUMNextcloud Forms Removed Collaborator Retains File Read Access
- CVE-2025-66389HIGHGitHub Copilot 1.372.0 Arbitrary File Access via Prompt Injection
- CVE-2026-10521HIGHHigh-Severity Unauthorized Configuration Access Vulnerability
- CVE-2026-59703HIGHRepomix Local File Inclusion via Unvalidated Git URLs
- CVE-2026-9610LOWIBM Datacap Forced Browsing Vulnerability – Low-Risk Hidden Resource Access
- CVE-2016-20064MEDIUMWP Vault 0.8.6.6 Arbitrary File Read via Directory Traversal