# CVE-2026-62677: Omnigent: Unvalidated os_env.cwd in agent bundle yields arbitrary host filesystem access on runners without OMNIGENT_RUNNER_WORKSPACE

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Published: 2026-08-21T17:44:37.312Z
- Modified: 2026-10-14T19:10:00.297Z
- Also known as: GHSA-p8rw-8qj3-hf33, PYSEC-2026-3875
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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, 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.

(As written by CVE List.)

## Affected

- omnigent-ai omnigent: < 0.3.0
- omnigent (PyPI): before 0.3.0

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/omnigent-ai/omnigent/security/advisories/GHSA-p8rw-8qj3-hf33> (web)
- <https://github.com/omnigent-ai/omnigent/pull/1417> (web)
- <https://github.com/omnigent-ai/omnigent/commit/7ca0cca3c9a65c04c489edf68f0e080424a26868> (web)
- <https://github.com/omnigent-ai/omnigent/releases/tag/v0.3.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-62677> (advisory)
- <https://github.com/omnigent-ai/omnigent> (package)
- <https://pypi.org/project/omnigent> (package)
- <https://github.com/advisories/GHSA-p8rw-8qj3-hf33> (advisory)

## Sources

- CVE List: [CVE-2026-62677](https://www.cve.org/CVERecord?id=CVE-2026-62677), CVE Terms of Use, modified 2026-08-21
- GitHub Advisory Database: [GHSA-p8rw-8qj3-hf33](https://github.com/advisories/GHSA-p8rw-8qj3-hf33), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-62677](https://nvd.nist.gov/vuln/detail/CVE-2026-62677), Public domain, modified 2026-10-14
- PyPA Advisory Database: [PYSEC-2026-3875](https://osv.dev/vulnerability/PYSEC-2026-3875), CC-BY-4.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-62677 · Whole record: https://cve.day/CVE-2026-62677.json · Rebuilt by cve.day 2026-11-25T22:59:34.806Z
