CVE-2026-42598 Pode: Directory Traversal is possible on Static Routes

Medium 6.9 Published Updated

Attackers can read arbitrary files from the server via directory traversal in static routes of the Pode PowerShell web framework.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-42598?

CVE-2026-42598 is a medium-severity path traversal vulnerability in Badgerati Pode, published on 14 May 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Pode is a Cross-Platform PowerShell web framework for creating REST APIs, Web Sites, and TCP/SMTP servers. From 2.4.0, to before 2.13.0, when requesting content from a Static Route, it was possible to request paths such as http://localhost:8080/c:/Windows/System32/drivers/etc/hosts and have the contents returned. This vulnerability is fixed in 2.13.0.

Weakness: CWE-22

Which versions are affected by CVE-2026-42598?

How do I fix CVE-2026-42598?

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

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

Sources

Also known as GHSA-7rhp-w8fv-h99q.

Is CVE-2026-42598 in your software?

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

Check your SBOMs for free