Skip to main content
VulnerabilityPublished Updated

CVE-2026-27127: craftcms cms · Time-of-check Time-of-use (TOCTOU) Race Condition

Affects craftcms cmsSource CVE Database V5

0
Compare

Mentioned vulnerabilities

Not known to be exploited · CVSS 7.0 High : upgrade to 5.8.23 or 4.16.19 soon.

Data as of 29 Oct 2026, 19:04 UTC

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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Feb 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 29 Oct 2026.

What to do

Upgrade craftcms cms to 5.8.23 or 4.16.19.

Affected software

ProductAffectedFixed in
craftcmscmsAffected
  • >=5.0.0-RC1 <5.8.23
Fixed in
  • 5.8.23
craftcmscmsAffected
  • >=4.5.0-RC1 <4.16.19
Fixed in
  • 4.16.19

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

AI-suggested

Organizations should immediately upgrade Craft CMS installations to versions 4.16.19 or 5.8.23 or later, where the vulnerability is patched. Review and tighten GraphQL schema permissions to ensure that only trusted, authenticated users have asset editing or creation rights, and avoid granting write permissions to public schemas. Implement strict network segmentation and firewall rules to limit access to internal services from the CMS server. Monitor GraphQL API usage for unusual asset mutation requests, especially from less trusted users. Consider deploying DNS security measures such as DNS filtering or DNSSEC validation to reduce the risk of DNS rebinding attacks. Additionally, conduct regular audits of CMS configurations and permissions to detect and remediate misconfigurations that could facilitate exploitation. Employ runtime application self-protection (RASP) or Web Application Firewalls (WAFs) with rules targeting SSRF and DNS rebinding patterns to provide additional defense layers.

Description

Craft is a content management system (CMS). In versions 4.5.0-RC1 through 4.16.18 and 5.0.0-RC1 through 5.8.22, the SSRF validation in Craft CMS’s GraphQL Asset mutation performs DNS resolution separately from the HTTP request. This Time-of-Check-Time-of-Use (TOCTOU) vulnerability enables DNS rebinding attacks, where an attacker’s DNS server returns different IP addresses for validation compared to the actual request. This is a bypass of the security fix for CVE-2025-68437 that allows access to all blocked IPs, not just IPv6 endpoints. Exploitation requires GraphQL schema permissions for editing assets in the `<VolumeName>` volume and creating assets in the `<VolumeName>` volume. These permissions may be granted to authenticated users with appropriate GraphQL schema access and/or Public Schema (if misconfigured with write permissions). Versions 4.16.19 and 5.8.23 patch the issue.

References

Community reviews

Loading reviews…