CVE-2026-47393: Ai Agent Uncontained File Operation

AI agent tools (classes with Tool, Skill, or Agent in the name) are exposing file operations via static methods. This typically indicates a lack of per-agent workspace or sandbox containment, making the application vulnerable to path traversal and arbitrary file manipulation by the LLM. Implement these as instance methods and enforce instance-bound workspace

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0Python
greprules fetch cve-2026-47393-ai-agent-uncontained-file-operation --engine opengrep

Description

AI agent tools (classes with Tool, Skill, or Agent in the name) are exposing file operations via static methods. This typically indicates a lack of per-agent workspace or sandbox containment, making the application vulnerable to path traversal and arbitrary file manipulation by the LLM. Implement these as instance methods and enforce instance-bound workspace