CVE-2025-6445 ServiceStack FindType Directory Traversal Remote Code Execution Vulnerability

High 8.1 Published Updated

Remote attackers can execute arbitrary code via directory traversal in the FindType method of the ServiceStack library.

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

CVE-2025-6445 is a high-severity path traversal vulnerability in ServiceStack, published on 25 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

ServiceStack FindType Directory Traversal Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of ServiceStack. Interaction with this library is required to exploit this vulnerability but attack vectors may vary depending on the implementation.

The specific flaw exists within the implementation of the FindType method. The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-25837.

Weakness: CWE-22

Which versions are affected by CVE-2025-6445?

It affects 1 product.

Products include Servicestack Servicestack.

How do I fix CVE-2025-6445?

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

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

Sources

Also known as GHSA-5r4f-7fg6-r3hw.

Is CVE-2025-6445 in your software?

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

Check your SBOMs for free