CVE Catalog

CVE-2026-92591

MediumCVSS 5.9
Published: Updated: Translated: NVD NIST

Summary

Craft CMS versions 5.0.0 through 5.10.12 treat a database connection failure as meaning Craft is not installed, making anonymous installer actions (including install/validate-site) reachable on an installed production site when PHP remains available but MySQL is not. An authenticated attacker with a valid guest session and CSRF token can read environment variables, including the security key, database credentials, or API keys. Fixed in 5.10.13.

Risk Assessment

An attacker can obtain critical secrets such as the Craft security key, database credentials, or API keys, potentially leading to full system compromise. The vulnerability requires an independent database outage but is easy to exploit when it occurs.

Recommendation

Upgrade Craft CMS to version 5.10.13 or later. Monitor database availability and consider additional protections against unauthorized access to installer actions.

Other vulnerabilities in Craft CMS

See all
Original NVD description (English source)

Craft CMS 5.0.0 through 5.10.12 treats a database connection failure as meaning that Craft is not installed, which makes anonymous installer actions — including install/validate-site — reachable on an installed production site whenever PHP remains available but the configured MySQL endpoint does not. The action accepts a site name, serializes it through Site::getName(), and expands ${NAME} expressions using App::env(). An unauthenticated attacker who obtained a guest session cookie and matching CSRF token before the outage and whose session remains valid during it can submit a predictable variable name (for example Craft's conventional CRAFT_SECURITY_KEY) and receive its value, disclosing Craft secrets, process environment variables, $_SERVER entries, or PHP constants such as the security key, database credentials, or API keys. The issue requires an independently occurring database outage; the vulnerability itself provides no way to induce it. Fixed in 5.10.13.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS