CVE-2026-2130

BurtTheCoder mcp-maigret search_username index.ts command injection

Published Feb 8, 2026 CVSS 4.0 · 5.3 Medium EPSS 2.0% KEV · Not listed
Description
A vulnerability was determined in BurtTheCoder mcp-maigret up to 1.0.12. This affects an unknown part of the file src/index.ts of the component search_username. Executing a manipulation of the argument Username can lead to command injection. The attack may be launched remotely. Upgrading to version 1.0.13 is able to mitigate this issue. This patch is called b1ae073c4b3e789ab8de36dc6ca8111ae9399e7a. Upgrading the affected component is advised.

Analysis

AI-generated

Technical impact

A command injection flaw has been identified in the search_username function of mcp-maigret’s src/index.ts. The vulnerability allows an attacker to inject arbitrary shell commands through the Username argument, which is then passed to the system shell without proper validation. This corresponds to CWE-74 and CWE-77 weaknesses. If exploited, the attacker can run arbitrary commands on the host, compromising confidentiality, integrity, and availability of the affected system.

Affected Systems

The flaw exists in all releases of BurtTheCoder’s mcp-maigret up to and including version 1.0.12. Version 1.0.13 incorporates a fix that removes the unsafe command execution path. The component affected is the search_username feature within src/index.ts.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity, while the EPSS score of 2% suggests a low likelihood of exploitation at present. The vulnerability is not listed in the CISA KEV catalog. The attack vector is remote, presumably via requests to the search_username endpoint exposed by the application. The patch mitigates the risk by preventing the injection of malicious commands.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade mcp-maigret to the patched release 1.0.13 or later.
  • Restrict access to the search_username endpoint so that only authenticated, authorized users can invoke it.
  • Implement or enforce input validation that sanitizes or rejects shell metacharacters before the value is passed to any shell execution context.

Generated by OpenCVE AI on June 18, 2026 at 05:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-2g7v-hghf-grg4 mcp-maigret vulnerable to command injection
History
Type Values Removed Values Added
First Time appeared Burtthecoder maigret Mcp Server
CPEs cpe:2.3:a:burtthecoder:maigret_mcp_server:*:*:*:*:*:*:*:*
Vendors & Products Burtthecoder maigret Mcp Server
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Burtthecoder
Burtthecoder mcp-maigret
Vendors & Products Burtthecoder
Burtthecoder mcp-maigret
Type Values Removed Values Added
Description A vulnerability was determined in BurtTheCoder mcp-maigret up to 1.0.12. This affects an unknown part of the file src/index.ts of the component search_username. Executing a manipulation of the argument Username can lead to command injection. The attack may be launched remotely. Upgrading to version 1.0.13 is able to mitigate this issue. This patch is called b1ae073c4b3e789ab8de36dc6ca8111ae9399e7a. Upgrading the affected component is advised.
Title BurtTheCoder mcp-maigret search_username index.ts command injection
Weaknesses CWE-74
CWE-77
References
Metrics cvssV2_0

{'score': 6.5, 'vector': 'AV:N/AC:L/Au:S/C:P/I:P/A:P/E:ND/RL:OF/RC:C'}

cvssV3_0

{'score': 6.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C'}

cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X'}

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Feb 23, 2026, 9:36 AM
Reserved
Feb 6, 2026, 8:49 PM
Status
Analyzed
Published
Feb 8, 2026, 3:15 AM
Modified
Jun 17, 2026, 10:30 AM