CVE-2025-8020 private-ip vulnerable to Server-Side Request Forgery

High 8.8 Published Updated

Attackers can bypass private IP restrictions by using multicast addresses, potentially accessing internal network resources.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-8020?

CVE-2025-8020 is a high-severity server-side request forgery vulnerability in private-ip, published on 23 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

All versions of the package private-ip are vulnerable to Server-Side Request Forgery (SSRF) where an attacker can provide an IP or hostname that resolves to a multicast IP address (224.0.0.0/4) which is not included as part of the private IP ranges in the package's source code.

Weakness: CWE-918

Which versions are affected by CVE-2025-8020?

2 open source packages ship an affected version, including private-ip.

PackageAffectedFixed in
private-ip npmAll versions to 3.0.2None
private-ip npmAll versions to 3.0.2None

How do I fix CVE-2025-8020?

Upgrade to a fixed version.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2025-8020 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-8020 exists.

Sources

Also known as CLSA-2026-1791834096, GHSA-9h3q-32c7-r533.

Is CVE-2025-8020 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free