CVE-2025-55152 oak: ReDoS in x-forwarded-proto and x-forwarded-for headers

Medium 5.3 Published Updated

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.

Weakness: CWE-400, CWE-1333

Which versions are affected by CVE-2025-55152?

2 open source packages ship an affected version, including @oakserver/oak.

PackageAffectedFixed in
@oakserver/oak npmAll versions to 14.1.0None
@oakserver/oak npmAll versions to 14.1.0None

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.

Is CVE-2025-55152 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free