Skip to content
Heist/ feed
Back to feed
HighFix available

node-ajv — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-76172

fast-uri is a URI parser for Node.js. During parsing it runs a legacy decoding pass over the scheme component and never re-escapes the result, and serialization writes the scheme back out verbatim, unlike the host component which is re-escaped. As a result an input whose scheme carries percent-encoded slashes parses as a scheme with no authority, so the parsed host and error are both undefined, yet resolving or normalizing that same input emits a network-path reference whose authority is attacker-chosen and re-parses to that host. An application that allowlists on the parsed host, or treats a reference with no authority as safe to resolve against its base, gets the opposite of what it checked, giving an off-site redirect, server-side request forgery, or address-policy bypass. The legacy decoder also expands non-standard escape forms, widening the issue past upstream filters, and control characters in the scheme can reach the output as raw carriage return and line feed. 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 reject a scheme that is not valid after decoding. Users should upgrade to a patched version.

Products
node-ajv
Affected versions
8.12.0~ds+~2.1.1-5, 8.17.1~ds+~3.0.1+~3.1.0-1, 8.17.1~ds+~3.0.1+~3.1.0-2, 8.17.1~ds+~3.0.1+~3.1.0-3, 8.17.1~ds+~3.0.1+~3.1.0-4, 8.18.0~ds+~cs6.1.1-1, 8.18.0~ds+~cs6.1.1-2, 8.20.0~ds+~cs6.1.3-1, 8.20.0~ds+~cs7.1.2-1, 8.20.0~ds+~cs7.1.3-1, 8.20.0~ds+~cs7.1.3-2, 8.20.0~ds+~cs7.1.3-3, 8.20.0~ds+~cs7.1.4-1, 8.20.0~ds+~cs7.1.5-1, 8.20.0~ds+~cs7.1.6-1, 8.20.0~ds+~cs7.1.6-2
Fixed versions
8.20.0~ds+~cs7.1.4-1
CVEs
CVE-2026-76172
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 17:32 UTC · Revision 1

Source evidence

DEBIAN-CVE-2026-76172

core-osv · Original source

Published 24 Aug 2026, 11:16 UTC

fast-uri is a URI parser for Node.js. During parsing it runs a legacy decoding pass over the scheme component and never re-escapes the result, and serialization writes the scheme back out verbatim, unlike the host component which is re-escaped. As a result an input whose scheme carries percent-encoded slashes parses as a scheme with no authority, so the parsed host and error are both undefined, yet resolving or normalizing that same input emits a network-path reference whose authority is attacker-chosen and re-parses to that host. An application that allowlists on the parsed host, or treats a reference with no authority as safe to resolve against its base, gets the opposite of what it checked, giving an off-site redirect, server-side request forgery, or address-policy bypass. The legacy decoder also expands non-standard escape forms, widening the issue past upstream filters, and control characters in the scheme can reach the output as raw carriage return and line feed. 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 reject a scheme that is not valid after decoding. Users should upgrade to a patched version.

osv:DEBIAN-CVE-2026-76172

node-ajv

Fixed versions: Not specified

node-ajv

Fixed versions: 8.20.0~ds+~cs7.1.4-1

