UBUNTU-CVE-2026-16221

Source
https://ubuntu.com/security/CVE-2026-16221
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-16221.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2026-16221
Upstream
Published
2026-07-19T15:16:00Z
Modified
2026-07-29T10:18:36.406361673Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Impact: fast-uri versions from 2.3.1 through 4.1.0 (including the 3.x line up to 3.1.3 and the 2.x line up to 2.4.2) do not treat a literal backslash character (U+005C) as an authority delimiter. Node's native WHATWG URL parser, used by fetch, undici, and Node's http and https clients, normalizes the backslash to a forward slash for special schemes such as http, https, ws, wss, ftp, and file. As a result, the two parsers extract different hosts from the same input string. Applications that use fast-uri to enforce host-based policy such as allowlists, denylists, loopback or SSRF filtering, redirect validation, or outbound proxy routing before passing the same URL into Node's URL or fetch consumers can be steered to an unintended destination, including cloud metadata endpoints, loopback, or internal hosts. Patches: upgrade to fast-uri 4.1.1, 3.1.4, or 2.4.3. Workarounds: none.

References

Affected packages

Ubuntu:18.04:LTS / node-ajv

Package

Name
node-ajv
Purl
pkg:deb/ubuntu/node-ajv?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.0.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "5.0.0-1",
            "binary_name": "node-ajv"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-16221.json"

Ubuntu:20.04:LTS / node-ajv

Package

Name
node-ajv
Purl
pkg:deb/ubuntu/node-ajv?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

6.*
6.10.2-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "6.10.2-1",
            "binary_name": "node-ajv"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-16221.json"

Ubuntu:22.04:LTS / node-ajv

Package

Name
node-ajv
Purl
pkg:deb/ubuntu/node-ajv?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

6.*
6.12.6-2
6.12.6-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "6.12.6-3",
            "binary_name": "node-ajv"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-16221.json"

Ubuntu:24.04:LTS / node-ajv

Package

Name
node-ajv
Purl
pkg:deb/ubuntu/node-ajv?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

6.*
6.12.6-3
8.*
8.12.0~ds+~2.1.1-4

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "8.12.0~ds+~2.1.1-4",
            "binary_name": "node-ajv"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-16221.json"

Ubuntu:26.04:LTS / node-ajv

Package

Name
node-ajv
Purl
pkg:deb/ubuntu/node-ajv?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

8.*
8.12.0~ds+~2.1.1-5
8.17.1~ds+~3.0.1+~3.1.0-2
8.17.1~ds+~3.0.1+~3.1.0-4build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "8.17.1~ds+~3.0.1+~3.1.0-4build1",
            "binary_name": "node-ajv"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-16221.json"