{"id":"CVE-2026-75975","aliases":["CVE-2026-75975","GHSA-f65p-4m7j-42xc"],"related":[],"kind":"vulnerability","state":"published","title":"fast-uri vulnerable to server-side request forgery via malformed IPv6 normalization","summary":"fast-uri is a URI parser for Node.js. Its custom parser for bracketed IPv6 literals does not validate the complete IPv6 grammar, so invalid trailing text in an authority can be silently discarded and a malformed attacker-controlled host is turned into a different valid IPv6 destination. For example, a bracketed literal with invalid trailing characters is normalized to the unspecified address, which a Node HTTP client then connects to a local service over loopback, and other malformed literals collapse to private-range addresses. No error is set on the parsed result, so an application checking the error field cannot detect the rewrite. An application that normalizes untrusted URLs before outbound requests, redirects, proxy routing, or address-policy enforcement can be redirected to a local or private IPv6 target, giving a server-side request forgery and address-policy bypass primitive. The affected versions are 2.3.1 up to but not including 2.4.5, 3.0.0 up to but not including 3.1.6, and 4.0.0 up to but not including 4.1.3. The issue is fixed in 2.4.5, 3.1.6, and 4.1.3, which validate bracketed IP literals against the full grammar and mark malformed literals as authority errors. Users should upgrade to a patched version.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"fast-uri is a URI parser for Node.js. Its custom parser for bracketed IPv6 literals does not validate the complete IPv6 grammar, so invalid trailing text in an authority can be silently discarded and a malformed attacker-controlled host is turned into a different valid IPv6 destination. For example, a bracketed literal with invalid trailing characters is normalized to the unspecified address, which a Node HTTP client then connects to a local service over loopback, and other malformed literals collapse to private-range addresses. No error is set on the parsed result, so an application checking the error field cannot detect the rewrite. An application that normalizes untrusted URLs before outbound requests, redirects, proxy routing, or address-policy enforcement can be redirected to a local or private IPv6 target, giving a server-side request forgery and address-policy bypass primitive. The affected versions are 2.3.1 up to but not including 2.4.5, 3.0.0 up to but not including 3.1.6, and 4.0.0 up to but not including 4.1.3. The issue is fixed in 2.4.5, 3.1.6, and 4.1.3, which validate bracketed IP literals against the full grammar and mark malformed literals as authority errors. Users should upgrade to a patched version.","source":"cvelist"},{"lang":"en","text":"### Impact\n\n`fast-uri` does not validate the complete RFC 3986 grammar for bracketed IPv6 literals, so a malformed literal with invalid trailing text is silently truncated to a different valid IPv6 address with no error reported. For example, `normalize('http://[::not-valid]/private')` returns `http://[::]/private`, and `[fc00::not-hex]` and `[fe80::not-hex]` collapse to `[fc00::]` and `[fe80::]`. An application that normalizes an untrusted URL before an outbound request, redirect, or host-policy check can be routed to a local or private address such as loopback (`::1`), unique-local, or link-local. Because `parse().error` is unset for these inputs, checking it does not protect the consumer.\n\n### Patches\n\nUpgrade to `fast-uri` 2.4.5, 3.1.6, or 4.1.3. Malformed IPv6 literals are now rejected with a host error instead of being normalized to a valid address.\n\n### Workarounds\n\nReject untrusted URLs whose host is a bracketed IPv6 literal before passing them to `fast-uri`, or route outbound requests against an explicit allowlist of addresses rather than trusting the normalized host.","format":"markdown","source":"ghsa"},{"lang":"es","text":"fast-uri es un analizador de URI para Node.js. Su analizador personalizado para literales IPv6 entre corchetes no valida la gramática IPv6 completa, por lo que el texto final no válido en una autoridad puede ser descartado silenciosamente y un host malformado controlado por el atacante se convierte en un destino IPv6 válido diferente. Por ejemplo, un literal entre corchetes con caracteres finales no válidos se normaliza a la dirección no especificada, a la que un cliente HTTP de Node se conecta luego a un servicio local a través de loopback, y otros literales malformados colapsan a direcciones de rango privado. No se establece ningún error en el resultado analizado, por lo que una aplicación que verifica el campo de error no puede detectar la reescritura. Una aplicación que normaliza URL no confiables antes de solicitudes salientes, redirecciones, enrutamiento de proxy o aplicación de políticas de dirección puede ser redirigida a un objetivo IPv6 local o privado, lo que proporciona una falsificación de petición del lado del servidor y una primitiva de bypass de política de dirección. Las versiones afectadas son 2.3.1 hasta pero sin incluir 2.4.5, 3.0.0 hasta pero sin incluir 3.1.6, y 4.0.0 hasta pero sin incluir 4.1.3. El problema se corrige en 2.4.5, 3.1.6 y 4.1.3, que validan los literales IP entre corchetes contra la gramática completa y marcan los literales malformados como errores de autoridad. Los usuarios deben actualizar a una versión parcheada.","source":"nvd"}],"published":"2026-08-24T09:58:07.698Z","modified":"2026-10-14T13:10:00.187Z","severity":{"scorer":"openjs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"openjs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-20","CWE-918"],"affected":[{"ranges":[{"type":"semver","introduced":"2.3.1","fixed":"2.4.5","status":"affected"},{"type":"semver","version":"2.4.5","status":"unaffected"},{"type":"semver","introduced":"3.0.0","fixed":"3.1.6","status":"affected"},{"type":"semver","version":"3.1.6","status":"unaffected"},{"type":"semver","introduced":"4.0.0","fixed":"4.1.3","status":"affected"},{"type":"semver","version":"4.1.3","status":"unaffected"}],"vendor":"fast-uri","product":"fast-uri","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.3.1","status":"affected","fixed":"2.4.5"}],"ecosystem":"npm","package":"fast-uri","purl":"pkg:npm/fast-uri","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"3.0.0","status":"affected","fixed":"3.1.6"}],"ecosystem":"npm","package":"fast-uri","purl":"pkg:npm/fast-uri","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"4.0.0","status":"affected","fixed":"4.1.3"}],"ecosystem":"npm","package":"fast-uri","purl":"pkg:npm/fast-uri","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.3.1","fixed":"2.4.5"},{"status":"affected","introduced":"3.0.0","fixed":"3.1.6"},{"status":"affected","introduced":"4.0.0","fixed":"4.1.3"}],"vendor":"openjsf","product":"fast-uri","cpe":"cpe:2.3:a:openjsf:fast-uri:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/fastify/fast-uri/security/advisories/GHSA-f65p-4m7j-42xc","tags":["mitigation","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-75975","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/fastify/fast-uri/commit/3728465caacef4b16bc84b7d14760f1c8fe41595","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/fastify/fast-uri/commit/607bfbe953f28a14c2e06ae64aff38c81ca2937f","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/fastify/fast-uri/commit/9161eded1ff55fad9d9714c6ad6c0f0283547799","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/fastify/fast-uri","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/fastify/fast-uri/releases/tag/v2.4.5","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/fastify/fast-uri/releases/tag/v3.1.6","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/fastify/fast-uri/releases/tag/v4.1.3","tags":["web"],"sources":["ghsa"]}],"credits":["mcollina","UlisesGascon"],"assigner":"openjs","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-08-24T14:29:55.795Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-75975","url":"https://www.cve.org/CVERecord?id=CVE-2026-75975","licence":"CVE Terms of Use","modified":"2026-08-24T14:30:09.105Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f65p-4m7j-42xc","url":"https://github.com/advisories/GHSA-f65p-4m7j-42xc","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:15.292Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-75975","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-75975","licence":"Public domain","modified":"2026-10-14T13:10:00.187Z"}],"updatedAt":"2026-11-25T22:59:34.991Z","epss":{"score":0.0022,"percentile":0.13342,"date":"2026-12-01T12:00:22.000Z"}}