CVE-2026-40299
Last modified
CVE-2026-40299 is a medium-severity vulnerability rated 6.9/10 on the CVSS scale. 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. EPSS estimates a 0.34% chance of exploitation in the next 30 days.
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`.
Metrics
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
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-40299?
How severe is CVE-2026-40299?
How do I fix CVE-2026-40299?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-4029The Database Backup for WordPress plugin for WordPress is vu…7.5
- CVE-2026-40290OP-TEE is a Trusted Execution Environment (TEE) designed as …7.8
- CVE-2026-40291Chamilo LMS is an open-source learning management system. In…8.8
- CVE-2026-40293OpenFGA is an authorization/permission engine built for deve…6.5
- CVE-2026-40295Devise is an authentication solution for Rails based on Ward…6.1
- CVE-2026-40296PhpSpreadsheet is a pure PHP library for reading and writing…5.4
- CVE-2026-4030The Database Backup for WordPress plugin for WordPress is vu…8.1
- CVE-2026-40300Zulip is an open-source team collaboration tool. Prior to 12…6.5
- CVE-2026-40301DOMSanitizer is a DOM/SVG/MathML Sanitizer for PHP 7.3+. Pri…4.7
- CVE-2026-40302zrok is software for sharing web services, files, and networ…6.1
- CVE-2026-40303zrok is software for sharing web services, files, and networ…7.5
- CVE-2026-40304zrok is software for sharing web services, files, and networ…5.3
Are you affected by CVE-2026-40299?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
