Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. craftcms/cms
  4. ›
  5. CVE-2026-27129

CVE-2026-27129: Craft CMS: Cloud Metadata SSRF Protection Bypass via IPv6 Resolution

February 24, 2026

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).

References

  • github.com/advisories/GHSA-v2gc-rm6g-wrw9
  • github.com/craftcms/cms
  • github.com/craftcms/cms/commit/2825388b4f32fb1c9bd709027a1a1fd192d709a3
  • github.com/craftcms/cms/security/advisories/GHSA-v2gc-rm6g-wrw9
  • github.com/craftcms/cms/security/advisories/GHSA-x27p-wfqw-hfcc
  • nvd.nist.gov/vuln/detail/CVE-2026-27129

Code Behaviors & Features

Detect and mitigate CVE-2026-27129 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.5.0 before 4.16.19, all versions starting from 5.0.0-RC1 before 5.8.23

Fixed versions

  • 5.8.23
  • 4.16.19

Solution

Upgrade to versions 4.16.19, 5.8.23 or above.

Impact 5.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

packagist/craftcms/cms/CVE-2026-27129.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 26 Feb 2026 12:18:23 +0000.