LIVE LOG · recorded complete source-check dates between October 14 and December 1, 2026; excludes entries with incomplete or unverified source checks · site updated Nov 12, 2026, 12:09 AM ET

← All incidents

mcp-use CodeExecutor code injection (CVE-2026-140133)

Vulnerability · mcp-use · HIGH

Incident date
DisclosedDec 1, 2026 (GitHub advisory)
Added hereDec 1, 8:35 AM ET
Last verifiedDec 1, 2026

Summary

Per the vendor advisory, mcp-use up to 1.7.1 has a code injection flaw in the _build_namespace function of the CodeExecutor component, reached by manipulating the code argument. The advisory says the attack can be launched remotely. The project maintainer says the built-in Python sandbox executor is not meant for production use and users should rely on external sandbox providers.

Severity

HIGH CVSS score 7.3 rates High; the GitHub advisory labels it Medium.

Kit, our email provider, gets your address only to send the newsletter. Every email has an unsubscribe link. Privacy policy.

Timeline

  1. Dec 1, 2026
    Advisory GHSA-c2cv-qv6m-wqf7 (CVE-2026-140133) published. (per the vendor advisory)

How it happened

Per the vendor advisory, the function _build_namespace in libraries/python/mcp_use/client/code_executor.py (component CodeExecutor) is affected. Manipulating the code argument can lead to code injection, and the attack can be launched remotely.

How to check your app

Sources

Corrections and updates

None. Re-checked against every source on Dec 1, 2026.

Cite this entry
Title
mcp-use CodeExecutor code injection (CVE-2026-140133)
Added
Dec 1, 2026
URL
https://vibeincidents.com/incidents/mcp-use-cve-2026-140133/
Suggested citation
VibeIncidents. "mcp-use CodeExecutor code injection (CVE-2026-140133)." Dec 1, 2026. https://vibeincidents.com/incidents/mcp-use-cve-2026-140133/