Intel

AIKIDO-2026-263108

@opennextjs/cloudflare is vulnerable to Improper Handling of URL Encoding

CVE-2026-100409Published Jul 23, 2026
July 23, 2026

75

CVE Score

High

Improper Handling of URL Encoding

Are you affected? Scan for Free

TL;DR

When cache interception is enabled, @opennextjs/cloudflare matches authorization middleware against the encoded request path but decodes the path before selecting a cache entry. A remote unauthenticated request using a percent-encoded path can skip the middleware matcher while still resolving to the cache key of a protected route, returning the cached response. Malformed paths were also partially decoded, letting cache lookup continue on an inconsistent path. The fix aligns encoded-path handling between middleware matching and cache lookup and rejects malformed paths instead of partially decoding them.

How do I fix this?

Upgrade the @opennextjs/cloudflare library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application enables cache interception and relies on middleware for access control.

Versions

0.3.0 - 1.20.1

Fixed in 1.20.2

Background info

@opennextjs/cloudflare is vulnerable to Improper Handling of URL Encoding in versions 0.3.0 - 1.20.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea