mastra-ai mastra up to 0.13.19/0.13.20-alpha.0 exposure of information through directory listing
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.3 | $0-$5k | 0.00 |
Summary
A vulnerability labeled as problematic has been found in mastra-ai mastra up to 0.13.19/0.13.20-alpha.0. This affects an unknown function. The manipulation results in exposure of information through directory listing. This vulnerability is cataloged as CVE-2025-61685. The attack may be launched remotely. There is no exploit available. The affected component should be upgraded.
Details
A vulnerability was found in mastra-ai mastra up to 0.13.19/0.13.20-alpha.0. It has been classified as problematic. Affected is an unknown part. The manipulation with an unknown input leads to a exposure of information through directory listing vulnerability. CWE is classifying the issue as CWE-548. A directory listing is inappropriately exposed, yielding potentially sensitive information to attackers. This is going to have an impact on confidentiality. CVE summarizes:
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 security check to prevent path traversal for reading file contents, but this check is effectively bypassed by subsequent logic that attempts to find directory suggestions. An attacker can leverage this flaw to list the contents of arbitrary directories on the user's filesystem, including the user's home directory, exposing sensitive information about the file system's structure. This issue is fixed in version 0.13.20.
The advisory is available at github.com. This vulnerability is traded as CVE-2025-61685 since 09/29/2025. The exploitability is told to be easy. It is possible to launch the attack remotely. The technical details are unknown and an exploit is not available. This vulnerability is assigned to T1083 by the MITRE ATT&CK project.
Upgrading to version 0.13.20 eliminates this vulnerability. Applying the patch 7f2b528ba82db512d68832d2f8ad6cbc8bb46cd4 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Type
Vendor
Name
Version
- 0.13.0
- 0.13.1
- 0.13.2
- 0.13.3
- 0.13.4
- 0.13.5
- 0.13.6
- 0.13.7
- 0.13.8
- 0.13.9
- 0.13.10
- 0.13.11
- 0.13.12
- 0.13.13
- 0.13.14
- 0.13.15
- 0.13.16
- 0.13.17
- 0.13.18
- 0.13.19
- 0.13.20-alpha
License
Website
- Product: https://github.com/mastra-ai/mastra/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.4VulDB Meta Temp Score: 5.3
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 6.5
CNA Vector (GitHub_M): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Exposure of information through directory listingCWE: CWE-548 / CWE-552 / CWE-425
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: mastra 0.13.20
Patch: 7f2b528ba82db512d68832d2f8ad6cbc8bb46cd4
Timeline
09/29/2025 CVE reserved10/04/2025 Advisory disclosed
10/04/2025 VulDB entry created
10/04/2025 VulDB entry last update
Sources
Product: github.comAdvisory: GHSA-xh92-rqrq-227v
Status: Confirmed
CVE: CVE-2025-61685 (🔒)
GCVE (CVE): GCVE-0-2025-61685
GCVE (VulDB): GCVE-100-326994
Entry
Created: 10/04/2025 07:51Changes: 10/04/2025 07:51 (66)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.