CVE-2026-54722 dssrf: there a critical security bug with remove_at_symbol_in_string
Attackers can bypass internal IP validation in the dssrf library to access internal services via crafted URLs.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-54722?
CVE-2026-54722 is a high-severity server-side request forgery vulnerability in HackingRepo dssrf-js, published on 30 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
DSSRF is a Node.js library that provides a wide range of utilities and advanced SSRF defense checks. Prior to 1.0.4, is_url_safe in src/helpers.ts strips the @ userinfo delimiter with remove_at_symbol_in_string before new URL parses the URL, allowing an attacker-controlled URL to bypass internal-IP validation and cause a client using the original URL to reach an internal service. This issue is fixed in version 1.0.4.
Weakness: CWE-76
Which versions are affected by CVE-2026-54722?
2 open source packages ship an affected version, including dssrf.
| Package | Affected | Fixed in |
|---|---|---|
dssrf npm | All versions | 1.0.4 |
dssrf npm | All versions | 1.0.4 |
How do I fix CVE-2026-54722?
Upgrade dssrf to 1.0.4 or later.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2026-54722 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-54722 exists.
Sources
Also known as GHSA-cg4g-m8jx-vjv2.