{"id":"CVE-2026-125368","summary":"OmniAgent Bash Approval Gate Bypass via find -execdir in Safe-Command Allowlist","details":"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.","modified":"2026-11-14T02:31:07.925525929Z","published":"2026-11-09T23:27:40.568Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-184"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125368.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125368.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125368"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/omniagent-bash-approval-gate-bypass-via-find-execdir-in-safe-command-allowlist"},{"type":"REPORT","url":"https://github.com/YeQing17-2026/OmniAgent/issues/67"},{"type":"PACKAGE","url":"https://github.com/YeQing17-2026/OmniAgent"},{"type":"ARTICLE","url":"https://github.com/YeQing17-2026/OmniAgent/blob/12b98c520959eff88a6cfa3dd233497084360ab0/omniagent/agents/reflexion.py#L1379"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/yeqing17-2026/omniagent","events":[{"introduced":"0"},{"last_affected":"12b98c520959eff88a6cfa3dd233497084360ab0"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"12b98c520959eff88a6cfa3dd233497084360ab0"}]}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-125368.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}