7.5High

CVE-2026-100409OpenNext Cloudflare: Cache interception can bypass middleware protection for encoded paths

opennextjs opennextjs-cloudflare Published: (27 days ago)

Description

OpenNext Cloudflare is an open Next.js adapter for Cloudflare. From 0.3.0 until 1.20.2, applications that enable enableCacheInterception, rely on middleware for access control, and have a matching cached protected route process encoded pathnames inconsistently between middleware matching and cache lookup. An unauthenticated attacker can use a percent-encoded pathname that does not match authorization middleware but decodes to the cache key of a protected route, causing cached content to be returned without authorization. Malformed encodings can also be partially decoded, allowing cache lookup to continue with a pathname that middleware did not evaluate consistently. This issue is fixed in version 1.20.2.

Weakness (CWE): CWE-177CWE-180

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
opennextjs opennextjs-cloudflare >= 0.3.0, < 1.20.2

References and patches