BurtTheCoder mcp-maigret Command Injection Vulnerability in Username Search Component

Vulnerability

A command injection vulnerability has been identified in BurtTheCoder mcp-maigret versions through 1.0.12. The issue resides in the username search functionality, specifically within the file src/index.ts. The vulnerability allows for remote exploitation by manipulating the 'username' parameter, which is not properly validated before being used in command execution.

Impact

Exploitation of this vulnerability allows for arbitrary command execution on the server where mcp-maigret is running.

Reproduction

To reproduce this vulnerability, send a request to the mcp-maigret server's 'search_username' tool with a crafted 'username' parameter. The input should include characters that can be interpreted as command instructions. The server's response will indicate whether the command injection was successful.

Remediation

Upgrade to mcp-maigret version 1.0.13, which addresses the vulnerability by replacing the 'exec' function with 'execFile' to prevent shell command injection. The update also includes improved input validation for usernames, URLs, and tags. Version 1.0.13 is available on the project's GitHub releases page.

Added: Feb 8, 2026, 3:19 AM
Updated: Feb 8, 2026, 3:19 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
8.7
remediation
0.0
relevance
2.6
threat
6.4
urgency
2.9
incentive
4.2

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.