Skip to main content
VulnerabilityPublished Updated

CVE-2026-72782: craftcms cms · Resource Exposure

Affects craftcms cmsSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.1 High : upgrade to 5.10.6 soon.

Data as of 8 Nov 2026, 23:24 UTC

CVSS 4.0 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 32% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.10.6, 4.18.2
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 9 Nov 2026.

What to do

Upgrade cms and craftcms/cms to 5.10.6; cms to 4.18.2.

Affected software

ProductAffectedFixed in
craftcmscmsAffected
  • >=5.0.0-RC1 <5.10.6
Fixed in
  • 5.10.6
craftcmscmsAffected
  • >=4.0.0-RC1 <4.18.2
Fixed in
  • 4.18.2
GitHubcraftcms/cmspkg:github/craftcms/cmsOther threatsAffected
  • <5.10.6
Fixed in
  • 5.10.6

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Fixed versions 5.10.6 and 4.18.2 are available. Users should upgrade to at least these versions to remediate the vulnerability. No vendor advisory content is provided to indicate alternative mitigations or temporary fixes. Patch status is confirmed by the description stating the issue is fixed in these versions.

Description

Craft CMS versions >= 5.0.0-RC1 before 5.10.6 and >= 4.0.0-RC1 before 4.18.2 interpolate environment variables and secrets (via ${ENV_VAR} strings in the elementId parameter) into Twig templates before rendering, even when the Twig sandbox is enabled. An authenticated attacker with control panel access can render a malicious sandboxed Twig template and, using a blind error-based technique across many requests, incrementally leak arbitrary environment variables and secrets. These can be abused to forge sessions (via CRAFT_SECURITY_KEY), escalate privileges, and steal database, SMTP, API, or blob storage credentials. Fixed in 5.10.6 and 4.18.2.

References

Community reviews

Loading reviews…