Skip to content
PatchBriefing

Search PatchBriefing

Type at least two characters. Results update as you type.

Search CVEs, products, packages and article titles.

Nothing found. Identifiers such as CVE and GHSA can be searched in both languages.

Subscribe

High · 7.5 Node.js & npm CVE-2026-100409 GHSA-2vc4-c4r6-p6v6

OpenNext Cloudflare Adapter: Encoded-Path Cache Bypass Can Expose Protected Content (CVE-2026-100409)

A flaw in @opennextjs/cloudflare lets unauthenticated attackers use percent-encoded URLs to retrieve cached content from routes that should be protected by middleware-based access control. Fixed in version 1.20.2.

By PatchBriefing ·

Produced automatically from official sources with the help of AI. How we work →

Synthesized by AI from 2 sources · updated 1 week ago

AI summary

A vulnerability has been disclosed in @opennextjs/cloudflare, an adapter that lets Next.js applications run on Cloudflare. The issue, tracked as CVE-2026-100409 (GHSA-2vc4-c4r6-p6v6), involves inconsistent handling of URL encoding between middleware-based authorization checks and the cache lookup logic. This briefing summarizes what is known, who is affected, and what action to take.

What happened

OpenNext Cloudflare is an open-source Next.js adapter for the Cloudflare platform. In deployments where the enableCacheInterception feature is turned on and the application relies on middleware to enforce access control, the adapter processes percent-encoded pathnames inconsistently between the middleware matching step and the cache lookup step. An unauthenticated attacker can craft a percent-encoded pathname that does not match the authorization middleware's pattern, but which decodes to the cache key of a protected route. As a result, cached content from that protected route can be returned without the request ever passing through the authorization check. The advisory also notes that malformed encodings can be partially decoded, allowing the cache lookup to proceed using a pathname that the middleware did not evaluate in the same way.

Technical cause

The root cause is classified as Improper Handling of URL Encoding (CWE-177, Hex Encoding). The middleware matcher and the cache key lookup do not decode or normalize percent-encoded pathnames in the same way. This discrepancy allows a pathname that appears unprotected to the middleware to resolve to the same cache entry as a protected route, effectively bypassing the access control layer at the caching stage rather than at the application logic itself.

Why it matters

Applications that rely on middleware to gate access to sensitive pages or data, and that also enable cache interception for performance, may unintentionally serve cached protected content to anyone who knows how to construct the right encoded URL. No authentication or user interaction is required to exploit this, and the attack can be carried out remotely over the network.

Who is affected

Any project using the @opennextjs/cloudflare package with the enableCacheInterception feature enabled and that depends on middleware for access control to one or more routes is potentially affected, provided a protected route has a matching cached entry.

Affected versions

@opennextjs/cloudflare versions from 0.3.0 up to, but not including, 1.20.2 are affected.

Fixes and mitigation

The issue is fixed in @opennextjs/cloudflare version 1.20.2. No alternative mitigation or workaround is described in the available sources; applying the fixed version is the documented remediation.

Recommended action

Upgrade @opennextjs/cloudflare to version 1.20.2 or later. Teams that have enableCacheInterception enabled together with middleware-based access control should prioritize this update and review whether any protected routes have cached entries that may have been exposed under the vulnerable behavior.

PatchBriefing score

7.5 / 10 · High

Official CVSS: 7.5

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

EPSS 0.0068 (47 percentile)

Why this score

The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.

Affected versions

@opennextjs/cloudflare >= 0.3.0, < 1.20.2
vulnerable
≥ 1.20.2
patched

Reported fixes

The issue is fixed in @opennextjs/cloudflare version 1.20.2. No alternative mitigation or workaround is described in the available sources; applying the fixed version is the documented remediation.

How this was built

2 source records were collected, matched and used to prepare the report above.

  • NVD (NIST) database
  • GitHub Advisory Database database
Unified report
OpenNext Cloudflare Adapter: Encoded-Path Cache Bypass Can Expose Protected Content (CVE-2026-100409)
1 article · 2 sources cited
Revision history
  1. Published
  2. Generated
The Morning Brief

Relevant changes for the stacks you follow.

Choose your stacks, topics and optional WordPress plugins. At 07:00 CET, matching advisories and releases from the reporting period are grouped into one email.

✓ Choose stacks and topics✓ Change preferences anytime✓ One grouped email