mcp-cve-project

CVE-2026-75062 | Google langfun lf.query eval injection (MCP-adjacent LLM protocol RCE) | Critical | 9.2

CVE Information

Field Value
CVE / NVD CVE-2026-75062
Date (index) 2026-08-26
Affected product (index) Google langfun (langfun): default lf.query protocol eval injection
GHSA ID GHSA-8x83-862f-c85r
OWASP MCP Top 10 (2025) MCP05 — Command Injection & Execution
Published / disclosed 2026-08-26
Ecosystem PyPI
Component langfun
EPSS score 0.003500000 (FIRST EPSS, 2026-09-26)
CVSS score 9.2 (v4)
CWE CWE-95 / CWE-1188
Affected versions < 0.1.2
Fixed versions 0.1.2
Fix status Patched
Exploit status Public advisory
Notes Added during 2026-09-07 gap review against NVD/GitHub Advisory MCP searches.

CVE Breakdown

What is the vulnerability?

Google langfun prior to 0.1.2 evaluated model-generated Python expressions via the default lf.query protocol without sandboxing, allowing remote unauthenticated code execution through crafted prompt inputs.

Attack prerequisites / exposure

Exposure depends on deployment: network-reachable MCP transports, enabled MCP features, local listeners without authentication, or trusted workspace/project MCP configuration treated as safe input.

CVE is because of what bug?

Insecure default lf.query protocol passes LLM output to eval() without sandboxing.

MCP-specific impact / why it matters

Any application piping untrusted prompt content through lf.query can be fully compromised; indexed because NVD associates it with Model Context Protocol keyword searches.

Where was the bug? (source + snippet)

Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / advisory.

Fix / Remediation

Upgrade to the vendor-fixed version where available. Restrict MCP listeners to trusted networks, disable MCP features when not required, and treat project/workspace MCP configuration as untrusted input.

Upstream fix (open source)

Exploit / PoC

Prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.

Detection / verification

Patch

Upgrade to langfun 0.1.2 or later.