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

CVE-2026-39371: RedwoodSDK Server Functions CSRF Vulnerability

CVE-2026-39371 is a CSRF flaw in RedwoodSDK that allows server functions to be invoked via GET requests, enabling cross-site attacks. This article covers technical details, affected versions, impact, and mitigation.

Published: April 10, 2026

CVE-2026-39371 Overview

CVE-2026-39371 is a Cross-Site Request Forgery (CSRF) vulnerability in RedwoodSDK, a server-first React framework. Server functions exported from "use server" files could be invoked via GET requests, bypassing their intended HTTP method restrictions. In cookie-authenticated applications, this allowed cross-site GET navigations to trigger state-changing functions, because browsers send SameSite=Lax cookies on top-level GET requests. This vulnerability affected all server functions, including both serverAction() handlers and bare exported functions in "use server" files.

Critical Impact

State-changing server functions can be triggered by external sites through simple GET requests, enabling unauthorized actions in cookie-authenticated applications without user consent.

Affected Products

  • RedwoodSDK versions 1.0.0-beta.50 through 1.0.5

Discovery Timeline

  • 2026-04-07 - CVE CVE-2026-39371 published to NVD
  • 2026-04-08 - Last updated in NVD database

Technical Details for CVE-2026-39371

Vulnerability Analysis

This vulnerability stems from improper HTTP method validation in RedwoodSDK's server function handling mechanism. The framework's "use server" directive is designed to mark functions that should only execute on the server side, typically in response to POST requests from form submissions or explicit client-side invocations. However, the affected versions failed to enforce HTTP method restrictions, allowing these server functions to be triggered via GET requests.

The security implications are significant for applications using cookie-based authentication with SameSite=Lax cookies. Modern browsers automatically include SameSite=Lax cookies on top-level GET navigations, meaning an attacker could craft a malicious link or embed an image tag pointing to a vulnerable endpoint. When a victim clicks the link or loads the page containing the malicious element, their browser would automatically send the authentication cookies, and the server function would execute with the victim's privileges.

Root Cause

The root cause is missing HTTP method validation in the request handler for "use server" exported functions. The framework accepted and processed requests regardless of the HTTP method used, when it should have restricted server actions to POST requests only. This design flaw violated the principle that state-changing operations should use appropriate HTTP methods that are not subject to cross-origin inclusion.

Attack Vector

An attacker can exploit this vulnerability by crafting a URL that invokes a vulnerable server function and tricking an authenticated user into visiting the malicious link. This can be achieved through phishing emails, malicious websites, or by embedding the URL in an image tag on a third-party site. Since browsers send SameSite=Lax cookies on top-level GET requests, the victim's authenticated session is used to execute the server function without their knowledge or consent.

The attack requires no special privileges and can be executed remotely over the network, though it does require user interaction (clicking a link or visiting a malicious page). For a detailed technical analysis, see the GitHub Security Advisory.

Detection Methods for CVE-2026-39371

Indicators of Compromise

  • Unusual GET requests to server function endpoints that should only receive POST requests
  • Web server logs showing state-changing operations triggered via GET method
  • Unexpected modifications to user data or application state without corresponding POST submissions
  • Referrer headers from external domains on sensitive server function endpoints

Detection Strategies

  • Review web server access logs for GET requests to endpoints handling "use server" functions
  • Implement logging to track HTTP methods used for server action invocations
  • Monitor for patterns of requests originating from external referrers to sensitive endpoints
  • Audit application code to identify all "use server" exports and verify version compatibility

Monitoring Recommendations

  • Enable detailed HTTP method logging on application servers
  • Set up alerts for GET requests to known server function endpoints
  • Monitor for unusual patterns of authenticated requests from unexpected external sources
  • Implement Content Security Policy (CSP) reporting to detect potential CSRF attempts

How to Mitigate CVE-2026-39371

Immediate Actions Required

  • Upgrade RedwoodSDK to version 1.0.6 or later immediately
  • Audit all "use server" files to identify potentially affected server functions
  • Review application logs for any suspicious GET requests to server function endpoints
  • Consider implementing additional CSRF tokens as a defense-in-depth measure

Patch Information

The vulnerability is fixed in RedwoodSDK version 1.0.6. This patch enforces proper HTTP method validation, ensuring that server functions exported from "use server" files only respond to POST requests. Organizations should update their package.json dependencies and redeploy their applications. For additional details, refer to the GitHub Security Advisory.

Workarounds

  • If immediate upgrade is not possible, implement middleware to reject GET requests to server function endpoints
  • Add explicit HTTP method checks within critical server functions as a temporary measure
  • Consider using SameSite=Strict cookies for sensitive authentication tokens, though this may impact user experience
  • Implement CSRF tokens for all state-changing operations as an additional layer of protection
bash
# Update RedwoodSDK to patched version
npm update @redwoodjs/sdk@1.0.6

# Or explicitly set the version in package.json and reinstall
npm install @redwoodjs/sdk@1.0.6

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

  • Vulnerability Details
  • TypeCSRF

  • Vendor/TechRedwoodsdk

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-352
  • Technical References
  • GitHub Security Advisory
  • Latest CVEs
  • CVE-2026-43328: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-43329: Linux Kernel Netfilter DoS Vulnerability

  • CVE-2026-43330: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-43331: Linux Kernel DOS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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