Skip to main content

Cockpit CMS EUVDEUVD-2026-40030

| CVE-2026-13533 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
Share

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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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

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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

2
CVSS changed
Jun 29, 2026 - 06:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
Analysis Generated
Jun 29, 2026 - 05:47 vuln.today

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.

AnalysisAI

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.

Technical ContextAI

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.

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.

Share

EUVD-2026-40030 vulnerability details – vuln.today

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