CVE-2026-92591: Craft CMS 5.0.0 before 5.10.13 Environment Secret Exposure via Installer

Published Sep 16, 2026
·
Updated

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 CRAFTSECURITYKEY) 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.

Affected Software

1 affected component
Craft CMS Craft CMS>=5.0.0<5.10.13

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Craft CMS to a version that resolves this vulnerability.

    Fixed in 5.10.13

Event History

Sep 16, 2026
CVE Published
via MITRE·09:46 PM
Data Sourced
via MITRE·09:46 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What conditions must exist for exploitation?

The configured MySQL endpoint must be unavailable while PHP remains available, causing the installed site to expose installer actions. The attacker must also already possess a valid guest session cookie and matching CSRF token obtained before the outage, and that session must remain valid during the outage.

2

Can an attacker trigger the required database outage through this vulnerability?

No. The vulnerability provides no way to induce a database outage; the MySQL connectivity failure must occur independently.

3

What information could be exposed?

An attacker can request predictable environment-variable expressions and receive their values. Exposed data may include the Craft security key, database credentials, API keys, process environment variables, $_SERVER entries, and PHP constants.

4

Which versions should be remediated?

Craft CMS versions 5.0.0 through 5.10.12 are affected. The issue is fixed in version 5.10.13.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203