CVE-2026-27127
HIGH 7.0CVSS 4.0Craft CMS has Cloud Metadata SSRF Protection Bypass via DNS Rebinding
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.
- Published
- 24 Feb 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-367
- Also known as
- GHSA-gp2f-7wcm-5fhx
- Sources
- NVDJSONOSV GHSA-gp2f-7wcm-5fhxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 7.0 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | craftcms | craft_cmscpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:* |
>= 3.5.1, < 4.16.19 | 4.16.19 |
| NVD | craftcms | craft_cmscpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:* |
>= 5.0.1, < 5.8.23 | 5.8.23 |
| NVD | craftcms | craft_cmscpe:2.3:a:craftcms:craft_cms:3.5.0:-:*:*:*:*:*:* |
= 3.5.0 | |
| NVD | craftcms | craft_cmscpe:2.3:a:craftcms:craft_cms:5.0.0:-:*:*:*:*:*:* |
= 5.0.0 | |
| NVD | craftcms | craft_cmscpe:2.3:a:craftcms:craft_cms:5.0.0:rc1:*:*:*:*:*:* |
= 5.0.0 | |
| OSV | Packagist | craftcms/cms | >= 5.0.0-RC1, < 5.8.23 | 5.8.23 |
| OSV | Packagist | craftcms/cms | >= 3.5.0, < 4.16.19 | 4.16.19 |
References
- https://github.com/craftcms/cms/commit/a4cf3fb63bba3249cf1e2882b18a2d29e77a8575 · Patch, WEB
- https://github.com/craftcms/cms/security/advisories/GHSA-gp2f-7wcm-5fhx · Exploit, Mitigation, Vendor Advisory, WEB
- https://github.com/craftcms/cms/security/advisories/GHSA-x27p-wfqw-hfcc · Exploit, Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-27127 · ADVISORY
- https://curl.se/libcurl/c/CURLOPT_RESOLVE.html · WEB
- https://github.com/craftcms/cms · PACKAGE
- https://github.com/mogwailabs/DNSrebinder · WEB
- https://github.com/nccgroup/singularity · WEB
- https://github.com/taviso/rbndr · WEB
- https://unit42.paloaltonetworks.com/dns-rebinding · WEB
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 24 Feb 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 23 Feb 2026)