{"schema":"threatline.record/2","record":{"id":"CVE-2026-110095","aliases":["GHSA-xhq7-xmqj-769h"],"summary":"fast-uri vulnerable to improper path equivalence in relative reference normalization","details":"### Impact\n\n`fast-uri`'s `normalize()` and `serialize()` apply RFC 3986 dot-segment removal (`remove_dot_segments`) to the path of a relative-path reference. RFC 3986 section 5.2.4 defines that algorithm only for the merged target path during resolution, not for the reference itself, so applied to the reference it drops leading `..` segments and can turn a document-relative reference into a root-relative one.\n\nFor example, `normalize('a/../b')` returns `/b` and `normalize('../x')` returns `x`, so `resolve(base, normalize(ref))` points at a different resource than `resolve(base, ref)`, and `equal()` treats distinct references as the same.\n\nApplications that normalize attacker-supplied or user-supplied relative references and then resolve them, or use them as cache, deduplication, or authorization keys, can have a reference escape its intended directory and point at a different resource.\n\n### Patches\n\nUpgrade to `fast-uri` `2.4.8`, `3.1.9`, or `4.2.3`.\n\n### Workarounds\n\nDo not normalize a relative reference before resolving it. Resolve it against the absolute base first, then normalize the absolute result.","categories":["Libraries & packages"],"product":"fast-uri","vendor":"fast-uri","ecosystem":"npm","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-xhq7-xmqj-769h","source_modified_at":"2026-10-23T21:39:38Z","fetched_at":"2026-10-23T21:47:51.402276Z","package":{"ecosystem":"npm","name":"fast-uri"},"range":"< 2.4.8"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-xhq7-xmqj-769h","source_modified_at":"2026-10-23T21:39:38Z","fetched_at":"2026-10-23T21:47:51.402276Z","package":{"ecosystem":"npm","name":"fast-uri"},"range":">= 3.0.0, < 3.1.9"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-xhq7-xmqj-769h","source_modified_at":"2026-10-23T21:39:38Z","fetched_at":"2026-10-23T21:47:51.402276Z","package":{"ecosystem":"npm","name":"fast-uri"},"range":">= 4.0.0, < 4.2.3"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-110095","source_modified_at":"2026-10-20T16:07:47.737Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"fast-uri","vendor":"fast-uri","versions":[{"lessThan":"2.4.8","status":"affected","version":"0","versionType":"semver"},{"status":"unaffected","version":"2.4.8","versionType":"semver"},{"lessThan":"3.1.9","status":"affected","version":"3.0.0","versionType":"semver"},{"status":"unaffected","version":"3.1.9","versionType":"semver"},{"lessThan":"4.2.3","status":"affected","version":"4.0.0","versionType":"semver"},{"status":"unaffected","version":"4.2.3","versionType":"semver"}],"defaultStatus":"unaffected"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-xhq7-xmqj-769h","source_modified_at":"2026-10-23T21:45:04.902389903Z","fetched_at":"2026-10-23T21:47:51.402276Z","package":{"name":"fast-uri","ecosystem":"npm","purl":"pkg:npm/fast-uri"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.4.8"}]}],"versions":[]},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-xhq7-xmqj-769h","source_modified_at":"2026-10-23T21:45:04.902389903Z","fetched_at":"2026-10-23T21:47:51.402276Z","package":{"name":"fast-uri","ecosystem":"npm","purl":"pkg:npm/fast-uri"},"ranges":[{"type":"SEMVER","events":[{"introduced":"3.0.0"},{"fixed":"3.1.9"}]}],"versions":[]},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-xhq7-xmqj-769h","source_modified_at":"2026-10-23T21:45:04.902389903Z","fetched_at":"2026-10-23T21:47:51.402276Z","package":{"name":"fast-uri","ecosystem":"npm","purl":"pkg:npm/fast-uri"},"ranges":[{"type":"SEMVER","events":[{"introduced":"4.0.0"},{"fixed":"4.2.3"}]}],"versions":[]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-xhq7-xmqj-769h","source_modified_at":"2026-10-23T21:39:38Z","fetched_at":"2026-10-23T21:47:51.402276Z","package":{"ecosystem":"npm","name":"fast-uri"},"version":"2.4.8"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-xhq7-xmqj-769h","source_modified_at":"2026-10-23T21:39:38Z","fetched_at":"2026-10-23T21:47:51.402276Z","package":{"ecosystem":"npm","name":"fast-uri"},"version":"3.1.9"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-xhq7-xmqj-769h","source_modified_at":"2026-10-23T21:39:38Z","fetched_at":"2026-10-23T21:47:51.402276Z","package":{"ecosystem":"npm","name":"fast-uri"},"version":"4.2.3"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-110095","source_modified_at":"2026-10-20T16:07:47.737Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"fast-uri","ecosystem":null},"version":"2.4.8","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-110095","source_modified_at":"2026-10-20T16:07:47.737Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"fast-uri","ecosystem":null},"version":"3.1.9","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-110095","source_modified_at":"2026-10-20T16:07:47.737Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"fast-uri","ecosystem":null},"version":"4.2.3","basis":"first unaffected version stated in the CVE record"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-xhq7-xmqj-769h","source_modified_at":"2026-10-23T21:45:04.902389903Z","fetched_at":"2026-10-23T21:47:51.402276Z","package":{"name":"fast-uri","ecosystem":"npm","purl":"pkg:npm/fast-uri"},"version":"2.4.8"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-xhq7-xmqj-769h","source_modified_at":"2026-10-23T21:45:04.902389903Z","fetched_at":"2026-10-23T21:47:51.402276Z","package":{"name":"fast-uri","ecosystem":"npm","purl":"pkg:npm/fast-uri"},"version":"3.1.9"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-xhq7-xmqj-769h","source_modified_at":"2026-10-23T21:45:04.902389903Z","fetched_at":"2026-10-23T21:47:51.402276Z","package":{"name":"fast-uri","ecosystem":"npm","purl":"pkg:npm/fast-uri"},"version":"4.2.3"}],"cvss":3.7,"severity":"Low","kev":{"listed":false},"epss":{"probability":0.00232,"percentile":0.13295,"score_date":"2026-10-23"},"published_at":"2026-10-20T06:56:56.456Z","modified_at":"2026-10-23T21:45:04.902389903Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-xhq7-xmqj-769h","fetched_at":"2026-10-23T21:47:51.402276Z","source_modified_at":"2026-10-23T21:39:38Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-110095","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-20T16:07:47.737Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-xhq7-xmqj-769h","fetched_at":"2026-10-23T21:47:51.402276Z","source_modified_at":"2026-10-23T21:45:04.902389903Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-110095","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["GitHub Advisory Database","CVE List","OSV","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/fastify/fast-uri/security/advisories/GHSA-xhq7-xmqj-769h"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-110095","source":"GitHub Advisory Database"},{"url":"https://github.com/fastify/fast-uri/commit/048bbd0a252971be86d6579f0dfc87f8de5b9c47","source":"GitHub Advisory Database"},{"url":"https://github.com/fastify/fast-uri/commit/52774a5c35df36b0bbe439cd4c12c3dc0e50e3b9","source":"GitHub Advisory Database"},{"url":"https://github.com/fastify/fast-uri/commit/7c19f8b97ec51f1f20b4e3d9d5820cb8d5176058","source":"GitHub Advisory Database"},{"url":"https://github.com/fastify/fast-uri/commit/9eb8759a9825c046f57f7f695f1944bc39b88abd","source":"GitHub Advisory Database"},{"url":"https://github.com/fastify/fast-uri/commit/acc5c5d60c4209571789496e1732468911c7e12a","source":"GitHub Advisory Database"},{"url":"https://github.com/fastify/fast-uri/commit/b110a3571c37dfcf9d1c72ce2e2e178c78d1a424","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://cna.openjsf.org/security-advisories.html"},{"url":"https://github.com/fastify/fast-uri/releases/tag/v2.4.8","source":"GitHub Advisory Database"},{"url":"https://github.com/fastify/fast-uri/releases/tag/v3.1.9","source":"GitHub Advisory Database"},{"url":"https://github.com/fastify/fast-uri/releases/tag/v4.2.3","source":"GitHub Advisory Database"},{"url":"https://github.com/advisories/GHSA-xhq7-xmqj-769h","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","assessed_at":"2026-10-20T16:07:32.689199Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-23T21:45:04.902389903Z","content_hash":"95a0bc01a1fa4e787a10e3ab4913a788dd826ff4eeea775b903666d107754fc3"}}
