p PatchFirst

CVE-2026-62677

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.8 · High · EPSS 0.6% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • omnigent

    Versions
    • < 0.3.0: Affected

    No fix published

  • omnigent PyPI

    Versions
    • 0.0.1rc1
    • 0.0.1rc2
    • 0.1.0
    • 0.1.0rc1
    • 0.1.0rc2
    • 0.1.0rc3
    • 0.1.0rc4
    • 0.1.1
    • 0.1.1rc2
    • 0.2.0
    • 0.2.0rc1
    • 0.3.0rc1
    Affected ranges
    • ECOSYSTEM: < 0.3.0

    Update to 0.3.0

Original sources

Check your server →