Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
CVE Vulnerability Details :
CVE-2025-54073
PUBLISHED
More InfoOfficial Page
Assigner-GitHub_M
Assigner Org ID-a0819718-46f1-4df5-94e2-005712e83aaa
View Known Exploited Vulnerability (KEV) details
Published At-18 Jul, 2025 | 15:45
Updated At-22 Jul, 2025 | 18:31
Rejected At-
▼CVE Numbering Authority (CNA)
mcp-package-docs vulnerable to command injection in several tools

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.

Affected Products
Vendor
sammcj
Product
mcp-package-docs
Versions
Affected
  • < 0.1.27
Problem Types
TypeCWE IDDescription
CWECWE-77CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
Type: CWE
CWE ID: CWE-77
Description: CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
Metrics
VersionBase scoreBase severityVector
3.17.5HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Version: 3.1
Base score: 7.5
Base severity: HIGH
Vector:
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/sammcj/mcp-package-docs/security/advisories/GHSA-vf9j-h32g-2764
x_refsource_CONFIRM
https://github.com/sammcj/mcp-package-docs/commit/cb4ad49615275379fd6f2f1cf1ec4731eec56eb9
x_refsource_MISC
https://equixly.com/blog/2025/03/29/mcp-server-new-security-nightmare
x_refsource_MISC
https://github.com/advisories/GHSA-3q26-f695-pp76
x_refsource_MISC
https://github.com/advisories/GHSA-5w57-2ccq-8w95
x_refsource_MISC
https://github.com/advisories/GHSA-gjv4-ghm7-q58q
x_refsource_MISC
https://github.com/sammcj/mcp-package-docs/releases/tag/v0.1.27
x_refsource_MISC
https://github.com/sammcj/mcp-package-docs/releases/tag/v0.1.28
x_refsource_MISC
https://invariantlabs.ai/blog/mcp-github-vulnerability
x_refsource_MISC
Hyperlink: https://github.com/sammcj/mcp-package-docs/security/advisories/GHSA-vf9j-h32g-2764
Resource:
x_refsource_CONFIRM
Hyperlink: https://github.com/sammcj/mcp-package-docs/commit/cb4ad49615275379fd6f2f1cf1ec4731eec56eb9
Resource:
x_refsource_MISC
Hyperlink: https://equixly.com/blog/2025/03/29/mcp-server-new-security-nightmare
Resource:
x_refsource_MISC
Hyperlink: https://github.com/advisories/GHSA-3q26-f695-pp76
Resource:
x_refsource_MISC
Hyperlink: https://github.com/advisories/GHSA-5w57-2ccq-8w95
Resource:
x_refsource_MISC
Hyperlink: https://github.com/advisories/GHSA-gjv4-ghm7-q58q
Resource:
x_refsource_MISC
Hyperlink: https://github.com/sammcj/mcp-package-docs/releases/tag/v0.1.27
Resource:
x_refsource_MISC
Hyperlink: https://github.com/sammcj/mcp-package-docs/releases/tag/v0.1.28
Resource:
x_refsource_MISC
Hyperlink: https://invariantlabs.ai/blog/mcp-github-vulnerability
Resource:
x_refsource_MISC
▼Authorized Data Publishers (ADP)
CISA ADP Vulnrichment
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/advisories/GHSA-gjv4-ghm7-q58q
exploit
https://github.com/advisories/GHSA-5w57-2ccq-8w95
exploit
https://github.com/advisories/GHSA-3q26-f695-pp76
exploit
https://github.com/sammcj/mcp-package-docs/security/advisories/GHSA-vf9j-h32g-2764
exploit
Hyperlink: https://github.com/advisories/GHSA-gjv4-ghm7-q58q
Resource:
exploit
Hyperlink: https://github.com/advisories/GHSA-5w57-2ccq-8w95
Resource:
exploit
Hyperlink: https://github.com/advisories/GHSA-3q26-f695-pp76
Resource:
exploit
Hyperlink: https://github.com/sammcj/mcp-package-docs/security/advisories/GHSA-vf9j-h32g-2764
Resource:
exploit
Details not found