OmniAgent: ReflexionAgent command injection via find (CVE-2026-125368)
OmniAgent contains an approval bypass vulnerability in the ReflexionAgent._is_safe_bash_command method, allowing prompt-injected agents to execute arbitrary binaries via the find -execdir flag.
CVE search metadata
CVE search record: CVE-2026-125368. Severity: high. CVSS: 7.5. KEV: no. Product: OmniAgent (<= 12b98c5). Brief: OmniAgent: ReflexionAgent command injection via find (CVE-2026-125368). Brief link: https://feed.craftedsignal.io/briefs/2026-11-omniagent-bypass/
Triage facts
Revision 1- Applicability
- OmniAgent (<= 12b98c5)
- Evidence
- Unknown
- Severity
- High
- Action
- Elevated
- Sources
- 1 public source
- Freshness
- Revision 1Nov 10, 02:04 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A1Likely
OmniAgent through commit 12b98c5 contains an approval bypass vulnerability in the ReflexionAgent._is_safe_bash_command function. The component incorrectly validates shell commands by only checking if they start with the 'find' utility, failing to inspect the arguments passed to the '-execdir' flag. This allows an attacker to bypass human-in-the-loop security controls.
Impact
An attacker can leverage prompt injection to force the agent to execute unauthorized binaries such as 'dd', 'nc', 'perl', or 'openssl' within an unsandboxed shell environment. This results in the potential for arbitrary code execution or unauthorized file modification on the host running the agent.
Recommendation
- Inventory all instances of OmniAgent running versions up to commit 12b98c5.
- Audit application logs for calls to 'find' that include the '-execdir' argument within agent-managed shell execution environments.
- Implement input validation or restrict binary execution at the OS level for environments hosting OmniAgent to prevent the execution of sensitive binaries like 'nc' or 'dd' by the agent process.
Immediate actions
Audit shell execution logs for usage of the find command with the -execdir flag
Threat Hunt
Identify shell processes initiated by the OmniAgent service that contain the find utility with the -execdir flag
Data: Process command line logging
Mitigations
Restrict binary path execution permissions for the user account running OmniAgent
CVE-2026-125368