CVE-2025-34047 Leadsec VPN Path Traversal Arbitrary File Read
Unauthenticated attackers can read arbitrary files on Leadsec SSL VPN devices via path traversal in the client download endpoint.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-34047?
CVE-2025-34047 is a high-severity path traversal vulnerability in Beijing NetGuard Nebula Information Technology Co., Ltd. Leadsec SSL VPN, published on 26 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A path traversal vulnerability exists in the Leadsec SSL VPN (formerly Lenovo NetGuard), allowing unauthenticated attackers to read arbitrary files on the underlying system via the ostype parameter in the /vpn/user/download/client endpoint. This flaw arises from insufficient input sanitation, enabling traversal sequences to escape the intended directory and access sensitive files. Exploitation evidence was observed by the Shadowserver Foundation on 2025-02-05 UTC.
Which versions are affected by CVE-2025-34047?
How do I fix CVE-2025-34047?
No fix has been published for CVE-2025-34047 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2025-34047 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-34047 exists.
Sources
Also known as GHSA-f369-pp94-cgwp.