PT-2025-40606

CVE-2025-61685

·

Published

2025-09-24

·

Updated

2026-10-19

Description by

CVSS 3.1
6.5
Medium
MetricsAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions Mastra versions 0.13.8 through 0.13.20-alpha.0
Description Mastra, a Typescript framework for building AI agents and assistants, is susceptible to a Directory Traversal issue. The framework includes a security check intended to prevent path traversal when reading file contents, but this check is bypassed by subsequent logic used to find directory suggestions. This allows an attacker to list the contents of arbitrary directories on the user's filesystem, potentially exposing sensitive information about the file system's structure, including the user's home directory.
Recommendations Update to version 0.13.20 or later.
Exploitability
Exploit
Fix
Researchers
Vendors
Affected products
Related identifiers
GHSA-XH92-RQRQ-227V
Found an issue in the description? Have something to add? Feel free to write us 👾