CVE-2026-27129 in Craftcms Craft Cms
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 uses `gethostbyname()`, which only resolves IPv4 addresses. When a hostname has only AAAA (IPv6) records, the function returns the hostname string ...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Craftcms | Craft Cms | 5.0.0 ≥ 3.5.0, < 4.16.19 ≥ 5.0.1, < 5.8.23 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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 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. 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-27129 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-075490-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| Published | 2026-02-24 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-918: Server-Side Request Forgery (SSRF)
Attacker causes the server to make HTTP requests to attacker-chosen destinations, potentially reaching internal services.
Related attack patterns (CAPEC)
CAPEC-664 Server Side Request Forgery via CWE-918
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Craft CMS versions 4.5.0-RC1 through 4.16.18 and 5.0.0-RC1 through 5.8.22 are vulnerable to Server-Side Request Forgery (SSRF) due to an issue in the SSRF validation in the GraphQL Asset mutation. The vulnerability arises from the use of `gethostbyname()`, which fails to resolve IPv6 addresses, leading to a bypass of the blocklist comparison.
An attacker can exploit this vulnerability by crafting a request to the GraphQL Asset mutation with a hostname that has only AAAA (IPv6) records. Since `gethostbyname()` returns the hostname string itself instead of resolving it to an IPv4 address, the blocklist check is bypassed, allowing the attacker to make requests to internal or restricted networks.
Questions
What is CVE-2026-27129?
Craft CMS versions 4.5.0-RC1 through 4.16.18 and 5.0.0-RC1 through 5.8.22 are vulnerable to Server-Side Request Forgery (SSRF) due to an issue in the SSRF validation in the GraphQL Asset mutation. The vulnerability arises from the use of `gethostbyname()`, which fails to resolve IPv6 addresses, leading to a bypass of the blocklist comparison.
What is the CVSS score for CVE-2026-27129?
CVE-2026-27129 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N. EPSS: 0.5%.
Is CVE-2026-27129 actively exploited?
No confirmed active exploitation of CVE-2026-27129 as of 2026-09-25.
How do I remediate CVE-2026-27129?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2026-27129?
CVE-2026-27129 affects Craftcms Craft Cms.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Craftcms","product":"Craft Cms","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.