CVE-2026-75931
Description
fast-uri is a URI parser for Node.js. It canonicalizes a host to its ASCII form only when the input carries an explicit scheme, so a scheme-relative reference such as a host preceded by two slashes is returned with its host verbatim and no error set. As a result fast-uri's own entry points disagree with each other: parse, resolve, normalize, and equal can yield different hosts for the same input depending only on whether a scheme is written out, and equal can return opposite verdicts for the same pair of hosts. An application that extracts a host with fast-uri to check it against a policy list and then resolves the same reference can make its decision on one host while the destination is another, enabling host confusion and policy bypass. The affected versions are 2.4.2 up to but not including 2.4.5, 3.1.3 up to but not including 3.1.6, and 4.0.1 up to but not including 4.1.3. The issue is fixed in 2.4.5, 3.1.6, and 4.1.3, which canonicalize the host consistently across the resolve path. Users should upgrade to a patched version.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
fast-urinpm | >= 2.4.2, < 2.4.5 | 2.4.5 |
fast-urinpm | >= 3.1.3, < 3.1.6 | 3.1.6 |
fast-urinpm | >= 4.0.1, < 4.1.3 | 4.1.3 |
Affected products
82- osv-coords81 versionspkg:apk/chainguard/gitlab-rails-ce-fips-19.1pkg:apk/chainguard/keep-uipkg:apk/chainguard/keep-ui-fipspkg:apk/chainguard/kibana-9.2pkg:apk/chainguard/kibana-9.2-iamguardedpkg:apk/chainguard/langfuse-4pkg:apk/chainguard/langfuse-4-workerpkg:apk/chainguard/langfuse-fips-4pkg:apk/chainguard/langfuse-fips-4-workerpkg:apk/chainguard/nextcloud-server-32pkg:apk/chainguard/nextcloud-server-34pkg:apk/chainguard/opensearch-dashboards-2pkg:apk/chainguard/opensearch-dashboards-2-alerting-dashboards-pluginpkg:apk/chainguard/opensearch-dashboards-2-anomaly-detection-dashboards-pluginpkg:apk/chainguard/opensearch-dashboards-2-dashboards-mapspkg:apk/chainguard/opensearch-dashboards-2-dashboards-notificationspkg:apk/chainguard/opensearch-dashboards-2-dashboards-observabilitypkg:apk/chainguard/opensearch-dashboards-2-dashboards-query-workbenchpkg:apk/chainguard/opensearch-dashboards-2-dashboards-reportingpkg:apk/chainguard/opensearch-dashboards-2-dashboards-search-relevancepkg:apk/chainguard/opensearch-dashboards-2-dashboards-visualizationspkg:apk/chainguard/opensearch-dashboards-2-fipspkg:apk/chainguard/opensearch-dashboards-2-fips-alerting-dashboards-pluginpkg:apk/chainguard/opensearch-dashboards-2-fips-anomaly-detection-dashboards-pluginpkg:apk/chainguard/opensearch-dashboards-2-fips-dashboards-mapspkg:apk/chainguard/opensearch-dashboards-2-fips-dashboards-notificationspkg:apk/chainguard/opensearch-dashboards-2-fips-dashboards-observabilitypkg:apk/chainguard/opensearch-dashboards-2-fips-dashboards-query-workbenchpkg:apk/chainguard/opensearch-dashboards-2-fips-dashboards-reportingpkg:apk/chainguard/opensearch-dashboards-2-fips-dashboards-search-relevancepkg:apk/chainguard/opensearch-dashboards-2-fips-dashboards-visualizationspkg:apk/chainguard/opensearch-dashboards-2-fips-index-management-dashboards-pluginpkg:apk/chainguard/opensearch-dashboards-2-fips-ml-commons-dashboardspkg:apk/chainguard/opensearch-dashboards-2-fips-security-analytics-dashboards-pluginpkg:apk/chainguard/opensearch-dashboards-2-fips-security-dashboards-pluginpkg:apk/chainguard/opensearch-dashboards-2-index-management-dashboards-pluginpkg:apk/chainguard/opensearch-dashboards-2-ml-commons-dashboardspkg:apk/chainguard/opensearch-dashboards-2-security-analytics-dashboards-pluginpkg:apk/chainguard/opensearch-dashboards-2-security-dashboards-pluginpkg:apk/chainguard/opensearch-dashboards-3pkg:apk/chainguard/opensearch-dashboards-3-alerting-dashboards-pluginpkg:apk/chainguard/opensearch-dashboards-3-anomaly-detection-dashboards-pluginpkg:apk/chainguard/opensearch-dashboards-3-dashboards-mapspkg:apk/chainguard/opensearch-dashboards-3-dashboards-notificationspkg:apk/chainguard/opensearch-dashboards-3-dashboards-observabilitypkg:apk/chainguard/opensearch-dashboards-3-dashboards-query-workbenchpkg:apk/chainguard/opensearch-dashboards-3-dashboards-reportingpkg:apk/chainguard/opensearch-dashboards-3-dashboards-search-relevancepkg:apk/chainguard/opensearch-dashboards-3-index-management-dashboards-pluginpkg:apk/chainguard/opensearch-dashboards-3-ml-commons-dashboardspkg:apk/chainguard/opensearch-dashboards-3-security-analytics-dashboards-pluginpkg:apk/chainguard/opensearch-dashboards-3-security-dashboards-pluginpkg:apk/chainguard/tileserver-glpkg:apk/chainguard/tileserver-gl-fipspkg:apk/chainguard/unleashpkg:apk/chainguard/unleash-fipspkg:apk/chainguard/unleash-proxypkg:apk/chainguard/vitess-24pkg:apk/chainguard/wazuh-dashboardpkg:apk/chainguard/wazuh-dashboard-fipspkg:apk/chainguard/wazuh-dashboard-security-pluginpkg:apk/chainguard/wazuh-dashboard-security-plugin-fipspkg:apk/chainguard/yaml-language-serverpkg:apk/wolfi/nextcloud-server-32pkg:apk/wolfi/opensearch-dashboards-3pkg:apk/wolfi/opensearch-dashboards-3-alerting-dashboards-pluginpkg:apk/wolfi/opensearch-dashboards-3-anomaly-detection-dashboards-pluginpkg:apk/wolfi/opensearch-dashboards-3-dashboards-mapspkg:apk/wolfi/opensearch-dashboards-3-dashboards-notificationspkg:apk/wolfi/opensearch-dashboards-3-dashboards-observabilitypkg:apk/wolfi/opensearch-dashboards-3-dashboards-query-workbenchpkg:apk/wolfi/opensearch-dashboards-3-dashboards-reportingpkg:apk/wolfi/opensearch-dashboards-3-dashboards-search-relevancepkg:apk/wolfi/opensearch-dashboards-3-index-management-dashboards-pluginpkg:apk/wolfi/opensearch-dashboards-3-ml-commons-dashboardspkg:apk/wolfi/opensearch-dashboards-3-security-analytics-dashboards-pluginpkg:apk/wolfi/opensearch-dashboards-3-security-dashboards-pluginpkg:apk/wolfi/tileserver-glpkg:apk/wolfi/vitess-24pkg:apk/wolfi/yaml-language-serverpkg:npm/fast-uri
< 19.1.7-r5+ 80 more
- (no CPE)range: < 19.1.7-r5
- (no CPE)range: < 0.54.2-r8
- (no CPE)range: < 0.54.2-r11
- (no CPE)range: < 9.2.8-r20
- (no CPE)range: < 9.2.8-r20
- (no CPE)range: < 4.27.0-r1
- (no CPE)range: < 4.27.0-r1
- (no CPE)range: < 4.26.0-r1
- (no CPE)range: < 4.26.0-r1
- (no CPE)range: < 32.0.14-r1
- (no CPE)range: < 34.0.3-r3
- (no CPE)range: < 2.19.6-r16
- (no CPE)range: < 2.19.6-r16
- (no CPE)range: < 2.19.6-r16
- (no CPE)range: < 2.19.6-r16
- (no CPE)range: < 2.19.6-r16
- (no CPE)range: < 2.19.6-r16
- (no CPE)range: < 2.19.6-r16
- (no CPE)range: < 2.19.6-r16
- (no CPE)range: < 2.19.6-r16
- (no CPE)range: < 2.19.6-r16
- (no CPE)range: < 2.19.6-r5
- (no CPE)range: < 2.19.6-r5
- (no CPE)range: < 2.19.6-r5
- (no CPE)range: < 2.19.6-r5
- (no CPE)range: < 2.19.6-r5
- (no CPE)range: < 2.19.6-r5
- (no CPE)range: < 2.19.6-r5
- (no CPE)range: < 2.19.6-r5
- (no CPE)range: < 2.19.6-r5
- (no CPE)range: < 2.19.6-r5
- (no CPE)range: < 2.19.6-r5
- (no CPE)range: < 2.19.6-r5
- (no CPE)range: < 2.19.6-r5
- (no CPE)range: < 2.19.6-r5
- (no CPE)range: < 2.19.6-r16
- (no CPE)range: < 2.19.6-r16
- (no CPE)range: < 2.19.6-r16
- (no CPE)range: < 2.19.6-r16
- (no CPE)range: < 3.8.0-r1
- (no CPE)range: < 3.8.0-r1
- (no CPE)range: < 3.8.0-r1
- (no CPE)range: < 3.8.0-r1
- (no CPE)range: < 3.8.0-r1
- (no CPE)range: < 3.8.0-r1
- (no CPE)range: < 3.8.0-r1
- (no CPE)range: < 3.8.0-r1
- (no CPE)range: < 3.8.0-r1
- (no CPE)range: < 3.8.0-r1
- (no CPE)range: < 3.8.0-r1
- (no CPE)range: < 3.8.0-r1
- (no CPE)range: < 3.8.0-r1
- (no CPE)range: < 5.6.0-r14
- (no CPE)range: < 5.6.0-r13
- (no CPE)range: < 8.1.0-r2
- (no CPE)range: < 8.1.0-r2
- (no CPE)range: < 1.4.19-r9
- (no CPE)range: < 24.0.2-r19
- (no CPE)range: < 4.14.7-r14
- (no CPE)range: < 4.14.7-r13
- (no CPE)range: < 4.14.7-r14
- (no CPE)range: < 4.14.7-r13
- (no CPE)range: < 1.24.0-r5
- (no CPE)range: < 32.0.14-r1
- (no CPE)range: < 3.8.0-r1
- (no CPE)range: < 3.8.0-r1
- (no CPE)range: < 3.8.0-r1
- (no CPE)range: < 3.8.0-r1
- (no CPE)range: < 3.8.0-r1
- (no CPE)range: < 3.8.0-r1
- (no CPE)range: < 3.8.0-r1
- (no CPE)range: < 3.8.0-r1
- (no CPE)range: < 3.8.0-r1
- (no CPE)range: < 3.8.0-r1
- (no CPE)range: < 3.8.0-r1
- (no CPE)range: < 3.8.0-r1
- (no CPE)range: < 3.8.0-r1
- (no CPE)range: < 5.6.0-r14
- (no CPE)range: < 24.0.2-r19
- (no CPE)range: < 1.24.0-r5
- (no CPE)range: >= 2.4.2, < 2.4.5
Patches
Vulnerability mechanics
References
10- cna.openjsf.org/security-advisories.htmlnvdVendor AdvisoryWEB
- github.com/advisories/GHSA-5jgf-p345-68v8ghsaADVISORY
- github.com/fastify/fast-uri/security/advisories/GHSA-5jgf-p345-68v8nvdVendor AdvisoryMitigationWEB
- nvd.nist.gov/vuln/detail/CVE-2026-75931ghsaADVISORY
- github.com/fastify/fast-uri/commit/0256bc8d1f28b5d0ac657faf67e2411a189dfcb5ghsaWEB
- github.com/fastify/fast-uri/commit/444ecdad447db2cc23c4d422acc6f0daa6fa8eefghsaWEB
- github.com/fastify/fast-uri/commit/4e4ebd8b245f6ca16e448203559eea3e545453a3ghsaWEB
- github.com/fastify/fast-uri/releases/tag/v2.4.5ghsaWEB
- github.com/fastify/fast-uri/releases/tag/v3.1.6ghsaWEB
- github.com/fastify/fast-uri/releases/tag/v4.1.3ghsaWEB
News mentions
0No linked articles in our index yet.