HighGHSA-gp2f-7wcm-5fhx
Craft CMS has Cloud Metadata SSRF Protection Bypass via DNS Rebinding
Affected versions
5.0.0-RC1 to before 5.8.23, 3.5.0 to before 4.16.19 - fixed in 5.8.23Details
## Summary 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 ([GHSA-x27p-wfqw-hfcc](https://github.com/craftcms/cms/security/advisories/GHSA-x27p-wfqw-hfcc)) that allows access to all blocked IPs, not just IPv6 endpoints. ## Severity Bypass of cloud metadata SSRF protection f
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-27127
- https://github.com/craftcms/cms/security/advisories/GHSA-gp2f-7wcm-5fhx
- https://github.com/craftcms/cms/security/advisories/GHSA-x27p-wfqw-hfcc
- https://nvd.nist.gov/vuln/detail/CVE-2026-27127
- https://github.com/craftcms/cms/commit/a4cf3fb63bba3249cf1e2882b18a2d29e77a8575
- https://curl.se/libcurl/c/CURLOPT_RESOLVE.html
- https://github.com/craftcms/cms
- https://github.com/mogwailabs/DNSrebinder
Is your site exposed?Run a free passive scan. See your platform, versions and the issues on your surface in under a minute.
Check if my site is affected