PT-2026-164569
CVE-2026-140133
·
Published
2026-12-01
·
Updated
2026-12-01
Description by
CVSS 2.0
7.5
HighMetricsAV:N/AC:L/Au:N/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions
mcp-use versions prior to 1.7.2
Description
Remote code injection is possible within the CodeExecutor component due to improper handling of the
code argument in the build namespace() function located in libraries/python/mcp use/client/code executor.py. This issue occurs because the built-in Python sandbox executor is not designed for production environments.Recommendations
Update to version 1.7.2 or later.
As a temporary mitigation, avoid using the built-in Python sandbox executor and rely on external sandbox providers.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