Path Traversal in Omnigent-Ai Omnigent
CVE-2026-62677
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.
Vulnerability class: Path Traversal (Directory Traversal)
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Omnigent-ai Omnigent — versions < 0.3.0
Weakness classification (CWE)
References
- https://github.com/omnigent-ai/omnigent/security/advisories/GHSA-p8rw-8qj3-hf33 (x_refsource_CONFIRM)
- https://github.com/omnigent-ai/omnigent/pull/1417 (x_refsource_MISC)
- https://github.com/omnigent-ai/omnigent/commit/7ca0cca3c9a65c04c489edf68f0e080424a26868 (x_refsource_MISC)
- https://github.com/omnigent-ai/omnigent/releases/tag/v0.3.0 (x_refsource_MISC)
Frequently asked questions
- What is CVE-2026-62677?
- CVE-2026-62677 is a high-severity vulnerability in Omnigent-Ai Omnigent, classified under Path Traversal. CVSS score: 8.8/10. Published 2026-08-21.
- How severe is CVE-2026-62677?
- High severity. CVSS v3 base score is 8.8 out of 10.