Skip to content
OpenAdvisories
High · 7.1 CVE-2026-62676 EUVD-2026-64014GHSA-7mqg-cx4g-x2rfPYSEC-2026-3873

Omnigent Guardrail policy bypass: shell-command parser fails open in policies/builtins/_shell.py

Published Aug 21, 2026 · Updated Aug 26, 2026 · Assigned by GitHub_M

Description

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 products

VendorProductAffectedFixed
omnigent-ai omnigent < 0.3.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI omnigent < 0.3.0 0.3.0 GHSA-7mqg-cx4g-x2rf

References