CVE-2026-39371 RedwoodSDK has a CSRF vulnerability in server function dispatch via GET requests
Attackers can trigger state-changing server functions via GET requests in cookie-authenticated RedwoodSDK applications, leading to unauthorized data modification.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-39371?
CVE-2026-39371 is a high-severity vulnerability in redwoodjs sdk, published on 7 Apr 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-352
Which versions are affected by CVE-2026-39371?
2 open source packages ship an affected version, including rwsdk. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
rwsdk npm | From 1.0.0-beta.50 | 1.0.6 |
rwsdk npm | From 1.0.0-beta.50 | 1.0.6 |
Products include Redwoodjs Redwoodsdk.
How do I fix CVE-2026-39371?
Upgrade rwsdk to 1.0.6 or later.
Is CVE-2026-39371 being exploited?
There is no known exploitation of CVE-2026-39371 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in redwoodjs sdk
Sources
Also known as GHSA-x8rx-789c-2pxq.