The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-25494

CVE-2026-25494: Craft CMS Auth Bypass Vulnerability

CVE-2026-25494 is an authentication bypass flaw in Craft CMS that allows attackers to bypass IP blocklists using alternative IP notations to access cloud metadata services. This article covers technical details, affected versions, and patches.

Published: February 13, 2026

CVE-2026-25494 Overview

CVE-2026-25494 is a Server-Side Request Forgery (SSRF) vulnerability in Craft CMS, a popular platform for creating digital experiences. The vulnerability exists in the saveAsset GraphQL mutation, which uses PHP's filter_var(..., FILTER_VALIDATE_IP) function to block access to specific IP addresses. However, this validation method fails to recognize alternative IP notations such as hexadecimal or mixed formats, allowing attackers to bypass the blocklist and potentially access sensitive cloud metadata services.

Critical Impact

Attackers can bypass IP blocklist restrictions to access cloud metadata services, potentially exposing sensitive infrastructure credentials and configuration data.

Affected Products

  • Craft CMS versions 4.0.0-RC1 through 4.16.17
  • Craft CMS versions 5.0.0-RC1 through 5.8.21

Discovery Timeline

  • 2026-02-09 - CVE CVE-2026-25494 published to NVD
  • 2026-02-09 - Last updated in NVD database

Technical Details for CVE-2026-25494

Vulnerability Analysis

This vulnerability stems from insufficient input validation in the saveAsset GraphQL mutation within Craft CMS. The application relies on PHP's native filter_var() function with the FILTER_VALIDATE_IP filter to implement an IP address blocklist. While this approach correctly identifies standard decimal notation IP addresses (e.g., 169.254.169.254), it fails to detect equivalent representations using alternative IP notations.

Attackers can leverage hexadecimal (e.g., 0xa9.0xfe.0xa9.0xfe), octal (e.g., 0251.0376.0251.0376), or mixed notation formats to represent blocked IP addresses. Since FILTER_VALIDATE_IP does not normalize these alternative formats, the blocklist check passes, allowing the request to proceed to the actual network layer where these notations are correctly resolved to their intended IP addresses.

This bypass is particularly dangerous in cloud environments where metadata services (AWS, GCP, Azure) expose sensitive information at well-known IP addresses like 169.254.169.254. Successful exploitation could allow attackers to retrieve instance credentials, environment variables, and other sensitive configuration data.

Root Cause

The root cause is the reliance on filter_var(..., FILTER_VALIDATE_IP) for security-critical IP address validation. This PHP function performs syntactic validation of IP addresses but does not canonicalize or normalize alternative IP representations before comparison. The function was designed for format validation rather than security filtering, making it unsuitable for implementing blocklists that must account for IP address obfuscation techniques. CWE-918 (Server-Side Request Forgery) accurately categorizes this vulnerability type.

Attack Vector

The attack vector is network-based and requires no authentication. An attacker can craft a malicious GraphQL mutation targeting the saveAsset endpoint with a URL containing an obfuscated IP address representation. The flow is as follows:

  1. Attacker sends a GraphQL mutation to the saveAsset endpoint
  2. The mutation includes a URL with an IP address in hexadecimal or mixed notation
  3. The filter_var() blocklist check fails to recognize the obfuscated IP
  4. The request is forwarded to the specified target, bypassing the intended restriction
  5. The attacker receives the response, potentially containing sensitive metadata
php
 use GraphQL\Error\UserError;
 use GraphQL\Type\Definition\ResolveInfo;
 use GuzzleHttp\Client;
+use Illuminate\Support\Collection;
 use Throwable;
 use yii\base\Exception;
 use yii\base\InvalidArgumentException;

Source: GitHub Commit Details

The patch introduces additional IP address normalization by converting hexadecimal hostname segments to their decimal equivalents before validation, ensuring that obfuscated IP addresses are properly detected and blocked.

Detection Methods for CVE-2026-25494

Indicators of Compromise

  • Unusual GraphQL requests to the saveAsset mutation containing hexadecimal, octal, or mixed IP notations in URL parameters
  • Outbound connections from the Craft CMS server to cloud metadata service IP addresses (169.254.169.254)
  • Access logs showing requests with encoded or obfuscated IP address formats in asset URLs
  • Unexpected responses or data exfiltration patterns following GraphQL mutation requests

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block requests containing alternative IP notations (hexadecimal, octal, mixed formats) in URL parameters
  • Monitor GraphQL endpoint access logs for anomalous saveAsset mutation patterns
  • Deploy network monitoring to alert on outbound connections to cloud metadata service IP ranges
  • Configure SIEM rules to correlate GraphQL mutation activity with subsequent internal network requests

Monitoring Recommendations

  • Enable detailed logging for all GraphQL mutations, particularly saveAsset operations
  • Monitor egress traffic from web application servers for connections to internal IP ranges and cloud metadata endpoints
  • Implement alerting for any successful requests that resolve to blocked IP address ranges
  • Review application logs regularly for patterns indicative of SSRF exploitation attempts

How to Mitigate CVE-2026-25494

Immediate Actions Required

  • Upgrade Craft CMS to version 4.16.18 or 5.8.22 immediately to address this vulnerability
  • Audit GraphQL endpoint access controls and ensure proper authentication is enforced
  • Review recent logs for evidence of exploitation attempts using alternative IP notations
  • Implement network-level controls to restrict outbound access from web servers to cloud metadata services

Patch Information

Craft CMS has released patched versions that address this vulnerability. Users should upgrade to version 4.16.18 for the 4.x branch or version 5.8.22 for the 5.x branch. The fix introduces proper IP address normalization that converts alternative notations to their decimal equivalents before blocklist validation. For detailed patch information, see the GitHub Security Advisory GHSA-m5r2-8p9x-hp5m and the GitHub Release Version 5.8.22.

Workarounds

  • Implement network-level egress filtering to block all outbound requests to cloud metadata service IP addresses (169.254.169.254)
  • Deploy a reverse proxy or WAF that normalizes IP addresses before forwarding requests to the application
  • Disable the GraphQL API entirely if it is not required for application functionality
  • Restrict GraphQL endpoint access to authenticated and authorized users only
bash
# Example iptables rule to block outbound access to cloud metadata services
iptables -A OUTPUT -d 169.254.169.254 -j DROP

# Example nginx configuration to block suspicious IP patterns in requests
location /api {
    if ($request_uri ~* "0x[a-fA-F0-9]+") {
        return 403;
    }
}

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechCraft

  • SeverityMEDIUM

  • CVSS Score6.9

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/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
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-918
  • Technical References
  • GitHub Commit Details

  • GitHub Release Version 5.8.22

  • GitHub Security Advisory GHSA-m5r2-8p9x-hp5m
  • Related CVEs
  • CVE-2026-31858: Craft CMS SQL Injection Vulnerability

  • CVE-2026-27126: Craft CMS Stored XSS Vulnerability

  • CVE-2026-25491: Craft CMS Stored XSS Vulnerability

  • CVE-2026-25495: Craft CMS SQL Injection 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