CVE-2025-70952 pf4j is vulnerable to Path Traversal or Zip Slip attack through improper handling of zip entry names
Attackers can exploit path traversal in pf4j's unzip function to write files outside the intended directory, potentially leading to code execution.
- 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-70952?
CVE-2025-70952 is a high-severity path traversal vulnerability in n/a, published on 25 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
pf4j before 20c2f80 has a path traversal vulnerability in the extract() function of Unzip.java, where improper handling of zip entry names can allow directory traversal or Zip Slip attacks, due to a lack of proper path normalization and validation.
Weakness: CWE-22
Which versions are affected by CVE-2025-70952?
2 open source packages ship an affected version, including org.pf4j:pf4j. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.pf4j:pf4j Maven | All versions | 3.14.1 |
org.pf4j:pf4j Maven | All versions | 3.14.1 |
Products include Pf4j Project Pf4j.
How do I fix CVE-2025-70952?
Upgrade org.pf4j:pf4j to 3.14.1 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2025-70952 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-70952 exists.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2025-70952, GHSA-5458-7hh9-v7p4, MINI-c44m-f6gj-8f2h, MINI-g4jx-jfh8-fgpc, UBUNTU-CVE-2025-70952.