BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2026-27127 in Craftcms Craft Cms

Medium 6.3

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, wher...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.16.3
CVSS v47.0
EPSS0.5%
EPSS percentile35th
FixUnknown

Remotely exploitable over the network, high complexity, low privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Craftcms Craft Cms 3.5.0 5.0.0 ≥ 3.5.1, < 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-exploitedNot in the CISA KEV catalog
Public exploitNot 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 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-27127
BreachSpider IDBS-2026-GLOBAL-075488-M
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
Published2026-02-24
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-367: CWE-367

Related attack patterns (CAPEC)

CAPEC-27 Leveraging Race Conditions via Symbolic Links via CWE-367

CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions via CWE-367

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 a Server-Side Request Forgery (SSRF) attack due to a Time-of-Check-Time-of-Use (TOCTOU) vulnerability in the GraphQL Asset mutation. This allows DNS rebinding attacks, where an attacker's DNS server can return different IP addresses for validation and the actual HTTP request.

The vulnerability arises from the fact that Craft CMS performs DNS resolution separately from the HTTP request in the GraphQL Asset mutation. An attacker can exploit this by setting up a DNS server that returns a safe IP address during the validation phase and a malicious IP address during the actual HTTP request phase, bypassing intended security measures.

Questions

What is CVE-2026-27127?

Craft CMS versions 4.5.0-RC1 through 4.16.18 and 5.0.0-RC1 through 5.8.22 are vulnerable to a Server-Side Request Forgery (SSRF) attack due to a Time-of-Check-Time-of-Use (TOCTOU) vulnerability in the GraphQL Asset mutation. This allows DNS rebinding attacks, where an attacker's DNS server can return different IP addresses for validation and the actual HTTP request.

What is the CVSS score for CVE-2026-27127?

CVE-2026-27127 has CVSS 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N. EPSS: 0.5%.

Is CVE-2026-27127 actively exploited?

No confirmed active exploitation of CVE-2026-27127 as of 2026-09-25.

How do I remediate CVE-2026-27127?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2026-27127?

CVE-2026-27127 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"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.