Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-5007: OS Command Injection in kazuph mcp-docs-rag

0
Medium
VulnerabilityCVE-2026-5007cvecve-2026-5007
Published: Sat Mar 28 2026 (03/28/2026, 18:30:12 UTC)
Source: CVE Database V5
Vendor/Project: kazuph
Product: mcp-docs-rag

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/05/2026, 10:37:22 UTC

Technical Analysis

This vulnerability allows an attacker with local access and limited privileges to inject OS commands via the cloneRepository function in kazuph mcp-docs-rag versions 0.1 through 0.5.0. The injection occurs due to improper handling of input in the add_git_repository/add_text_file component's source code. The project maintainers were notified early but have not provided a fix or mitigation. The exploit code is publicly accessible, increasing the risk of exploitation despite the requirement for local access.

Potential Impact

Successful exploitation could allow an attacker with local access to execute arbitrary OS commands on the affected system with the privileges of the running process. This could lead to unauthorized actions or system compromise depending on the environment and privileges. However, remote exploitation is not possible, limiting the attack surface to local users.

Mitigation Recommendations

No official patch or fix is currently available as the vendor has not responded to the issue report. Users should restrict local access to trusted users only and monitor for any suspicious activity related to this component. Check the vendor's project repository or advisories regularly for updates or patches addressing this vulnerability.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulDB
Date Reserved
2026-03-27T13:54:30.447Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69c823142b68dbd88eadbffe

Added to database: 3/28/2026, 6:51:00 PM

Last enriched: 4/5/2026, 10:37:22 AM

Last updated: 5/12/2026, 10:45:17 PM

Views: 65

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses