{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-5007",
        "assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
        "state": "PUBLISHED",
        "assignerShortName": "VulDB",
        "dateReserved": "2026-03-27T13:54:30.447Z",
        "datePublished": "2026-03-28T18:30:12.170Z",
        "dateUpdated": "2026-04-01T14:10:05.012Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
                "shortName": "VulDB",
                "dateUpdated": "2026-03-28T18:30:12.170Z"
            },
            "title": "kazuph mcp-docs-rag add_git_repository/add_text_file index.ts cloneRepository os command injection",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "cweId": "CWE-78",
                            "lang": "en",
                            "description": "OS Command Injection"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "cweId": "CWE-77",
                            "lang": "en",
                            "description": "Command Injection"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "kazuph",
                    "product": "mcp-docs-rag",
                    "versions": [
                        {
                            "version": "0.1",
                            "status": "affected"
                        },
                        {
                            "version": "0.2",
                            "status": "affected"
                        },
                        {
                            "version": "0.3",
                            "status": "affected"
                        },
                        {
                            "version": "0.4",
                            "status": "affected"
                        },
                        {
                            "version": "0.5.0",
                            "status": "affected"
                        }
                    ],
                    "modules": [
                        "add_git_repository/add_text_file"
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "version": "4.0",
                        "baseScore": 4.8,
                        "vectorString": "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",
                        "baseSeverity": "MEDIUM"
                    }
                },
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "baseScore": 5.3,
                        "vectorString": "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",
                        "baseSeverity": "MEDIUM"
                    }
                },
                {
                    "cvssV3_0": {
                        "version": "3.0",
                        "baseScore": 5.3,
                        "vectorString": "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",
                        "baseSeverity": "MEDIUM"
                    }
                },
                {
                    "cvssV2_0": {
                        "version": "2.0",
                        "baseScore": 4.3,
                        "vectorString": "AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR"
                    }
                }
            ],
            "timeline": [
                {
                    "time": "2026-03-27T00:00:00.000Z",
                    "lang": "en",
                    "value": "Advisory disclosed"
                },
                {
                    "time": "2026-03-27T01:00:00.000Z",
                    "lang": "en",
                    "value": "VulDB entry created"
                },
                {
                    "time": "2026-03-27T14:59:36.000Z",
                    "lang": "en",
                    "value": "VulDB entry last update"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Yinci Chen (VulDB User)",
                    "type": "reporter"
                }
            ],
            "references": [
                {
                    "url": "https://vuldb.com/vuln/353892",
                    "name": "VDB-353892 | kazuph mcp-docs-rag add_git_repository/add_text_file index.ts cloneRepository os command injection",
                    "tags": [
                        "vdb-entry",
                        "technical-description"
                    ]
                },
                {
                    "url": "https://vuldb.com/vuln/353892/cti",
                    "name": "VDB-353892 | CTI Indicators (IOB, IOC, TTP, IOA)",
                    "tags": [
                        "signature",
                        "permissions-required"
                    ]
                },
                {
                    "url": "https://vuldb.com/submit/779152",
                    "name": "Submit #779152 | kazuph mcp-docs-rag <= 0.5.0 Command Injection",
                    "tags": [
                        "third-party-advisory"
                    ]
                },
                {
                    "url": "https://github.com/kazuph/mcp-docs-rag/issues/7",
                    "tags": [
                        "issue-tracking"
                    ]
                },
                {
                    "url": "https://github.com/user-attachments/files/25822451/mcp-docs-rag_bug.pdf",
                    "tags": [
                        "exploit"
                    ]
                },
                {
                    "url": "https://github.com/kazuph/mcp-docs-rag/",
                    "tags": [
                        "product"
                    ]
                }
            ]
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-04-01T14:09:39.324412Z",
                                "id": "CVE-2026-5007",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-04-01T14:10:05.012Z"
                }
            }
        ]
    }
}