cve.bz

CVE-2026-40299 amannn next-intl: Open Redirect

6.9 mediumEPSS 0.3%Fix available

Medium (6.9) in amannn next-intl. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in next-intl 4.9.1.

On this page
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`.

Severity

CVSS 4.0

6.9 medium
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
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 26th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-04-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-601 URL Redirection to Untrusted Site (Open Redirect)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • next-intl (npm): fixed in 4.9.1

Ask an AI about this CVE

Show the promptExplain CVE-2026-40299 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-40299?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-40299?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-40299 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
amannn next-intl< 4.9.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8f24-v5vv-gm5jnpmnext-intl<4.9.14.9.1

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
streams for Apache Kafka 2com.github.streamshub-consoleNot affected
streams for Apache Kafka 2next-intlOut of support scope
streams for Apache Kafka 3com.github.streamshub-consoleNot affected
streams for Apache Kafka 3next-intlFix deferred
streams for Apache Kafka 3next-intl-swc-plugin-extractorFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-40299.

Attack patterns (CAPEC)

  • CAPEC-178 Cross-Site Flashing Likelihood: Medium · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON