# CVE-2026-53663: React Router: `handleDocumentRequest` CSRF check covers `POST` only; PUT/PATCH/DELETE bypass

> React Router's CSRF protection fails for PUT, PATCH, and DELETE requests, allowing potential cross-site request forgery bypasses in Framework Mode.

- **Severity:** Low 3.1 (`CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N`)
- **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:** Yes
- **Published:** 22 Jun 2026
- **Updated:** 22 Jun 2026
- **Also known as:** CLSA-2026-1793120008, GHSA-84g9-w2xq-vcv6, MINI-fjrw-pf76-547w, ROOT-APP-NPM-CVE-2026-53663, openSUSE-SU-2026:11325-1

## What is CVE-2026-53663?

CVE-2026-53663 is a low-severity vulnerability in @remix-run react-router, published on 22 Jun 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

React Router is a router for React. From 7.12.0 until 7.15.1, certain CSRF checks in React Router v7 Framework Mode were insufficient and run on POST requests, but were bypassed on PUT/PATCH/DELETE requests. This is a low severity vulnerability because modern browser protections (CORS preflight, SameSite cookies) already block the cross-origin attack vectors that this missing CSRF check would otherwise gate. This vulnerability is fixed in 7.15.1.

Weakness: CWE-352 (Cross-Site Request Forgery)

## Which versions are affected by CVE-2026-53663?

4 open source packages ship an affected version, including @remix-run/server-runtime and react-router.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `@remix-run/server-runtime` | npm | From 2.17.3 | 2.17.5 |
| `@remix-run/server-runtime` | npm | From 2.17.3 | 2.17.5 |
| `react-router` | npm | From 7.12.0 | 7.15.1 |
| `react-router` | npm | From 7.12.0 | 7.15.1 |
| `agama-web-ui` | openSUSE:Tumbleweed | All versions | 23+0.f26ed5eab-49.1 |

## How do I fix CVE-2026-53663?

Upgrade @remix-run/server-runtime to 2.17.5 or later.

## Is CVE-2026-53663 being exploited?

There is no known exploitation of CVE-2026-53663 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-53663 and fix it if it is affected.

What it is: CVE-2026-53663 is a low-severity vulnerability in @remix-run react-router, published on 22 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2026-53663 in the wild and no public exploit code.

Affected packages and fixed versions:
- @remix-run/server-runtime (npm): affected from 2.17.3; fixed in 2.17.5
- @remix-run/server-runtime (npm): affected from 2.17.3; fixed in 2.17.5
- react-router (npm): affected from 7.12.0; fixed in 7.15.1
- react-router (npm): affected from 7.12.0; fixed in 7.15.1

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-53663/ (Markdown: https://insights.sbomify.com/CVE-2026-53663/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-53663
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-53663
- OSV: https://osv.dev/vulnerability/CVE-2026-53663

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-53663/
Summaries are generated and may contain mistakes; the official description above is the record.
