Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessParse malicious URI with crafted absolutePath flag
-
DeliveryPass to EqualsUri comparison
-
ExploitTrigger flawed logic omitting host check
-
ExecutionReturn false positive match
-
PersistBypass access control logic
-
ImpactAccess unintended resource
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Always-incorrect control flow
|
| Exploitation Conditions | The vulnerability requires that an attacker can either construct a malicious URI that gets compared via EqualsUri against a trusted URI in the application's logic, or manipulate the internal absolutePath field of a parsed URI structure. The bug only manifests when comparing URIs with a host component present, where the absolutePath flag differs between the two URIs being compared despite them having identical schemes, hosts, and paths. Applications that parse URIs from untrusted input and then use EqualsUri for access control decisions are at risk. The attack is not possible through default parsing alone (since normal parsing generates correct absolutePath values); exploitation requires either a crafted URI structure passed to EqualsUri or direct manipulation of the Uri structure in memory, both of which are high-complexity conditions. The vulnerability does not affect URIs without a host component, where absolutePath comparison is semantically correct. |
| Impact | Despite the low CVSS score of 2.9 (reflecting local-only attack vector, high complexity, no authentication required, and limited integrity impact), the real-world risk is context-dependent and potentially understated. The CVSS vector (AV:L/AC:H/PR:N/UI:N) indicates this is not a network-exploitable flaw. However, the integrity impact (I:L) translates to URI-based security decisions being corrupted-if an application uses EqualsUri for access control (e.g., 'allow access only to https://trusted-domain.com/admin'), an attacker could craft a malicious URI that compares equal but points elsewhere, bypassing those controls. The attack complexity is rated high, implying exploitation requires specific URI structures or configurations. No EPSS score, KEV listing, or public exploit code is referenced in the provided data, suggesting this is not currently exploited at scale or automatically weaponizable. The primary risk is to applications that depend on uriparser for security-critical URI validation; general users are unlikely to be directly affected unless their application specifically uses EqualsUri in a security boundary. Organizations running versions before 1.0.2 and relying on URI-based access controls should prioritize patching; others can defer with lower risk. |
| Exploit ScenarioDerived | An application uses uriparser to enforce a URL whitelist policy, comparing user-supplied URIs against a set of trusted URIs using EqualsUri. An attacker crafts a URI such as 'scheme://host/different-path' with an artificially set absolutePath flag that differs from a trusted URI 'scheme://host/safe-path' stored without the flag set, causing EqualsUri to incorrectly classify them as equal. The application grants access to the attacker's URI, believing it matches the whitelist, allowing the attacker to access unintended resources or bypass authorization checks. This requires the attacker to control both the input URI and have knowledge of the internal absolutePath representation in the vulnerable code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 08, 2026
The EqualsUri function in uriparser before version 1.0.2 incorrectly classifies structurally distinct URIs as equivalent due to flawed absolutePath comparison logic when a host is present. An attacker can craft two different URIs that the library treats as identical, potentially bypassing URI-based access control checks or authentication mechanisms that rely on URI comparison. The vulnerability affects all versions before 1.0.2 and requires local access with high attack complexity; the impact is limited to integrity (logic bypass) with no confidentiality or availability impact.
RemediationAI
Upgrade uriparser to version 1.0.2 or later, which corrects the absolutePath comparison logic by introducing a HasHost() check that excludes absolutePath from equality comparison when a host is present. Users unable to immediately upgrade should audit all uses of the EqualsUri function (and related equality functions) in their codebase to identify whether they are used for security-sensitive decisions such as access control, authentication, or URL whitelisting. Where such usage exists, add additional validation logic that explicitly checks URI components (scheme, authority, path) individually rather than relying on EqualsUri alone. Alternatively, implement a wrapper function that applies RFC 3986-compliant URI normalization before comparison. The remediation has no known breaking changes; patching is recommended without delay for any application using EqualsUri in security contexts.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
uriparser is a C library for parsing Uniform Resource Identifiers according to RFC 3986. The vulnerability exists in the UriCompare.c module, specifically in the EqualsUri function family, which implements URI equality comparison. The bug stems from incorrect conditional logic that treats the absolutePath flag (which indicates whether a URI path begins with '/') as meaningful in all contexts. However, RFC 3986 semantics dictate that absolutePath is only relevant for URIs without a host component; URIs with authority (host) structures the path differently. The original code checked only whether a scheme was absent before comparing absolutePath, failing to account for the presence of a host. The fix introduces a HasHost() check to properly exclude absolutePath from comparison when a host is present, aligning the implementation with RFC 3986 path semantics. CWE-670 (Improper Validation of Incomplete Check) classifies this as incomplete validation logic in the equality check.
Know when Uriparser gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionNVD
In uriparser before 1.0.2, the function family EqualsUri can misclassify two unequal URIs as equal.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
An issue was discovered in uriparser before 0.9.0. Rated critical severity (CVSS 9.8), this vulnerability is remotely ex
An issue was discovered in uriparser before 0.9.0. Rated critical severity (CVSS 9.8), this vulnerability is remotely ex
An issue was discovered in uriparser before 0.9.0. Rated high severity (CVSS 7.5), this vulnerability is remotely exploi
Pointer difference truncation to signed int in uriparser before version 1.0.2 allows local attackers to cause integer ov
uriparser before 1.0.1 suffers a numeric truncation vulnerability in text range comparison that causes denial of service
EUVD-2026-28537
GHSA-xw5w-xhjv-gf29
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB