CVE-2025-55152 oak: ReDoS in x-forwarded-proto and x-forwarded-for headers
Attackers can cause denial of service in oak servers by sending specially crafted x-forwarded-proto or x-forwarded-for headers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-55152?
CVE-2025-55152 is a medium-severity denial of service vulnerability in oakserver oak, published on 9 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
oak is a middleware framework for Deno's native HTTP server, Deno Deploy, Node.js 16.5 and later, Cloudflare Workers and Bun. In versions 17.1.5 and below, it's possible to significantly slow down an oak server with specially crafted values of the x-forwarded-proto or x-forwarded-for headers.
Which versions are affected by CVE-2025-55152?
2 open source packages ship an affected version, including @oakserver/oak.
| Package | Affected | Fixed in |
|---|---|---|
@oakserver/oak npm | All versions to 14.1.0 | None |
@oakserver/oak npm | All versions to 14.1.0 | None |
How do I fix CVE-2025-55152?
No fix has been published for CVE-2025-55152 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2025-55152 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-55152 exists.
Sources
Also known as GHSA-r3v7-pc4g-7xp9.