Host command execution via regex-bypassed bash validation
Published Apr 1, 2026 · Updated Apr 1, 2026
Sandbox escape in DeerFlow before commit 92c7a20 allows remote attackers to execute host commands through an agent's bash tool. LocalSandboxProvider validates only regex-matched absolute paths, then passes the rewritten command to a host shell that still interprets directory changes and relative paths. An attacker must induce an agent to invoke bash while the local provider exposes host shell access; successful execution reads or modifies host files.
Summary
What happened
Sandbox escape in DeerFlow before commit 92c7a20 allows remote attackers to execute host commands through an agent's bash tool. LocalSandboxProvider validates only regex-matched absolute paths, then passes the rewritten command to a host shell that still interprets directory changes and relative paths. An attacker must induce an agent to invoke bash while the local provider exposes host shell access; successful execution reads or modifies host files.
The record
- CVE
- CVE-2026-34430
- Published
- Apr 1, 2026
- Updated
- Apr 1, 2026
- Vendor
- ByteDance
- Product
- DeerFlow
- Classifications
- CWE-184, T1059.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 1, 2026CVE publishedPublication date reported by the CVE source.
- Apr 1, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <92c7a20cb74addc3038d2131da78f2e239ef542e
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo