Mastra Docs MCP Server `@mastra/mcp-docs-server` Leads to Information Exposure
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| mastra-ai | mastra | affected |
|
No data.
No data.
| Vendor | Product | Versions |
|---|---|---|
| Mastra-ai | Mastra | — |
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2025-32426 | 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. |
Github GHSA |
GHSA-xh92-rqrq-227v | Mastra Docs MCP Server `@mastra/mcp-docs-server` Leads to Information Exposure |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.594% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Mastra-ai
Mastra-ai mastra |
|
| Vendors & Products |
Mastra-ai
Mastra-ai mastra |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | Mastra Docs MCP Server `@mastra/mcp-docs-server` Leads to Information Exposure | |
| Weaknesses | CWE-548 | |
| References |
| |
| Metrics |
cvssV3_1
|