Browse / Improper Output Handling / Code and command execution
Code and command execution
12 records in Improper Output Handling.
- Langflow: Prompt injection in Langflow Smart Transform can lead to code execution Smart Transform eval()s a lambda the LLM returns after weak format checks, so injected instructions can make the model produce executable Python.
- Flowise: Pyodide validator Unicode homoglyph bypass leads to RCE A regex blacklist on generated Python misses Unicode homoglyph identifiers that Python normalises to dunder names, so forbidden access to builtins runs in the sandbox.
- Aider is vulnerable to Code Injection via editor_coder.run function Model-generated content from Architect mode reaches an editor code path without sanitisation, so attacker-influenced text is executed as code.
- FoundationAgents MetaGPT vulnerable to eval injection Model-generated XML content is passed into eval during ActionNode.xml_fill, so crafted model output causes arbitrary code to run on the server.
- Hugging Face Smolagents has an Injection issue The local Python executor that runs agent-generated code fails to block some constructs, so crafted code escapes its restrictions and runs commands.
- Malicious website can execute commands on the local system through XSS in the OpenCode web UI Unsanitised markdown from model responses runs script on the local web UI origin, which then calls a process-spawning API to run commands.
- vLLM has remote code execution vulnerability in the tool call parser for Qwen3-Coder The Qwen3-Coder tool-call parser calls eval() on tool parameters of unrecognised type, so model-generated arguments containing Python code run on the server.
- Langchain vulnerable to arbitrary code execution via the evaluate function in the numexpr library Attacker-influenced text reaching numexpr's evaluate function in LangChain runs arbitrary code, because the library passes that text to an unsafe evaluator.
- LangChain vulnerable to arbitrary code execution Crafted input to helper chains makes the model generate Python that the chain runs without adequate checks, letting a remote party execute arbitrary code.
- llama-index vulnerable to arbitrary code execution Query-engine code generated by the model is passed to Python exec, so crafted model output or prompts can run arbitrary code on the host.
- langchain vulnerable to arbitrary code execution PALChain passes model-generated Python to exec, so crafted prompts can make the host run arbitrary code.
- langchain arbitrary code execution vulnerability Python code generated by the LLM is passed to exec in PALChain, so model output runs as code on the host.