Advisory Details

June 23rd, 2025

ServiceStack FindType Directory Traversal Remote Code Execution Vulnerability

ZDI-25-416
ZDI-CAN-25837

CVE ID CVE-2025-6445
CVSS SCORE 8.1, AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS ServiceStack
AFFECTED PRODUCTS ServiceStack
VULNERABILITY DETAILS

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.

ADDITIONAL DETAILS ServiceStack has issued an update to correct this vulnerability. More details can be found at:
https://docs.servicestack.net/releases/v8_06#reported-vulnerabilities
DISCLOSURE TIMELINE
  • 2024-11-19 - Vulnerability reported to vendor
  • 2025-06-23 - Coordinated public release of advisory
  • 2025-06-23 - Advisory Updated
CREDIT Piotr Bazydlo (@chudypb) of Trend Micro Zero Day Initiative
BACK TO ADVISORIES