CVE-2026-40299
MEDIUM 6.9CVSS 4.0next-intl has an open redirect vulnerability
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.
- Published
- 17 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-601
- Also known as
- GHSA-8f24-v5vv-gm5j
- Sources
- NVDJSONOSV GHSA-8f24-v5vv-gm5jJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 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 |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | next-intl | < 4.9.1 | 4.9.1 |
References
- https://github.com/amannn/next-intl/commit/1c80b668aa6d853f470319eec10a3f61e78a70e6 · WEB
- https://github.com/amannn/next-intl/pull/2304 · WEB
- https://github.com/amannn/next-intl/releases/tag/v4.9.1 · WEB
- https://github.com/amannn/next-intl/security/advisories/GHSA-8f24-v5vv-gm5j · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-40299 · ADVISORY
- https://github.com/amannn/next-intl · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 17 Apr 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 10 Apr 2026)