SCA: security update for mcp-package-docs (GHSA-vf9j-h32g-2764)

high Tenable Self-Hosted Container Security Plugin ID 434788

Description

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

- mcp-package-docs is an MCP (Model Context Protocol) server that provides LLMs with efficient access to
package documentation across multiple programming languages and language server protocol (LSP)
capabilities. A command injection vulnerability exists in the `mcp-package-docs` MCP Server prior to the
fix in commit cb4ad49615275379fd6f2f1cf1ec4731eec56eb9. The vulnerability is caused by the unsanitized use
of input parameters within a call to `child_process.exec`, enabling an attacker to inject arbitrary system
commands. Successful exploitation can lead to remote code execution under the server process's privileges.
The server constructs and executes shell commands using unvalidated user input directly within command-
line strings. This introduces the possibility of shell metacharacter injection (`|`, `>`, `&&`, etc.).
Commit cb4ad49615275379fd6f2f1cf1ec4731eec56eb9 in version 0.1.27 contains a fix for the issue, but
upgrading to 0.1.28 is recommended. (CVE-2025-54073)

See Also

https://github.com/advisories/GHSA-vf9j-h32g-2764

Plugin Details

Severity: High

ID: 434788

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 8/20/2025

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.9

Percentile: 96.95

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.6

Temporal Score: 5.6

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

CVSS Score Source: CVE-2025-54073

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 8/5/2025

Vulnerability Publication Date: 7/18/2025

Reference Information

CVE: CVE-2025-54073

cwe: CWE-77