CVE-2026-125368
OmniAgent through commit 12b98c5 contains an approval bypass vulnerability in ReflexionAgent._is_safe_bash_command that treats any command starting with find a…
Impact
OmniAgent through commit 12b98c5 contains an approval bypass vulnerability in ReflexionAgent._is_safe_bash_command that treats any command starting with find as safe without inspecting -execdir arguments. Prompt-injected agents can run find with -execdir to invoke binaries like dd, nc, perl or openssl through an unsandboxed shell, overwriting files or executing code without human approval.
An attacker can exploit this over the network, without logging in, but a user has to do something, such as open a file or a link. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products · YeQing17-2026
| Product | Affected versions |
|---|---|
| OmniAgent | through 12b98c520959eff88a6cfa3dd233497084360ab0 Version 0 ≤12b98c520959eff88a6cfa3dd233497084360ab0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/YeQing17-2026/OmniAgent/issues/67
- https://github.com/YeQing17-2026/OmniAgent
- https://github.com/YeQing17-2026/OmniAgent/blob/12b98c520959eff88a6cfa3dd233497084360ab0/omniagent/agents/reflexion.py#L1379
- https://www.vulncheck.com/advisories/omniagent-bash-approval-gate-bypass-via-find-execdir-in-safe-command-allowlist
- https://github.com/advisories/GHSA-3ph8-93x7-786r
- https://nvd.nist.gov/vuln/detail/CVE-2026-125368