Time-of-check Time-of-use (TOCTOU) Race Condition in Craft CMS - CVE-2026-27127
Published: April 17, 2026
Craft CMS
Detailed vulnerability description
The vulnerability allows a remote user to bypass SSRF protections and disclose sensitive information.
The vulnerability exists due to time-of-check time-of-use (TOCTOU) race condition in the GraphQL Asset mutation resolver when validating a hostname separately from the subsequent HTTP request. A remote user can supply a URL that uses DNS rebinding to bypass SSRF protections and disclose sensitive information.
Exploitation requires GraphQL schema permissions to create or edit assets, or a public schema that is misconfigured with write permissions.