Complete source record
{
  "id": "852aaecd7c324a17ed29c53a0d08d987bfef8cc6c891238249e9599cf1810074",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-76172",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-76172",
    "summary": "fast-uri is a URI parser for Node.js. During parsing it runs a legacy decoding pass over the scheme component and never re-escapes the result, and serialization writes the scheme back out verbatim, unlike the host component which is re-escaped. As a result an input whose scheme carries percent-encoded slashes parses as a scheme with no authority, so the parsed host and error are both undefined, yet resolving or normalizing that same input emits a network-path reference whose authority is attacker-chosen and re-parses to that host. An application that allowlists on the parsed host, or treats a reference with no authority as safe to resolve against its base, gets the opposite of what it checked, giving an off-site redirect, server-side request forgery, or address-policy bypass. The legacy decoder also expands non-standard escape forms, widening the issue past upstream filters, and control characters in the scheme can reach the output as raw carriage return and line feed. 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 reject a scheme that is not valid after decoding. Users should upgrade to a patched version.",
    "evidence": "osv:DEBIAN-CVE-2026-76172",
    "products": [
      {
        "name": {
          "value": "node-ajv",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "8.12.0~ds+~2.1.1-5",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "8.17.1~ds+~3.0.1+~3.1.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "8.17.1~ds+~3.0.1+~3.1.0-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "8.17.1~ds+~3.0.1+~3.1.0-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "8.17.1~ds+~3.0.1+~3.1.0-4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "8.18.0~ds+~cs6.1.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "8.18.0~ds+~cs6.1.1-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "8.20.0~ds+~cs6.1.3-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "8.20.0~ds+~cs7.1.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "8.20.0~ds+~cs7.1.3-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "8.20.0~ds+~cs7.1.3-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "8.20.0~ds+~cs7.1.3-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "8.20.0~ds+~cs7.1.4-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "8.20.0~ds+~cs7.1.5-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "8.20.0~ds+~cs7.1.6-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "8.20.0~ds+~cs7.1.6-2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-ajv",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "8.20.0~ds+~cs7.1.4-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "8.12.0~ds+~2.1.1-5",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.17.1~ds+~3.0.1+~3.1.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.17.1~ds+~3.0.1+~3.1.0-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.17.1~ds+~3.0.1+~3.1.0-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.17.1~ds+~3.0.1+~3.1.0-4",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.18.0~ds+~cs6.1.1-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.18.0~ds+~cs6.1.1-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.20.0~ds+~cs6.1.3-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.20.0~ds+~cs7.1.2-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.20.0~ds+~cs7.1.3-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.20.0~ds+~cs7.1.3-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.20.0~ds+~cs7.1.3-3",
            "evidence": "/affected/1/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2026-76172",
      "aliases": [
        "DEBIAN-CVE-2026-76172"
      ],
      "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": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-ajv",
            "purl": "pkg:deb/debian/node-ajv?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "8.12.0~ds+~2.1.1-5",
            "8.17.1~ds+~3.0.1+~3.1.0-1",
            "8.17.1~ds+~3.0.1+~3.1.0-2",
            "8.17.1~ds+~3.0.1+~3.1.0-3",
            "8.17.1~ds+~3.0.1+~3.1.0-4",
            "8.18.0~ds+~cs6.1.1-1",
            "8.18.0~ds+~cs6.1.1-2",
            "8.20.0~ds+~cs6.1.3-1",
            "8.20.0~ds+~cs7.1.2-1",
            "8.20.0~ds+~cs7.1.3-1",
            "8.20.0~ds+~cs7.1.3-2",
            "8.20.0~ds+~cs7.1.3-3",
            "8.20.0~ds+~cs7.1.4-1",
            "8.20.0~ds+~cs7.1.5-1",
            "8.20.0~ds+~cs7.1.6-1",
            "8.20.0~ds+~cs7.1.6-2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-76172.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8.20.0~ds+~cs7.1.4-1"
                }
              ]
            }
          ],
          "package": {
            "name": "node-ajv",
            "purl": "pkg:deb/debian/node-ajv?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "8.12.0~ds+~2.1.1-5",
            "8.17.1~ds+~3.0.1+~3.1.0-1",
            "8.17.1~ds+~3.0.1+~3.1.0-2",
            "8.17.1~ds+~3.0.1+~3.1.0-3",
            "8.17.1~ds+~3.0.1+~3.1.0-4",
            "8.18.0~ds+~cs6.1.1-1",
            "8.18.0~ds+~cs6.1.1-2",
            "8.20.0~ds+~cs6.1.3-1",
            "8.20.0~ds+~cs7.1.2-1",
            "8.20.0~ds+~cs7.1.3-1",
            "8.20.0~ds+~cs7.1.3-2",
            "8.20.0~ds+~cs7.1.3-3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-76172.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T10:03:23.040951831Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-76172"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-76172"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-76172",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 330482,
  "published_at": "2026-08-24T11:16:40.723+00:00"
}