{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-40299","id":"CVE-2026-40299","title":"next-intl has an open redirect vulnerability","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-","descriptionLong":"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":"2026-04-17T20:49:05.642Z","updated":"2026-10-28T02:31:02.818394094Z","reserved":"2026-04-10T20:22:44.035Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":6.9,"vector":"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","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":6.9,"vector":"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","rating":"medium","source":"GitHub_M"},{"version":"4.0","score":6.9,"vector":"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","rating":"medium","source":"github.com"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"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","rating":"medium","source":"GitHub"}],"rating":"medium","products":["amannn next-intl"],"affectedProducts":[{"vendor":"amannn","product":"next-intl","defaultStatus":null,"versions":[{"version":"< 4.9.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"next-intl","purl":"pkg:npm/next-intl","ranges":["<4.9.1"],"fixed":["4.9.1"],"advisory":"GHSA-8f24-v5vv-gm5j"}],"cwes":["CWE-601"],"aliases":["GHSA-8f24-v5vv-gm5j"],"references":[{"url":"https://github.com/amannn/next-intl/security/advisories/GHSA-8f24-v5vv-gm5j","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/amannn/next-intl/pull/2304","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/amannn/next-intl/commit/1c80b668aa6d853f470319eec10a3f61e78a70e6","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/amannn/next-intl/releases/tag/v4.9.1","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40299.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40299","tags":["advisory"]},{"url":"https://github.com/amannn/next-intl","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00323,"epssPercentile":0.2571,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-40299","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40299","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-40299","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-8f24-v5vv-gm5j","ok":true,"note":"GHSA-8f24-v5vv-gm5j"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-40299","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}