CVE-2026-40299 json
next-intl has an open redirect vulnerability
published 6mo ago modified 14d ago also GHSA-8f24-v5vv-gm5j , EUVD-2026-23543
- cvss
- 6.9
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 27%
- public exploits
- 0
- none known
Summary
next-intl provides internationalization for Next.js. Applications using the `next-intl` middleware prior to version 4.9.1with `localePrefix: 'as-needed'` could construct URLs where path handling and the WHATWG URL parser resolved a relative redirect target to another host (e.g. scheme-relative `//` or control characters stripped by the URL parser), so the middleware could redirect the browser off-site while the user still started from a trusted app URL. The problem has been patchedin `next-intl@4.9.1`.
Patch / fix
- npm next-intl 4.9.1
- github.com/amannn/next-intl@1c80b66 commit
- github.com/amannn/next-intl#2304 pull request
- github.com/amannn/next-intl/releases/tag/v4.9.1 release
Is CVE-2026-40299 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-40299 updated cvss 4.3
next-intl: next-intl: Open Redirect vulnerability allows off-site redirection via crafted URLs
-
Red Hat streams for Apache Kafka 2 next-intlaffected: no fix planned “Out of support scope”
-
Red Hat streams for Apache Kafka 3 next-intl, next-intl-swc-plugin-extractoraffected: no fix available “Fix deferred”
-
Red Hat streams for Apache Kafka 2 com.github.streamshub-console Red Hat streams for Apache Kafka 3 com.github.streamshub-consolenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 6mo ago
Exploit prediction
0.34% chance of exploitation in the next 30 days, higher than 27% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.9 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
| CNA | 4.0 | 6.9 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | next-intl | <4.9.1 |
4.9.1 |
Affected products
- amannn next-intl
Classification
- Weakness
-
- CWE-601 URL Redirection to Untrusted Site
References
-
github.com
/amannn/next-intl/pull/2304
web
-
github.com
/amannn/next-intl/commit/1c80b668aa6d853f470319eec10a3f61e78a70e6
web
-
github.com
/amannn/next-intl/security/advisories/GHSA-8f24-v5vv-gm5j
web
-
github.com
/amannn/next-intl/releases/tag/v4.9.1
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-40299
advisory
-
github.com
/amannn/next-intl
package
Sources
- CVE List CVE-2026-40299
- GitHub Advisory GHSA-8f24-v5vv-gm5j
- NVD CVE-2026-40299
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.