CVE-2025-40629 Path Traversal vulnerability in PNETLab

High 8.7 Published Updated

Attackers can read sensitive files outside the intended directory by manipulating file paths in HTTP requests in PNETLab.

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-40629?

CVE-2025-40629 is a high-severity path traversal vulnerability in PNETLab, published on 16 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

PNETLab 4.2.10 does not properly sanitize user inputs in its file access mechanisms. This allows attackers to perform directory traversal by manipulating file paths in HTTP requests. Specifically, the application is vulnerable to requests that access sensitive files outside the intended directory.

Weakness: CWE-22

Which versions are affected by CVE-2025-40629?

How do I fix CVE-2025-40629?

No fix has been published for CVE-2025-40629 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-40629 being exploited?

There is no known exploitation of CVE-2025-40629 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-xwfw-xfh4-73wv.

Is CVE-2025-40629 in your software?

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

Check your SBOMs for free