Code Execution
Remote code execution is unusually common in the AI/ML ecosystem because two long-standing patterns persist: pickle-based model loading and Jinja-style template rendering. Pickle is Python's default serialisation format and it executes arbitrary code on deserialisation; PyTorch models, scikit-learn pipelines, and many older HuggingFace artefacts are pickle files, so loading an untrusted model file is equivalent to running an untrusted script. HuggingFace addressed this with safetensors, but the older format is still widespread. The second pattern is template injection in LLM application frameworks that render Jinja-like syntax inside user-controlled prompts; LangChain, LlamaIndex, and several agent frameworks have shipped CVEs of this shape. Inference servers (vLLM, Triton, BentoML, Ray Serve) round out the RCE landscape with the usual web-app issues. Defenses: never load model files from untrusted sources, prefer safetensors, sandbox inference, and audit any code path that combines user input with template rendering.
| Severity | CVE | Headline | Package | CVSS |
|---|---|---|---|---|
| CRITICAL | CVE-2026-51882 | Langchain-Chatchat: path traversal in /v1/files file write | 9.1 | |
| CRITICAL | CVE-2026-51883 | Langchain-Chatchat: path traversal allows arbitrary file write | 9.1 | |
| CRITICAL | CVE-2026-51884 | Langchain-Chatchat: path traversal enables arbitrary file write | 9.8 | |
| HIGH | CVE-2026-51886 | Langflow: code injection in validate/code enables RCE | langflow | 8.8 |
| HIGH | CVE-2026-51888 | Langflow: absolute path traversal allows arbitrary file write | langflow | 7.5 |
| MEDIUM | CVE-2026-85492 | AIOSEO WordPress: DOM XSS via URL path in SEO Preview | 6.1 | |
| CRITICAL | CVE-2026-104019 | SageMaker Distribution: OS command injection exposes IAM creds | sagemaker | 9.0 |
| CRITICAL | GHSA-jqmf-mx4f-hfr6 | Vibe-Trading: unauth agent RCE via shell tools, exec | 10.0 | |
| CRITICAL | CVE-2025-1750 | LlamaIndex DuckDB: SQL injection enables file R/W and RCE | llama-index | 9.8 |
| HIGH | CVE-2026-105115 | OpenAM: unauthenticated class instantiation via JAX-RPC | 8.6 | |
| CRITICAL | CVE-2026-105697 | Langflow: MCP stdio command injection allows host RCE | lfx | 9.9 |
| CRITICAL | CVE-2026-105740 | Langflow: MCP Stdio command injection gives authenticated RCE | langflow | 9.9 |
| HIGH | CVE-2026-104851 | fsspec: Jinja2 SSTI in Kerchunk refs allows RCE | fsspec | 8.8 |
| HIGH | CVE-2026-102826 | simple-git: command injection via git clone config bypass | 8.1 | |
| HIGH | CVE-2026-86540 | Knowns: untrusted LSP binary path allows code execution | 7.8 | |
| HIGH | CVE-2026-104335 | Langflow OSS: improper access control enables RCE | Langflow OSS | 8.8 |
| CRITICAL | CVE-2026-104334 | Langflow: improper code generation control enables RCE | langflow | 9.8 |
| HIGH | CVE-2026-88962 | Langflow: authenticated code injection allows RCE | langflow | 8.8 |
| HIGH | CVE-2026-93443 | Langflow: code injection allows authenticated RCE | langflow | 8.8 |
| HIGH | CVE-2026-93445 | Langflow: code injection allows authenticated RCE | langflow | 8.8 |