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

Published Aug 21, 2026
·
Updated

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 osenv.cwd value because omnigent/spec/parser.py stores the value verbatim and omnigent/spec/validator.py does not constrain it. On a runner where OMNIGENTRUNNERWORKSPACE is unset, omnigent/runner/resourceregistry.py preserves the attacker-controlled path and omnigent/inner/osenv.py uses the resolved path as the environment root and copytree source. The assertwithincwd check then treats that attacker-selected root as trusted, allowing sysosread, 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.

Affected Software

1 affected component
Omnigent omnigent<0.3.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade omnigent to a version that resolves this vulnerability.

    Fixed in 0.3.0

Event History

Aug 21, 2026
CVE Published
via MITRE·05:44 PM
Data Sourced
via MITRE·05:44 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Deployments running Omnigent versions before 0.3.0 are exposed when a runner has OMNIGENT_RUNNER_WORKSPACE unset. The vulnerable path handling applies to session-scoped agent bundles supplied by authenticated users.

2

What does an attacker need to exploit the vulnerability?

An attacker needs authenticated access and the ability to upload a session-scoped agent bundle. They can provide an absolute or traversal-containing os_env.cwd value; no user interaction is required.

3

What access could exploitation provide?

The attacker-selected path can become the trusted environment root, allowing the agent's read, write, edit, and shell tools to operate on runner filesystem locations outside the intended workspace. This can expose environment secrets and permit modification of host files.

4

How can I determine whether a runner is at risk?

Check whether the deployment runs a version earlier than 0.3.0 and whether OMNIGENT_RUNNER_WORKSPACE is unset on its runners. Also review whether authenticated users can upload session-scoped agent bundles containing os_env.cwd values.

5

What should be done if upgrading is not immediately possible?

Set OMNIGENT_RUNNER_WORKSPACE on affected runners to avoid the condition in which the attacker-controlled path is preserved. Restrict upload access for session-scoped agent bundles until the deployment can be updated to 0.3.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203