CVE-2026-5007
published medium CVSS 4.0 · 4.8kazuph mcp-docs-rag add_git_repository/add_text_file index.ts cloneRepository os command injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| kazuph | — | mcp-docs-rag0.1 · 0.2 · 0.3 · 0.4 · 0.5.0 | Affected | Not stated | VulDB |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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/E:P
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulDB · cna | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R | — |
| 3.0 | 5.3 | medium | VulDB · cna | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R | — |
| 2.0 | 4.3 | medium | VulDB · cna | AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| kazuph | mcp-docs-rag | 0.1 (affected)0.2 (affected)0.3 (affected)0.4 (affected)0.5.0 (affected) | VulDB · cna |
Weaknesses
2- CWE-78 OS Command Injection
- CWE-77 Command Injection
References
6- https://github.com/kazuph/mcp-docs-rag/
- https://github.com/kazuph/mcp-docs-rag/issues/7
- https://github.com/user-attachments/files/25822451/mcp-docs-rag_bug.pdf
- Submit #779152 | kazuph mcp-docs-rag <= 0.5.0 Command Injection https://vuldb.com/submit/779152
- VDB-353892 | kazuph mcp-docs-rag add_git_repository/add_text_file index.ts cloneRepository os command injection https://vuldb.com/vuln/353892
- VDB-353892 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/vuln/353892/cti
Provider assertions
2VulDB · cna
kazuph mcp-docs-rag add_git_repository/add_text_file index.ts cloneRepository os command injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e33477e9e0adaaccfe909dc13c4b1015bd7399a733add7939e330bbda90a3a16
- Ingested
- 23 Sep 2026, 09:22:51 UTC
- Source record
- Official CVE record