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.

CVSS base score
7.3 (v3.1)
Severity
HIGH
Attack vector
Network
Weakness
CWE-74, CWE-94
Last modified
December 1, 2026
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

References

View full NVD advisory →

Published the same day

← Back to CVE watch