Skip to main content

RedwoodSDK CVE-2026-42190

| EUVDEUVD-2026-28823 MEDIUM
Cross-Site Request Forgery (CSRF) (CWE-352)
2026-05-08 GitHub_M
5.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker registers sibling subdomain or compromises existing subdomain
  2. Delivery
    Crafts HTML form or fetch request to target app server action
  3. Exploit
    Victim visits attacker subdomain while authenticated to app
  4. Execution
    Browser attaches SameSite=Lax session cookie to cross-origin request
  5. Persist
    Server processes action without validating Origin header
  6. Impact
    State-changing operation executes with victim's privileges.

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the following specific conditions: (1) the victim must have an active authenticated session with the target application via cookie-based authentication; (2) the attacker must control or compromise an origin that the browser treats as same-site with the application (sibling subdomain on the same registrable domain, same localhost port in development, or platform-suffix-domain exception); (3) the victim must be induced to visit the attacker-controlled origin or have the attacker-controlled origin's content loaded in the victim's browser context (e.g., iframe, image, form submission); (4) the target application must use server actions (serverAction() or RSC action protocol) for state-changing operations-serverQuery() is not vulnerable. Non-default configurations or deployment patterns significantly affect real-world exploitability: applications deployed on platform-suffix domains (*.workers.dev, *.pages.dev) are protected because sibling subdomains are treated as cross-site; applications deployed on custom domains face increased risk if they host user content or legacy services on sibling subdomains; development environments using localhost face same-site CSRF risk from other processes on different ports. No special HTTP configuration, feature flag, or optional functionality is required for the vulnerability to manifest-it affects all server action deployments using cookie authentication by default.

Impact

CVSS vector (AV:N/AC:H/PR:N/UI:R) and score (5.3) present a moderate-to-low baseline risk, but actual exploitability depends heavily on deployment context and application design. Attack vector is network (AV:N) and requires no authentication (PR:N), but attack complexity is high (AC:H) and user interaction is mandatory (UI:R), indicating the attacker must trick a victim into following a link or visiting malicious content. The integrity impact (I:H) reflects the ability to perform unauthorized state changes, but confidentiality is not affected (C:N) because CORS mode prevents response reading. Critically, the real-world risk is highly dependent on application deployment: custom-domain deployments (app.example.com) face subdomain takeover and sibling-XSS vectors; platform-suffix domains (*.workers.dev, *.pages.dev) are protected by Public Suffix List rules that treat subdomains as cross-site; local development environments face same-port risk from other localhost processes. The advisory explicitly notes that unrelated-origin attacks (e.g., evil.com to app.com) are NOT affected due to SameSite=Lax cookie behavior. No public exploit code, CISA KEV listing, or active exploitation reporting is provided, suggesting this is a design vulnerability discovered through security review rather than active abuse. The AC:H rating likely reflects that successful exploitation requires either existing same-site code execution (XSS) or infrastructure compromise (subdomain takeover), both of which are themselves significant prerequisites. For applications deployed on platform-suffix domains with strong subdomain isolation, practical risk is low; for custom-domain deployments with permissive subdomain policies or legacy content hosting, risk is elevated.

Exploit ScenarioDerived

An attacker registering or taking over a subdomain (e.g., stale.example.com pointing to attacker infrastructure) creates a malicious HTML page that embeds an invisible form or fetch request targeting app.example.com/actions/transferFunds. When a victim visits the attacker's subdomain while logged into the application, the browser treats both subdomains as same-site and attaches the session cookie. The server action executes without origin validation, transferring funds or performing other state changes visible only to the attacker's server logs or via application side effects. Alternatively, if an XSS vulnerability exists on a sibling application (blog.example.com), the attacker injects JavaScript that directly calls the target app's server actions.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 08, 2026

Same-site Cross-Site Request Forgery (CSRF) in RedwoodSDK server actions allows attackers controlling same-site origins to invoke arbitrary server actions with victim session cookies in versions 1.0.0-beta.50 through 1.2.2. The vulnerability stems from missing origin validation despite HTTP method enforcement, enabling attackers to trigger state-changing operations through subdomain takeover, sibling-application XSS, or local development vectors. Vendor-released patch version 1.2.3 enforces Origin/Host matching validation. CVSS 5.3 reflects high integrity impact (UI:R) but constrained attack complexity (AC:H) and no information disclosure.

RemediationAI

Upgrade RedwoodSDK to version 1.2.3 or later; no application code changes are required for applications that invoke server actions only from their own origin. The patch enforces Origin/Host header matching for non-GET action requests and rejects mismatched origins with HTTP 403. Applications that legitimately invoke server actions from different origins must configure the new allowedOrigins option on defineApp() to whitelist those origins explicitly. As a temporary mitigation prior to patching, restrict server action invocation to same-origin requests only via deployment configuration, implement explicit CSRF token validation independent of origin checks, or disable cookie-based authentication in favor of token-based methods (Bearer tokens) that are not automatically attached to cross-site requests. Each mitigation has trade-offs: deployment-level blocking may affect legitimate multi-origin architectures; manual CSRF tokens require code changes; token-based auth requires authentication refactoring. Reference: https://github.com/redwoodjs/sdk/security/advisories/GHSA-m2m6-cff5-3w7c.

Affected VersionsENISA

SDK 1.0.0-beta.50, < 1.2.3

Affected Packages

npm rwsdk fix: 1.2.3
euvd sdk_1_0_0_beta_50 fix: 1.2.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

RedwoodSDK is a server-first React framework that implements server actions as a mechanism for invoking server-side functions from client code. The vulnerability exists in the server action execution pipeline, which validates HTTP methods but lacks cross-origin request validation. The framework relies on SameSite=Lax session cookies for authentication, which the browser attaches to same-site requests regardless of origin. CWE-352 (Cross-Site Request Forgery) captures the root cause: the application fails to validate that requests originate from the legitimate application origin before performing sensitive state-changing operations. This is particularly critical because modern SameSite cookie policies (Lax/Strict) depend on browser Same-Site definition, which differs from Same-Origin: requests from app.example.com to attacker.example.com are treated as same-site, allowing cookie attachment despite origin mismatch.

Know when Sdk gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 5.3 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

DescriptionCVE.org

RedwoodSDK is a server-first React framework. From version 1.0.0-beta.50 to before version 1.2.3, server actions in rwsdk apply HTTP method enforcement but no origin validation. A request originating from a different origin that the browser treats as same-site can invoke a server action with the victim's session cookie attached. This issue has been patched in version 1.2.3.

Threat Intelligence Overview

EPSS Score
0.0%
Top 97% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy