CVE-2026-40299 next-intl has an open redirect vulnerability
MediumCVSS 6.9
EPSS 0.32%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| amannn next-intl | = < 4.9.1 | No fix listed |
| npm next-intl(npm) | < 4.9.1 | 4.9.1 |
| redhat/next-intl(Red Hat:amq_streams:2) | All versions | No fix listed |
| redhat/next-intl(Red Hat:amq_streams:3) | All versions | No fix listed |
| redhat/next-intl-swc-plugin-extractor(Red Hat:amq_streams:3) | All versions | No fix listed |
References
- https://github.com/amannn/next-intl/security/advisories/GHSA-8f24-v5vv-gm5j vendor-advisory
- https://github.com/amannn/next-intl/pull/2304 patch
- https://github.com/amannn/next-intl/commit/1c80b668aa6d853f470319eec10a3f61e78a70e6 patch
- https://github.com/amannn/next-intl/releases/tag/v4.9.1
- nvd.nist.gov third-party-advisory
- github.com
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2459333 issue-tracking
- www.cve.org