SCA: security update for @mastra/mcp-docs-server (GHSA-xh92-rqrq-227v)

medium Tenable Self-Hosted Container Security Plugin ID 435594

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2025-61685)

See Also

https://github.com/advisories/GHSA-xh92-rqrq-227v

Plugin Details

Severity: Medium

ID: 435594

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 10/13/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.14

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:N/A:N

CVSS Score Source: CVE-2025-61685

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 9/24/2025

Vulnerability Publication Date: 9/24/2025

Reference Information

CVE: CVE-2025-61685

cwe: CWE-548