CVE-2026-140133 mcp-use - Command Injection

mcp-use <= 1.7.1 contains a command injection caused by manipulation of the "code" argument in _build_namespace function of CodeExecutor component, letting remote attackers execute arbitrary code, exploit requires remote access.

CVSS base score 7.3 /10
High
CISA KEV
Not listed
Public exploit
None known
Authentication
Not required
EPSS
0.56% chance of exploitation in 30 days
View the NVD record ↗

Details

Type
Command Injection
Impact
Remote Code Execution
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Published
1 December 2026
Updated
3 December 2026
Weakness
CWE-74

Vendor fix

Update to the latest version or use external sandbox providers as recommended.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

References

← All CVEs