MediumGHSA-v2gc-rm6g-wrw9
Craft CMS: Cloud Metadata SSRF Protection Bypass via IPv6 Resolution
Affected versions
5.0.0-RC1 to before 5.8.23, 3.5.0 to before 4.16.19 - fixed in 5.8.23Details
The SSRF validation in Craft CMS’s GraphQL Asset mutation uses `gethostbyname()`, which only resolves IPv4 addresses. When a hostname has only AAAA (IPv6) records, the function returns the hostname string itself, causing the blocklist comparison to always fail and completely bypassing SSRF protection. 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)). ## Required Permissions Exploitation requires GraphQL schema permissions for: - Edit assets in the `<VolumeName>` volume - Create assets in
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-27129
- https://github.com/craftcms/cms/security/advisories/GHSA-v2gc-rm6g-wrw9
- https://github.com/craftcms/cms/security/advisories/GHSA-x27p-wfqw-hfcc
- https://nvd.nist.gov/vuln/detail/CVE-2026-27129
- https://github.com/craftcms/cms/commit/2825388b4f32fb1c9bd709027a1a1fd192d709a3
- https://github.com/craftcms/cms
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