Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-27127

CVE-2026-27127: Craftcms Craft CMS SSRF Vulnerability

CVE-2026-27127 is an SSRF vulnerability in Craftcms Craft CMS that enables DNS rebinding attacks through GraphQL Asset mutations. This article covers the technical details, affected versions, exploitation requirements, and patches.

Published: February 27, 2026

CVE-2026-27127 Overview

CVE-2026-27127 is a Time-of-Check-Time-of-Use (TOCTOU) vulnerability in Craft CMS that enables DNS rebinding attacks to bypass Server-Side Request Forgery (SSRF) validation. The vulnerability exists in the GraphQL Asset mutation where DNS resolution is performed separately from the HTTP request, allowing an attacker's DNS server to return different IP addresses during validation compared to the actual request. This vulnerability is a bypass of the security fix for CVE-2025-68437 and expands the attack surface to all blocked IPs, not just IPv6 endpoints.

Critical Impact

Authenticated attackers with GraphQL schema permissions can bypass SSRF protections to access internal network resources, potentially exposing sensitive data from internal services and cloud metadata endpoints.

Affected Products

  • Craft CMS versions 4.5.0-RC1 through 4.16.18
  • Craft CMS versions 5.0.0-RC1 through 5.8.22
  • Installations with GraphQL schema write permissions enabled (including misconfigured Public Schema)

Discovery Timeline

  • 2026-02-24 - CVE-2026-27127 published to NVD
  • 2026-02-25 - Last updated in NVD database

Technical Details for CVE-2026-27127

Vulnerability Analysis

The vulnerability exists in Craft CMS's GraphQL Asset mutation handling, specifically in the SSRF validation mechanism. When processing asset uploads from external URLs, the CMS validates the target hostname by resolving it to an IP address and checking against a blocklist. However, this DNS resolution occurs at a different time than the actual HTTP request, creating a classic Time-of-Check-Time-of-Use (TOCTOU) race condition.

This design flaw allows DNS rebinding attacks where an attacker controls a DNS server configured with a very short TTL (Time To Live). During the validation check, the DNS server returns a safe, allowed IP address. By the time the actual HTTP request is made, the DNS entry has expired and a subsequent lookup returns an internal IP address (such as 127.0.0.1, 169.254.169.254 for cloud metadata, or other internal network addresses).

The vulnerability requires authenticated access with specific GraphQL permissions: the ability to edit assets in a volume and create assets in a volume. These permissions could be granted through authenticated user GraphQL schema access or, critically, through misconfigured Public Schema settings that inadvertently enable write permissions.

Root Cause

The root cause is the separation of DNS resolution between the SSRF validation check and the actual HTTP request execution. CWE-367 (Time-of-Check Time-of-Use race condition) accurately describes this class of vulnerability where a security check and the operation it's meant to protect occur at different times, allowing the underlying state to change between them.

Attack Vector

The attack requires network access and an authenticated user with appropriate GraphQL schema permissions. An attacker would:

  1. Set up a malicious DNS server with short TTL records
  2. Configure the DNS to return an allowed IP for initial resolution
  3. Submit a GraphQL mutation to create/edit an asset with the malicious hostname
  4. The CMS validates the URL (DNS returns allowed IP)
  5. Between validation and request, the DNS record changes to an internal IP
  6. The HTTP request is made to the now-internal IP, bypassing SSRF protection

The following patch demonstrates how Craft CMS addressed this vulnerability by utilizing GuzzleHttp\TransferStats to ensure DNS resolution and HTTP request occur atomically:

php
 use GraphQL\Type\Definition\ResolveInfo;
 use GuzzleHttp\Client;
 use GuzzleHttp\RequestOptions;
+use GuzzleHttp\TransferStats;
 use Illuminate\Support\Collection;
 use Throwable;
 use yii\base\Exception;

Source: GitHub Commit Update

The fix introduces TransferStats to capture the actual IP address used during the HTTP request, allowing validation to occur on the resolved IP at request time rather than during a separate DNS lookup.

Detection Methods for CVE-2026-27127

Indicators of Compromise

  • Unusual GraphQL mutations targeting the Asset endpoint with external URLs
  • DNS queries to domains with extremely short TTL values (1-2 seconds)
  • HTTP requests to internal IP ranges (127.0.0.0/8, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 169.254.169.254) originating from the Craft CMS application
  • Log entries showing asset creation attempts with hostnames that resolve to different IPs on repeated lookups

Detection Strategies

  • Monitor GraphQL query logs for createAsset or saveAsset mutations containing external URLs
  • Implement DNS monitoring to detect queries with suspiciously short TTL responses
  • Deploy network segmentation alerts for internal service access from web application servers
  • Review Craft CMS access logs for patterns indicating SSRF exploitation attempts

Monitoring Recommendations

  • Enable detailed logging for GraphQL API requests, particularly those involving asset manipulation
  • Configure network monitoring to alert on outbound connections from the CMS server to internal IP ranges
  • Audit GraphQL schema permissions regularly, especially Public Schema configurations
  • Monitor for access to cloud metadata endpoints (169.254.169.254) from application servers

How to Mitigate CVE-2026-27127

Immediate Actions Required

  • Upgrade Craft CMS 4.x installations to version 4.16.19 or later
  • Upgrade Craft CMS 5.x installations to version 5.8.23 or later
  • Audit GraphQL schema permissions and disable write access in Public Schema if enabled
  • Review user accounts with GraphQL asset editing permissions

Patch Information

Craft CMS has released patched versions that address this vulnerability. The fix is available in versions 4.16.19 and 5.8.23. The patch modifies the Asset mutation resolver to use GuzzleHttp\TransferStats for validating the actual IP address at request time, eliminating the TOCTOU race condition. For detailed technical information, see the GitHub Security Advisory GHSA-gp2f-7wcm-5fhx and the related GitHub Security Advisory GHSA-x27p-wfqw-hfcc.

Workarounds

  • Restrict GraphQL schema permissions to remove asset creation and editing capabilities for untrusted users
  • Disable GraphQL Public Schema entirely or ensure it has no write permissions
  • Implement network-level egress filtering to block requests to internal IP ranges from the web server
  • Deploy a web application firewall (WAF) rule to inspect and block GraphQL mutations with suspicious external URLs
bash
# Example: Restrict outbound connections from web server to internal networks (iptables)
# Block connections to localhost from web application
iptables -A OUTPUT -o lo -m owner --uid-owner www-data -j DROP
# Block connections to private IP ranges
iptables -A OUTPUT -d 10.0.0.0/8 -m owner --uid-owner www-data -j DROP
iptables -A OUTPUT -d 172.16.0.0/12 -m owner --uid-owner www-data -j DROP
iptables -A OUTPUT -d 192.168.0.0/16 -m owner --uid-owner www-data -j DROP
# Block cloud metadata endpoint
iptables -A OUTPUT -d 169.254.169.254 -m owner --uid-owner www-data -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechCraftcms

  • SeverityHIGH

  • CVSS Score7.0

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-367
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-gp2f-7wcm-5fhx

  • GitHub Security Advisory GHSA-x27p-wfqw-hfcc
  • Related CVEs
  • CVE-2026-33159: Craft CMS Auth Bypass Vulnerability

  • CVE-2026-31859: Craft CMS Reflected XSS Vulnerability

  • CVE-2026-29175: Craftcms Craft Commerce XSS Vulnerability

  • CVE-2026-29173: Craft Commerce Stored XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English