Skip to main content

uriparser EUVDEUVD-2026-28537

| CVE-2026-44928 MEDIUM
Always-Incorrect Control Flow Implementation (CWE-670)
2026-05-08 mitre GHSA-xw5w-xhjv-gf29
5.3
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Parse malicious URI with crafted absolutePath flag
  2. Delivery
    Pass to EqualsUri comparison
  3. Exploit
    Trigger flawed logic omitting host check
  4. Execution
    Return false positive match
  5. Persist
    Bypass access control logic
  6. Impact
    Access 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

uriparser 0 <1.0.2

Affected Packages

euvd uriparser fix: 1.0.2

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

NVD PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Red Hat 5.3 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

4
Severity Changed
Nov 11, 2026 - 20:22 NVD
LOW MEDIUM
CVSS changed
Nov 11, 2026 - 20:22 NVD
2.9 (LOW) 5.3 (MEDIUM)
Patch available
May 08, 2026 - 09:02 EUVD
CVE Published
May 08, 2026 - 07:15 nvd
LOW 2.9

DescriptionNVD

In uriparser before 1.0.2, the function family EqualsUri can misclassify two unequal URIs as equal.

Threat Intelligence Overview

EPSS Score
0.0%
Top 100% exploitable
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy