CVE-2026-62677 Omnigent: Unvalidated os_env.cwd in agent bundle yields arbitrary host filesystem access on runners without OMNIGENT_RUNNER_WORKSPACE
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
Omnigent is an open-source AI agent framework and meta-harness for orchestrating coding agents. Prior to 0.3.0, an authenticated user can upload a session-scoped agent bundle with an absolute or traversal-containing os_env.cwd value because omnigent/spec/parser.py stores the value verbatim and omnigent/spec/validator.py does not constrain it. On a runner where OMNIGENT_RUNNER_WORKSPACE is unset, omnigent/runner/resource_registry.py preserves the attacker-controlled path and omnigent/inner/os_env.py uses the resolved path as the environment root and copytree source. The _assert_within_cwd check then treats that attacker-selected root as trusted, allowing sys_os_read, write, edit, and shell tools to access runner files and environment secrets outside the intended workspace. This issue is fixed in version 0.3.0.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi omnigent(PyPI) | < 0.3.0; = 0.0.1rc1; = 0.0.1rc2; = 0.1.0 +9 more | 0.3.0 | Fixed |
| omnigent-ai omnigent | = < 0.3.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi omnigent(PyPI) | < 0.3.0 | 0.3.0 |
| pypi omnigent(PyPI) | = 0.0.1rc1 | No fix listed |
| pypi omnigent(PyPI) | = 0.0.1rc2 | No fix listed |
| pypi omnigent(PyPI) | = 0.1.0 | No fix listed |
| pypi omnigent(PyPI) | = 0.1.0rc1 | No fix listed |
| pypi omnigent(PyPI) | = 0.1.0rc2 | No fix listed |
| pypi omnigent(PyPI) | = 0.1.0rc3 | No fix listed |
| pypi omnigent(PyPI) | = 0.1.0rc4 | No fix listed |
| pypi omnigent(PyPI) | = 0.1.1 | No fix listed |
| pypi omnigent(PyPI) | = 0.1.1rc2 | No fix listed |
| pypi omnigent(PyPI) | = 0.2.0 | No fix listed |
| pypi omnigent(PyPI) | = 0.2.0rc1 | No fix listed |
| pypi omnigent(PyPI) | = 0.3.0rc1 | No fix listed |
| omnigent-ai omnigent | = < 0.3.0 | No fix listed |
References
- https://github.com/omnigent-ai/omnigent/security/advisories/GHSA-p8rw-8qj3-hf33 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/omnigent-ai/omnigent/pull/1417 patch
- https://github.com/omnigent-ai/omnigent/commit/7ca0cca3c9a65c04c489edf68f0e080424a26868 patch
- github.com product
- https://github.com/omnigent-ai/omnigent/releases/tag/v0.3.0
- pypi.org product
- github.com vendor-advisory
- ENISA EUVD EUVD-2026-64015 third-party-advisory