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.
Published: 2026-08-21
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Arbitrary host file system access
Action: Immediate Patch
AI Analysis

Impact

Omnigent is an AI agent framework that allows users to upload agent bundles. Before version 0.3.0 an authenticated user can set the os_env.cwd field in the bundle to an absolute or path‑traversal string. Because the framework stores this value without validation, the runner resolves it as a filesystem root and copies files from that location, enabling the attacker to read, write, edit, or execute arbitrary files on the host, including environment secrets. The flaw is a classic path‑traversal weakness identified as CWE‑22.

Affected Systems

The affected product is Omnigent, the AI agent framework provided by omnigent‑ai. All releases older than version 0.3.0 are vulnerable. No specific sub‑product is mentioned; the issue exists whenever the OMNIGENT_RUNNER_WORKSPACE environment variable is not set.

Risk and Exploitability

The CVSS score of 8.8 classifies the vulnerability as high severity. EPSS data is not available, but the lack of detection in the KEV catalog does not reduce the risk to an unprivileged host. An attacker only needs authenticated upload access and a runner configuration that leaves OMNIGENT_RUNNER_WORKSPACE unset. Once the malformed cwd is accepted, the attacker is effectively untrusted and can perform arbitrary reads and writes on the host file system, with possible exposure of sensitive secrets and potential lateral movement. Given the high score and the direct exploitation path, the risk of exploitation remains significant until a patch is applied.

Generated by OpenCVE AI on August 21, 2026 at 19:42 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to omnigent version 0.3.0 or later, where the os_env.cwd value is validated.
  • If an upgrade is not immediately possible, set the OMNIGENT_RUNNER_WORKSPACE environment variable to enforce a default workspace for all runners.
  • Restrict upload permissions so that only trusted users can submit agent bundles, and validate the cwd field to ensure it points inside the allowed workspace.

Generated by OpenCVE AI on August 21, 2026 at 19:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-p8rw-8qj3-hf33 Omnigent: Unvalidated os_env.cwd in agent bundle yields arbitrary host filesystem access on runners without OMNIGENT_RUNNER_WORKSPACE
History

Fri, 21 Aug 2026 22:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 21 Aug 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Omnigent-ai
Omnigent-ai omnigent
Vendors & Products Omnigent-ai
Omnigent-ai omnigent

Fri, 21 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
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.
Title Omnigent: Unvalidated os_env.cwd in agent bundle yields arbitrary host filesystem access on runners without OMNIGENT_RUNNER_WORKSPACE
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Omnigent-ai Omnigent
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-21T21:43:48.824Z

Reserved: 2026-07-14T20:22:04.395Z

Link: CVE-2026-62677

cve-icon Vulnrichment

Updated: 2026-08-21T21:00:12.652Z

cve-icon NVD

Status : Received

Published: 2026-08-21T18:16:49.887

Modified: 2026-08-21T22:16:41.803

Link: CVE-2026-62677

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T21:15:17Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')