CVE-2026-47394: Agent Tool Static File Access Bypass

Agent tool classes exposing file operations as static methods bypass instance-level workspace isolation and permission checking. This architectural limitation prevents enforcing session-specific boundaries (like read-only sandboxes) and can lead to arbitrary file read/write vulnerabilities via LLM manipulation. Migrate these methods to instance methods that

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0Python
greprules fetch cve-2026-47394-agent-tool-static-file-access-bypass --engine opengrep

Description

Agent tool classes exposing file operations as static methods bypass instance-level workspace isolation and permission checking. This architectural limitation prevents enforcing session-specific boundaries (like read-only sandboxes) and can lead to arbitrary file read/write vulnerabilities via LLM manipulation. Migrate these methods to instance methods that