CVE-2026-47397: Unsafe Static File Mutation Agent

File manipulation within a static class method may bypass stateful sandbox authorization boundaries, such as workspace permission checks. Ensure file-modifying agent tools are instance methods that explicitly authorize the operation against a configured sandbox.

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0Python
greprules fetch cve-2026-47397-unsafe-static-file-mutation-agent --engine opengrep

Description

File manipulation within a static class method may bypass stateful sandbox authorization boundaries, such as workspace permission checks. Ensure file-modifying agent tools are instance methods that explicitly authorize the operation against a configured sandbox.