Skip to content
Heist/ feed
Back to feed
High

fast-uri vulnerable to server-side request forgery via malformed IPv6 normalization

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-75975
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 23:33 UTC · Revision 1

Source evidence

fast-uri vulnerable to server-side request forgery via malformed IPv6 normalization

core-osv · Original source

Published 24 Aug 2026, 09:58 UTC

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.

osv:CVE-2026-75975
Complete source record
{
  "id": "cdd261d0642bb3a231d340859ce95777d987e929d441fb3785b0b91c8701bd72",
  "url": "https://osv.dev/vulnerability/CVE-2026-75975",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "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.",
    "evidence": "osv:CVE-2026-75975",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-75975",
      "aliases": [
        "CVE-2026-75975",
        "GHSA-f65p-4m7j-42xc"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/fastify/fast-uri",
              "type": "GIT",
              "events": [
                {
                  "introduced": "7ffca1e67b7d6d34cfbc3f91a1adc9a8c07728d5"
                },
                {
                  "fixed": "21e274eb54bc738748f66746f4ec1c1e4f919413"
                },
                {
                  "introduced": "5964558737eab37fffed66987be5b6a4d550f528"
                },
                {
                  "fixed": "6f970b2951fd896aa0f3a7ff28eeb6640c137d33"
                },
                {
                  "introduced": "2a5232ef01d62a2044dbd643f7c32f02e30b4fb0"
                },
                {
                  "fixed": "4e99790cadffc4b4fdaef9912cb503b328505be0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:openjsf:fast-uri:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "2.3.1"
                      },
                      {
                        "fixed": "2.4.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:openjsf:fast-uri:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "3.0.0"
                      },
                      {
                        "fixed": "3.1.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:openjsf:fast-uri:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0"
                      },
                      {
                        "fixed": "4.1.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.4.4",
            "v3.1.5",
            "v4.1.2",
            "v2.4.3",
            "v3.1.4",
            "v4.1.1",
            "v3.1.3",
            "v2.4.2",
            "v4.1.0",
            "v2.4.1",
            "v4.0.1",
            "v3.1.2",
            "v4.0.0",
            "v3.1.1",
            "v3.1.0",
            "v3.0.6",
            "v3.0.5",
            "v3.0.4",
            "v3.0.3",
            "v3.0.2",
            "v3.0.1",
            "v3.0.0",
            "v2.4.0",
            "v2.3.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-75975.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:24.658464819Z",
      "provider": "osv",
      "references": [
        "https://cna.openjsf.org/security-advisories.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/75xxx/CVE-2026-75975.json",
        "https://github.com/fastify/fast-uri/security/advisories/GHSA-f65p-4m7j-42xc",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-75975"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-20",
          "CWE-918"
        ],
        "cna_assigner": "openjs",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/75xxx/CVE-2026-75975.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-75975",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 490921,
  "published_at": "2026-08-24T09:58:07.698+00:00"
}