{"id":"CVE-2026-27127","summary":"Craft CMS has Cloud Metadata SSRF Protection Bypass via DNS Rebinding","details":"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 `\u003cVolumeName\u003e` volume and creating assets in the `\u003cVolumeName\u003e` 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.","aliases":["GHSA-gp2f-7wcm-5fhx"],"modified":"2026-08-12T03:51:10.851319750Z","published":"2026-02-24T02:39:44.569Z","related":["GHSA-gp2f-7wcm-5fhx","GHSA-x27p-wfqw-hfcc"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-367"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27127.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27127.json"},{"type":"ADVISORY","url":"https://github.com/craftcms/cms/security/advisories/GHSA-gp2f-7wcm-5fhx"},{"type":"ADVISORY","url":"https://github.com/craftcms/cms/security/advisories/GHSA-x27p-wfqw-hfcc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27127"},{"type":"FIX","url":"https://github.com/craftcms/cms/commit/a4cf3fb63bba3249cf1e2882b18a2d29e77a8575"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/craftcms/cms","events":[{"introduced":"19ff89bd870bab917e4d196bc943daac6a3fdb47"},{"fixed":"1a8db788c8b3de85c3aed09ac34046e230079481"},{"introduced":"856f45f2766b1a1df5db437b5cd3fe5cce896b5b"},{"fixed":"daf0ed01c7d2c194ba4a405290e43934d020eef2"},{"introduced":"c6671af5af9e45f57ca9ab50d4b30b07282819d3"},{"fixed":"a4cf3fb63bba3249cf1e2882b18a2d29e77a8575"}],"database_specific":{"cpe":["cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*","cpe:2.3:a:craftcms:craft_cms:3.5.0:-:*:*:*:*:*:*","cpe:2.3:a:craftcms:craft_cms:5.0.0:-:*:*:*:*:*:*","cpe:2.3:a:craftcms:craft_cms:5.0.0:rc1:*:*:*:*:*:*"],"extracted_events":[{"introduced":"3.5.1"},{"fixed":"4.16.19"},{"introduced":"5.0.1"},{"fixed":"5.8.23"},{"introduced":"3.5.0-NA"},{"last_affected":"3.5.0-NA"},{"introduced":"5.0.0-NA"},{"last_affected":"5.0.0-NA"},{"introduced":"5.0.0-rc1"},{"last_affected":"5.0.0-rc1"}],"source":["CPE_RANGE","CPE_STRING","REFERENCES"]}},{"type":"GIT","repo":"https://github.com/nystudio107/craft-seomatic","events":[{"introduced":"c3242251ca85006e2a5b6dfc4654875512b1466e"},{"last_affected":"c3242251ca85006e2a5b6dfc4654875512b1466e"}],"database_specific":{"source":"CPE_STRING","cpe":"cpe:2.3:a:craftcms:craft_cms:3.5.0:-:*:*:*:*:*:*","extracted_events":[{"introduced":"3.5.0-NA"},{"last_affected":"3.5.0-NA"}]}}],"versions":["3.5.0-NA","5.0.0-NA","5.0.0-rc1","3.5.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-27127.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}