CVE-2026-5007

medium

Description

A vulnerability was identified in kazuph mcp-docs-rag up to 0.5.0. Affected is the function cloneRepository of the file src/index.ts of the component add_git_repository/add_text_file. The manipulation leads to os command injection. The attack needs to be performed locally. The exploit is publicly available and might be used. The project was informed of the problem early through an issue report but has not responded yet.

References

https://vuldb.com/vuln/353892/cti

https://vuldb.com/vuln/353892

https://vuldb.com/submit/779152

https://github.com/user-attachments/files/25822451/mcp-docs-rag_bug.pdf

https://github.com/kazuph/mcp-docs-rag/issues/7

https://github.com/kazuph/mcp-docs-rag/

Details

Source: Mitre, NVD

Published: 2026-03-28

Updated: 2026-03-28

Risk Information

CVSS v2

Base Score: 4.3

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

Severity: Medium

CVSS v3

Base Score: 5.3

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

Severity: Medium

CVSS v4

Base Score: 4.8

Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Severity: Medium

EPSS

EPSS: 0.00178