Incident report
Symbolic Math Tool Wrapper Arbitrary Code Execution via Unsafe Evaluation
Public CVE advisory documenting arbitrary code execution in an experimental agent math utility where model-supplied strings passed through unsafe dynamic evaluation.
Incident record
- Reported
- Severity
- Critical
- Vector
- Tool/MCP Abuse
- Affected system type
- LLM Agent Math & Symbolic Evaluation Plugins
- Reference
CVE-2024-46946- Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2024-46946
Defensive lesson
Never pass LLM outputs into eval()-backed parsers such as unfiltered sympify(); use deterministic AST calculators or isolated gVisor/WebAssembly sandboxes.
Referenced techniques
- AI Agent Tool Invocation AML.T0053
- LLM Prompt Injection AML.T0051