إرسال #807752: 54yyyu code-mcp 4cfc4643541a110c906d93635b391bf7e357f4a8 Command Injectionالمعلومات

عنوان54yyyu code-mcp 4cfc4643541a110c906d93635b391bf7e357f4a8 Command Injection
الوصفThe MCP tool git_operation is intended to execute git subcommands, but it concatenates user-controlled input into a shell command string and executes it with shell=True. The existing denylist only blocks a few git keywords (reset --hard, clean -f) and does not neutralize shell metacharacters. As a result, an attacker can append arbitrary shell payloads and execute commands outside intended git-only behavior.
المصدر⚠️ https://github.com/54yyyu/code-mcp/issues/5
المستخدم
 CPT_Penner (UID 97246)
ارسال18/04/2026 08:29 PM (2 أشهر منذ)
الاعتدال04/05/2026 11:26 PM (16 days later)
الحالةتمت الموافقة
إدخال VulDB361072 [54yyyu code-mcp حتى 4cfc4643541a110c906d93635b391bf7e357f4a8 MCP Tool src/code_mcp/server.py git_operation تجاوز الصلاحيات]
النقاط20

Might our Artificial Intelligence support you?

Check our Alexa App!