Skip to main content
← All vulnerabilities
CVE-2026-40299GHSA-8F24-V5VV-GM5J

next-intl has an open redirect vulnerability

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.9.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

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`.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • amannn next-intl

    fixed in 4.9.1

  • next-intlnpm

    fixed in 4.9.1

References 4

GitHub · amannn/next-intl