CVE-2026-140133

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 production use and users should rely on external sandbox providers.
Configurations

No configuration.

History

01 Dec 2026, 08:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-12-01 08:17

Updated : 2026-12-01 14:18


NVD link : CVE-2026-140133

Mitre link : CVE-2026-140133

CVE.ORG link : CVE-2026-140133


JSON object : View

Products Affected

No product.

CWE
CWE-74

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

CWE-94

Improper Control of Generation of Code ('Code Injection')