CVE-2026-140133: Vulnerability in Mcp-use

Patch soon. A vulnerability was determined in mcp-use up to 1.7.1. Affected by this vulnerability is the function _build_namespace of the file libraries/python/mcp_use/client/code_executor.py of the component CodeExecutor. Executing a manipulation of the argument code can lead to code injection. The attack can be launched remotely. The project maintainer explains, that the built-in Python sandbox executor is not meant for...

CWE-94, CWE-74

Exploitation
None confirmed
Severity
7.3 of 10
Attack likelihood
Unknown
Fix
None recorded
Patch deadline
No deadline set

Details

Advisory ID
GHSA-c2cv-qv6m-wqf7
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-94, CWE-74
Published
1 Dec 2026
Last change
1 Dec 2026

Affected products

Affected versions and the first fixed release

  • Mcp-use Versions 1.7.0, 1.7.1. No fixed version recorded
  • Mcp-use Versions 1.7.0, 1.7.1. No fixed version recorded

Advisories

Vendor and security advisories

Related