CVE-2026-100409 OpenNext Cloudflare: Cache interception can bypass middleware protection for encoded paths
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| opennextjs @opennextjs/cloudflare(npm) | >= 0.3.0, < 1.20.2 | 1.20.2 | Fixed |
| opennextjs-cloudflare | = >= 0.3.0, < 1.20.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| opennextjs-cloudflare | = >= 0.3.0, < 1.20.2 | No fix listed |
| opennextjs @opennextjs/cloudflare(npm) | >= 0.3.0, < 1.20.2 | 1.20.2 |
References
- https://github.com/opennextjs/opennextjs-cloudflare/security/advisories/GHSA-2vc4-c4r6-p6v6 vendor-advisory
- https://github.com/opennextjs/opennextjs-aws/pull/1199 patch
- https://github.com/opennextjs/opennextjs-aws/pull/1200 patch
- https://github.com/opennextjs/opennextjs-cloudflare/commit/38ea40b669be272ddf09a7df7e70c69d0b57404b patch
- https://github.com/opennextjs/opennextjs-cloudflare/releases/tag/@opennextjs/cloudflare@1.20.2
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product