Skip to main content

Node ajv: fast-uri is a URI parser for Node.js. (CVE-2026-76172)

0
Medium
Published: 08/24/2026 (08/24/2026, 11:16:00 UTC)
Source: GCVE Database
Product: node-ajv

Description

fast-uri, a URI parser for Node.js, has a vulnerability in versions 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 involves improper handling of percent-encoded slashes in the scheme component, leading to incorrect parsing and potential off-site redirects, server-side request forgery, or address-policy bypass. The flaw is fixed in versions 2.4.5, 3.1.6, and 4.1.3 by rejecting invalid schemes after decoding. Users should upgrade to these patched versions.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected software

Ubuntu:18.04:LTSmore threats →ghsa
node-ajv
pkg:deb/ubuntu/node-ajv?arch=source&distro=bionic
Affected versions
=5.0.0-1
Ubuntu:20.04:LTSmore threats →ghsa
node-ajv
pkg:deb/ubuntu/node-ajv?arch=source&distro=focal
Affected versions
=6.10.2-1
Ubuntu:22.04:LTSmore threats →ghsa
node-ajv
pkg:deb/ubuntu/node-ajv?arch=source&distro=jammy
Affected versions
=6.12.6-2=6.12.6-3
Ubuntu:24.04:LTSmore threats →ghsa
node-ajv
pkg:deb/ubuntu/node-ajv?arch=source&distro=noble
Affected versions
=6.12.6-3=8.12.0~ds+~2.1.1-4
Ubuntu:26.10more threats →ghsa
node-ajv
pkg:deb/ubuntu/node-ajv?arch=source&distro=stonking
Affected versions
=8.17.1~ds+~3.0.1+~3.1.0-4build1=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-3
Ubuntu:26.04:LTSmore threats →ghsa
node-ajv
pkg:deb/ubuntu/node-ajv?arch=source&distro=resolute
Affected versions
=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

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/17/2026, 23:44:24 UTC

Technical Analysis

fast-uri for Node.js performs a legacy decoding pass on the URI scheme component without re-escaping the result, unlike the host component. This causes inputs with percent-encoded slashes in the scheme to parse as having no authority, resulting in undefined host and error values. However, resolving or normalizing such inputs emits a network-path reference with an attacker-controlled authority, which re-parses to that host. Applications that allowlist based on the parsed host or treat references with no authority as safe may be vulnerable to off-site redirects, server-side request forgery, or address-policy bypass. Additionally, the legacy decoder expands non-standard escape forms and allows control characters like carriage return and line feed to appear in output. The vulnerability affects versions 2.3.1 to <2.4.5, 3.0.0 to <3.1.6, and 4.0.0 to <4.1.3. The issue is fixed in 2.4.5, 3.1.6, and 4.1.3 by rejecting schemes invalid after decoding.

Potential Impact

This vulnerability can lead to security bypasses such as off-site redirects, server-side request forgery (SSRF), and address-policy bypasses due to incorrect URI parsing and validation. Applications relying on parsed host allowlisting or assumptions about authority presence may be tricked into unsafe behavior. The flaw does not impact confidentiality but can cause integrity issues by allowing attacker-controlled URIs to bypass filters.

Mitigation Recommendations

Upgrade fast-uri to versions 2.4.5, 3.1.6, or 4.1.3 or later, where the vulnerability is fixed by rejecting invalid schemes after decoding. No other mitigations are indicated by the vendor advisory. Users should ensure they are not using affected versions.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-76172
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.10","Ubuntu:26.04:LTS"]
Cvss Version
3.1

Threat ID: 6ad3f5802cdf04f65666216f

Added to database: 10/17/2026, 22:24:00 UTC

Last enriched: 10/17/2026, 23:44:24 UTC

Last updated: 10/17/2026, 23:44:24 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses