CVE-2026-39371
JSON

8.1high

RedwoodSDK has a CSRF vulnerability in server function dispatch via GET requests

Severity
8.1high CVSS:3.1 by GitHub_M
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-x8rx-789c-2pxq

Description

RedwoodSDK is a server-first React framework. From 1.0.0-beta.50 to 1.0.5, erver functions exported from "use server" files could be invoked via GET requests, bypassing their intended HTTP method. 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 affected all server functions -- both serverAction() handlers and bare exported functions in "use server" files. This vulnerability is fixed in 1.0.6.

Affected

Product or packageVersionsReported by
redwoodjs sdk>= 1.0.0-beta.50, < 1.0.6CVE List
rwsdk (npm)from 1.0.0-beta.50 before 1.0.6GitHub Advisory Database
redwoodjs redwoodsdkfrom 1.0.1 before 1.0.6, 1.0.0NVD

All scores

GitHub_M8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
GitHub8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

Classification

CWE-352

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

RedwoodSDK is a server-first React framework. From 1.0.0-beta.50 to 1.0.5, erver functions exported from "use server" files could be invoked via GET requests, bypassing their intended HTTP method. 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 affected all server functions -- both serverAction() handlers and bare exported functions in "use server" files. This vulnerability is fixed in 1.0.6.

GitHub Advisory Database

Summary

Server functions exported from "use server" files could be invoked via GET requests, bypassing their intended HTTP method. 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 affected all server functions -- both serverAction() handlers and bare exported functions in "use server" files.

Impact

An attacker could construct a URL containing a known action ID and JSON-encoded arguments. When a victim with an active session visited or was redirected to this URL, the function executed with the victim's credentials. This affected any server function that performs state-changing operations (writes, deletes, mutations) in applications using cookie-based authentication.

Remediation

Update to rwsdk 1.0.6. No application code changes are required.

The fix enforces the declared HTTP method at dispatch time. GET requests to server functions that require POST now return 405 Method Not Allowed.

NVD (es)

RedwoodSDK es un framework React con prioridad en el servidor. Desde la versión 1.0.0-beta.50 hasta la 1.0.5, las funciones del servidor exportadas desde archivos 'use server' podían ser invocadas mediante solicitudes GET, eludiendo su método HTTP previsto. En aplicaciones autenticadas con cookies, esto permitía que las navegaciones GET entre sitios activaran funciones que cambian el estado, porque los navegadores envían cookies SameSite=Lax en solicitudes GET de nivel superior. Esto afectó a todas las funciones del servidor -- tanto a los manejadores serverAction() como a las funciones exportadas directamente en archivos 'use server'. Esta vulnerabilidad está corregida en la versión 1.0.6.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-39371 changed 2026-04-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-x8rx-789c-2pxq changed 2026-04-08CC-BY-4.0
NVDCVE-2026-39371 changed 2026-07-24Public domain