CVE-2026-6321
ADVISORY - githubSummary
Impact
fast-uri v3.1.0 and earlier decodes percent-encoded path separators (%2F) and dot segments (%2E) before applying dot-segment removal in normalize() and equal(). This makes encoded path data behave like real / and .., so distinct URIs collapse onto the same normalized path.
For example, http://example.com/public/%2e%2e/admin normalizes to http://example.com/admin, and equal() considers them the same URI.
Applications that normalize or compare attacker-controlled URLs to enforce path-based policy can be bypassed. A path that looks confined under an allowed prefix can normalize to a different location.
Patches
Upgrade to fast-uri >= 3.1.1.
Workarounds
None. Upgrade to the patched version.
Common Weakness Enumeration (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
GitHub
3.9
CVSS SCORE
7.5high| Package | Type | OS Name | OS Version | Affected Ranges | Fix Versions |
|---|---|---|---|---|---|
| fast-uri | npm | - | - | <=3.1.0 | 3.1.1 |
CVSS:3 Severity and metrics
The CVSS metrics represent different qualitative aspects of a vulnerability that impact the overall score, as defined by the CVSS Specification.
The vulnerable component is bound to the network stack, but the attack is limited at the protocol level to a logically adjacent topology. This can mean an attack must be launched from the same shared physical (e.g., Bluetooth or IEEE 802.11) or logical (e.g., local IP subnet) network, or from within a secure or otherwise limited administrative domain (e.g., MPLS, secure VPN to an administrative network zone). One example of an Adjacent attack would be an ARP (IPv4) or neighbor discovery (IPv6) flood leading to a denial of service on the local LAN segment (e.g., CVE-2013-6014).
Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success when attacking the vulnerable component.
The attacker is unauthorized prior to attack, and therefore does not require any access to settings or files of the vulnerable system to carry out an attack.
The vulnerable system can be exploited without interaction from any user.
An exploited vulnerability can only affect resources managed by the same security authority. In this case, the vulnerable component and the impacted component are either the same, or both are managed by the same security authority.
There is no loss of confidentiality.
There is a total loss of integrity, or a complete loss of protection. For example, the attacker is able to modify any or all files protected by the impacted component. Alternatively, only some files can be modified, but malicious modification would present a direct, serious consequence to the impacted component.
There is no impact to availability within the impacted component.
NIST
3.9
CVSS SCORE
7.5highDebian
-
CVSS SCORE
N/AlowUbuntu
-
CVSS SCORE
N/AmediumChainguard
CGA-9j5f-2hwm-8hfc
-
minimos
MINI-24vq-hhvw-x7gp
-
minimos
MINI-2559-95hr-c3wg
-
minimos
MINI-29xw-9782-pc26
-
minimos
MINI-343j-2w6h-763v
-
minimos
MINI-397f-9x7m-rx3r
-
minimos
MINI-46ph-8f96-22wx
-
minimos
MINI-5w75-56x2-grj2
-
minimos
MINI-6mrj-xvjx-pj5c
-
minimos
MINI-7v74-6m7h-3h89
-
minimos
MINI-c2q8-pcrx-vcxh
-
minimos
MINI-crq7-rw96-pf6c
-
minimos
MINI-cvmh-mhf7-29c6
-
minimos
MINI-fp7c-9852-9mqf
-
minimos
MINI-hmgx-7xcg-vq88
-
minimos
MINI-hwxv-wrh3-pc5h
-
minimos
MINI-r8w2-vj3j-pjch
-
minimos
MINI-rcc4-gfpp-phxc
-
minimos
MINI-wgv2-jxpc-x9pc
-
minimos
MINI-x7pr-qx6c-jm2p
-