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 |
|---|---|---|---|---|
| HIGH | CVE-2026-58116 | LLaMA-Factory: RCE via malicious model path | llama-factory | 8.8 |
| MEDIUM | CVE-2026-41863 | Spring AI: path traversal via LLM-chosen filenames | org.springframework.ai:spring-ai-anthropic | 6.5 |
| CRITICAL | CVE-2026-10134 | Langflow: unauthenticated RCE via tool_code injection | langflow | 10.0 |
| MEDIUM | CVE-2026-10546 | Langflow: SSRF via DNS rebinding in URL component | langflow | 6.5 |
| CRITICAL | CVE-2026-7663 | Langflow: auth bypass in MCP transport exposes projects | langflow | 9.8 |
| CRITICAL | CVE-2026-7803 | Langflow: malformed flow nodes enable RCE | langflow | 9.8 |
| CRITICAL | CVE-2026-7871 | Langflow: Redis-access deserialization enables full RCE | langflow | 9.8 |
| CRITICAL | CVE-2026-7873 | Langflow: authenticated RCE enables credential theft | langflow | 9.9 |
| HIGH | CVE-2025-71349 | picklescan: bypass allows undetected pickle RCE | picklescan | 8.1 |
| HIGH | CVE-2025-71350 | picklescan: scanner bypass enables pickle RCE | torch | 8.1 |
| HIGH | CVE-2025-71352 | picklescan: RCE bypass via trace.Trace.runctx | picklescan | 8.1 |
| UNKNOWN | CVE-2025-71355 | Picklescan: NumPy gadget bypass enables pickle RCE | picklescan | - |
| HIGH | CVE-2025-71363 | picklescan: scanner bypass enables pickle RCE | picklescan | 8.1 |
| HIGH | CVE-2025-71368 | picklescan: scan bypass lets malicious pickles hit RCE | picklescan | 8.1 |
| HIGH | CVE-2025-71371 | picklescan: malicious pickle bypasses RCE scan | picklescan | 8.1 |
| HIGH | CVE-2025-71374 | picklescan: scanner bypass enables pickle RCE | picklescan | 8.1 |
| CRITICAL | CVE-2026-56278 | Flowise: hardcoded default secret enables session forgery | Flowise | 9.1 |
| MEDIUM | CVE-2026-56356 | n8n: stored XSS in Chat Trigger Custom CSS field | n8n | 5.4 |
| MEDIUM | CVE-2026-56399 | Open WebUI: SSRF in web retrieval hits internal services | open-webui | 5.0 |
| MEDIUM | CVE-2026-56777 | n8n: AST validator bypass leaks env vars in Python node | n8n | 5.0 |