Vulnerability · Published Aug 21, 2026 · Assigned by GitHub_M
CVE-2026-62676Omnigent Guardrail policy bypass: shell-command parser fails open in policies/builtins/_shell.py
High 7.1
In plain English
A high-severity security flaw in omnigent from omnigent-ai. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | omnigent | 0.3.0 | GHSA-7mqg-cx4g-x2rf |
| PyPI | omnigent | 0.3.0 | PYSEC-2026-3873 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| omnigent-ai | omnigent | < 0.3.0 |
Weakness: CWE-184 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
References
- https://github.com/omnigent-ai/omnigent/security/advisories/GHSA-7mqg-cx4g-x2rf x_refsource_CONFIRM
- https://github.com/omnigent-ai/omnigent/pull/389 x_refsource_MISC
- https://github.com/omnigent-ai/omnigent/commit/1a05b7b139ef504bf2be89bf37918abe104fb95c x_refsource_MISC
- https://github.com/omnigent-ai/omnigent/releases/tag/v0.3.0 x_refsource_MISC