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-41130

CVE-2026-41130: Craft CMS SSRF Vulnerability

CVE-2026-41130 is a Server-Side Request Forgery flaw in Craft CMS that enables attackers to make arbitrary HTTP requests via Host header manipulation. This article covers technical details, affected versions, and mitigation.

Published: April 23, 2026

CVE-2026-41130 Overview

CVE-2026-41130 is a Server-Side Request Forgery (SSRF) vulnerability affecting Craft CMS, a popular content management system. The vulnerability exists in the resource-js endpoint, which allows unauthenticated requests to proxy remote JavaScript resources. When trustedHosts is not explicitly restricted (the default configuration), the application trusts client-supplied Host headers, enabling attackers to control the derived baseUrl used in prefix validation within the actionResourceJs() function.

Critical Impact

Attackers can manipulate Host headers to bypass URL validation and force the Craft CMS server to make arbitrary HTTP requests to internal or external resources, potentially exposing sensitive internal services, cloud metadata endpoints, or enabling further network reconnaissance.

Affected Products

  • Craft CMS 4.x through version 4.17.8
  • Craft CMS 5.x through version 5.9.14

Discovery Timeline

  • 2026-04-22 - CVE-2026-41130 published to NVD
  • 2026-04-22 - Last updated in NVD database

Technical Details for CVE-2026-41130

Vulnerability Analysis

This SSRF vulnerability (CWE-918) stems from insufficient validation of the Host header in Craft CMS's default configuration. The resource-js endpoint is designed to proxy JavaScript resources, but the prefix validation logic in actionResourceJs() relies on the baseUrl value, which is derived from the client-controllable Host header when trustedHosts is not explicitly configured.

An attacker can craft malicious HTTP requests with a manipulated Host header pointing to their controlled domain. When the server processes these requests, it uses the attacker-supplied host to construct the baseUrl, effectively bypassing the intended URL prefix validation. This allows the attacker to redirect the server's outbound HTTP requests to arbitrary destinations, including internal network resources that should not be accessible from the public internet.

Root Cause

The root cause lies in the trust relationship between the application and the HTTP Host header. In the default Craft CMS configuration, trustedHosts is not restricted, causing the application to accept and use any Host header value provided by clients. The actionResourceJs() function then uses this untrusted input to derive the baseUrl for prefix validation, creating a path for attackers to bypass security controls.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker sends crafted HTTP requests to the resource-js endpoint with a malicious Host header. The server then issues HTTP requests to attacker-specified destinations, potentially accessing internal services, cloud metadata endpoints (such as 169.254.169.254), or other sensitive resources within the network perimeter.

The security patch introduces additional validation using the StringHelper class and implements a new database query mechanism to verify URL legitimacy:

php
use craft\helpers\Html;
use craft\helpers\Json;
use craft\helpers\Session;
+use craft\helpers\StringHelper;
use craft\helpers\Update as UpdateHelper;
use craft\helpers\UrlHelper;
use craft\models\Update;

Source: GitHub Commit ebe7e85

Additional helper classes were added to strengthen validation:

php
use craft\db\Connection;
use craft\db\mysql\Schema as MysqlSchema;
use craft\db\pgsql\Schema as PgsqlSchema;
+use craft\db\Query;
+use craft\db\Table;
use craft\elements\User;
use craft\enums\LicenseKeyStatus;
use craft\errors\InvalidPluginException;

Source: GitHub Commit ebe7e85

Detection Methods for CVE-2026-41130

Indicators of Compromise

  • Unusual outbound HTTP requests originating from the Craft CMS web server to internal IP ranges or cloud metadata endpoints
  • Access logs showing requests to /resource-js with anomalous or unexpected Host header values
  • Network traffic from the web server to internal services that should not be accessible

Detection Strategies

  • Monitor web server access logs for requests containing unusual Host headers that do not match expected domain names
  • Implement network-level monitoring to detect outbound connections from the web server to internal IP ranges (10.x.x.x, 172.16.x.x, 192.168.x.x) or cloud metadata IPs (169.254.169.254)
  • Configure WAF rules to detect and block requests with suspicious Host header manipulation patterns

Monitoring Recommendations

  • Enable verbose logging on the Craft CMS application to capture all incoming request headers
  • Set up alerts for outbound network connections from the web server tier to sensitive internal resources
  • Review web application firewall logs for blocked requests targeting the resource-js endpoint

How to Mitigate CVE-2026-41130

Immediate Actions Required

  • Upgrade Craft CMS 4.x installations to version 4.17.9 or later
  • Upgrade Craft CMS 5.x installations to version 5.9.15 or later
  • Review and explicitly configure the trustedHosts setting in Craft CMS configuration

Patch Information

The vulnerability has been addressed in Craft CMS versions 4.17.9 and 5.9.15. The patch introduces additional validation using StringHelper and database query mechanisms to properly verify URL legitimacy regardless of the Host header value. For detailed patch information, refer to the GitHub Security Advisory GHSA-95wr-3f2v-v2wh and the security commit.

Workarounds

  • Explicitly configure trustedHosts in your Craft CMS configuration to only accept legitimate domain names
  • Implement a reverse proxy or WAF to validate and normalize Host headers before they reach the application
  • Restrict outbound network access from the web server to limit SSRF impact
bash
# Example: Configure trustedHosts in config/general.php
# Add your legitimate domains to prevent Host header manipulation
'trustedHosts' => ['example.com', 'www.example.com'],

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

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechCraft Cms

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/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 Update

  • GitHub Security Advisory GHSA-95wr-3f2v-v2wh
  • Related CVEs
  • CVE-2026-41129: Craft CMS SSRF Vulnerability

  • CVE-2026-27129: Craft CMS SSRF Bypass Vulnerability

  • CVE-2026-41128: Craft CMS Auth Bypass Vulnerability

  • CVE-2026-33162: Craft CMS Auth Bypass 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