Omnigent
Omnigent Guardrail policy bypass: shell-command parser fails open in policies/builtins/_shell.py
Omnigent is an open-source AI agent framework and meta-harness for orchestrating coding agents. Prior to 0.3.0, the shared shell-command parser in omnigent/policies/builtins/_shell.py fails to recognize combined interpreter flags, the timeout, nice, setsid, and stdbuf wrappers, command substitutions, and a single background control operator. A gated git push or gh write hidden with these forms produces no parsed operation, causing the github.py write_repos and write_branches allowlist and the working_dir.py workspace confinement policies to abstain and allow the command. An authenticated or prompt-injected agent can therefore push to an unauthorized repository or branch or escape the intended workspace. This issue is fixed in version 0.3.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.3.0
Fixed in 0.3.0
Mitigation
Upgrade omnigent to 0.3.0 or later.
References
- Vendor advisory github.com/omnigent-ai/omnigent/security/advis…
- Patch github.com/omnigent-ai/omnigent/pull/389
- Patch github.com/omnigent-ai/omnigent/commit/1a05b7b…
1 more
- Release notes github.com/omnigent-ai/omnigent/releases/tag/v…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.