CVE-2026-140133: mcp-use · Injection
Source GCVE Database
Public exploit available · CVSS 6.9 Medium.
Data as of 1 Dec 2026, 10:16 UTC
Thin evidence
One scorer or none| CNA (VulDB) | CVSS 4.0 | 6.9 |
|---|---|---|
| CNA (VulDB) | CVSS 3.1 | 7.3 |
| CNA (VulDB) | CVSS 3.0 | 7.3 |
| CNA (VulDB) | CVSS 2.0 | 7.5 |
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 1 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| mcp-use | Affected
| Fixed in– |
PyPImcp-usepkg:pypi/mcp-useOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should avoid using the built-in Python sandbox executor in production environments and instead rely on external sandbox providers as recommended by the project maintainer. Monitor the project for any future updates or patches addressing this vulnerability.
Description
A code injection vulnerability exists in the mcp-use project up to version 1.7.1 in the _build_namespace function of the CodeExecutor component. This vulnerability arises from manipulation of the argument 'code' and can be exploited remotely. The project maintainer advises that the built-in Python sandbox executor is not intended for production use and recommends using external sandbox providers.
References
- github.com/mcp-use/mcp-use/security/advisories/GHSA-j72j-pww4-gg46 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-140133 (opens in a new tab)
- github.com/mcp-use/mcp-use/issues/2816 (opens in a new tab)
- github.com/mcp-use/mcp-use (opens in a new tab)
- vuldb.com/cve/CVE-2026-140133 (opens in a new tab)
- vuldb.com/submit/1084774 (opens in a new tab)
- vuldb.com/vuln/446843 (opens in a new tab)
- vuldb.com/vuln/446843/cti (opens in a new tab)