CVE-2026-62677 json
Omnigent: Unvalidated os_env.cwd in agent bundle yields arbitrary host filesystem access on runners without OMNIGENT_RUNNER_WORKSPACE
published 2026-08-21 2 mo ago modified 2026-10-14 25 d ago also GHSA-p8rw-8qj3-hf33 , PYSEC-2026-3875 , EUVD-2026-64015
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 49%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi omnigent 0.3.0
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 mo ago
Exploit prediction
0.61% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | omnigent | <0.3.0 |
0.3.0 |
Affected products
- omnigent-ai omnigent
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/omnigent-ai/omnigent/pull/1417
web
-
github.com
/omnigent-ai/omnigent/commit/7ca0cca3c9a65c04c489edf68f0e080424a26868
web
-
github.com
/omnigent-ai/omnigent/security/advisories/GHSA-p8rw-8qj3-hf33
web
-
github.com
/omnigent-ai/omnigent/releases/tag/v0.3.0
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-62677
advisory
-
github.com
/omnigent-ai/omnigent
package
-
pypi.org
/project/omnigent
package
-
github.com
/advisories/GHSA-p8rw-8qj3-hf33
advisory
Sources
- CVE List CVE-2026-62677
- GitHub Advisory GHSA-p8rw-8qj3-hf33
- NVD CVE-2026-62677
- OSV PYSEC-2026-3875
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.