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.
Published: 2026-10-15
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Authorization Bypass via Cache Interception
Action: Apply Patch
AI Analysis

Impact

This vulnerability allows an unauthenticated attacker to bypass authorization middleware by sending a percent‑encoded pathname that does not match the middleware but resolves to the cache key of a protected route. The attacker can retrieve cached content intended for authenticated users, leading to unauthorized disclosure of confidential data. Malformed encodings can also be partially decoded, further enabling the bypass.

Affected Systems

OpenNext Cloudflare adapter for Cloudflare, identified as opennextjs:opennextjs-cloudflare. Versions from 0.3.0 through 1.20.2 are affected. The fix is included in version 1.20.2 and later.

Risk and Exploitability

The CVSS score of 7.5 indicates high severity. The EPSS score of less than 1% suggests the likelihood of widespread exploitation is currently low, and it is not listed in CISA’s KEV catalog. A remote attacker can trigger the flaw by crafting an encoded URL that satisfies the cache lookup but fails middleware checks, enabling unauthorized retrieval of cached protected content. The vulnerability does not require elevated privileges and can be exploited over standard HTTP(S) traffic to the Cloudflare‑proxied application.

Generated by OpenCVE AI on October 16, 2026 at 20:08 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the OpenNext Cloudflare package to version 1.20.2 or later.
  • If an immediate upgrade is not possible, disable enableCacheInterception to remove the vulnerable cache lookup logic.
  • Implement a normalization step in middleware that consistently decodes percent‑encoded paths before applying authorization checks, ensuring that the cache key and middleware match.

Generated by OpenCVE AI on October 16, 2026 at 20:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-2vc4-c4r6-p6v6 OpenNext Cloudflare: Cache interception can bypass middleware protection for encoded paths
History

Thu, 15 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 15 Oct 2026 17:15:00 +0000

Type Values Removed Values Added
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.
Title OpenNext Cloudflare: Cache interception can bypass middleware protection for encoded paths
Weaknesses CWE-177
CWE-180
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-15T17:50:33.255Z

Reserved: 2026-09-25T20:08:33.084Z

Link: CVE-2026-100409

cve-icon Vulnrichment

Updated: 2026-10-15T17:50:28.225Z

cve-icon NVD

Status : Deferred

Published: 2026-10-15T17:17:07.923

Modified: 2026-10-16T20:04:29.760

Link: CVE-2026-100409

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-16T20:15:13Z

Weaknesses
  • CWE-177

    Improper Handling of URL Encoding (Hex Encoding)

  • CWE-180

    Incorrect Behavior Order: Validate Before Canonicalize