Vulnerability in Mastra-ai Mastra
CVE-2025-61685
Mastra is a Typescript framework for building AI agents and assistants. Versions 0.13.8 through 0.13.20-alpha.0 are vulnerable to a Directory Traversal attack that results in the disclosure of directory listings. The code contains a securi…
EPSS: 0.005 (66.0th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
Affected products
- Mastra-ai Mastra — versions <= 0.13.8, < 0.13.20
Weakness classification (CWE)
References
- https://github.com/mastra-ai/mastra/security/advisories/GHSA-xh92-rqrq-227v (x_refsource_CONFIRM)
- https://github.com/mastra-ai/mastra/commit/7f2b528ba82db512d68832d2f8ad6cbc8bb46cd4 (x_refsource_MISC)
Frequently asked questions
- What is CVE-2025-61685?
- CVE-2025-61685 is a medium-severity vulnerability in Mastra-ai Mastra, classified under CWE-548. CVSS score: 6.5/10. Published 2025-10-03.
- How severe is CVE-2025-61685?
- Medium severity. CVSS v3 base score is 6.5 out of 10.