A vulnerability was determined in mcp-use up to 1.7.1.
- CVSS
- 7.3High
- Chance of exploitation (EPSS)
- 0.57%
- Published
- Dec 1, 2026
- In the news
- Not yet
What to do
A serious code injection flaw that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Description
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.
Affected products
Get alerts for these →No product list yet. It usually appears within a few days of publication.
Timeline 1
Latest change: CVE-2026-140133 published (CVSS 7.3) (Dec 1, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Tue, Dec 1, 2026
- CVECVE-2026-140133 published (CVSS 7.3)CVE Program · 08:17 UTC
References 7
- github.com /mcp-use/mcp-use/
- github.com /mcp-use/mcp-use/issues/2816
- github.com /mcp-use/mcp-use/security/advisories/GHSA-j72j-pww4-gg46
- vuldb.com /cve/CVE-2026-140133
- vuldb.com /submit/1084774
- vuldb.com /vuln/446843
- vuldb.com /vuln/446843/cti