CVE-2026-62675: Omnigent: Uploaded Agent Bundle Allows Authenticated Runner RCE via Python Callable Tools

Published Aug 21, 2026
·
Updated

Summary

An authenticated user can upload a crafted agent bundle that defines a server-side Python callable tool. The server validates the uploaded bundle, but it does not block dangerous callable: paths in untrusted user-provided agent configs.

When the tool is invoked, the runner imports and executes that Python callable. A crafted bundle can point the tool at subprocess.checkoutput, which lets the attacker run a local command on the runner machine.

This is serious because hosted Omnigent deployments can have multiple users and shared or managed runner hosts. A normal logged-in user should not be able to make the runner execute arbitrary local commands.

Details

The uploaded bundle path is reachable through session creation. Omnigent supports custom agent bundles through multipart POST /v1/sessions; the Web UI uses this same endpoint for custom agents:

Create custom agent builds and uploads a bundle \ createBundledSession posts the bundle to /v1/sessions

A crafted bundle can also be submitted directly through the API/CLI when creating a session from agent YAML. The PoC below uses this direct bundle shape so the vulnerable trust boundary is easy to reproduce.

On the server, uploaded bundles are validated here: validateagentbundle

The validator already treats uploaded bundles as untrusted in some ways. For example, it disables server-side environment expansion and can enforce a policy-handler allowlist: python spec = load( bundlebytes, dest=Path(tmpdir) / "agent", expandenv=False, enforcehandlerallowlist=enforcehandlerallowlist, ) However, the same validation does not reject tools.<name>.callable entries in an uploaded agent bundle. Python callable tools are an intended trusted/operator feature, but the upload path accepts them from tenant-provided bundles too.

The docs describe server-side Python callable tools here: Python function tool docs \ Later, the runner resolves and executes those callables: resolvespeccallable imports the dotted path python mod = importlib.importmodule(modulename) fn = getattr(mod, attrname, None) executespeccallabletool calls the resolved function python result = await asyncio.tothread(resolved, args) The high-level tool dispatcher falls back to this callable execution path: executetool callable fallback python output = await executespeccallabletool(toolname, args, agentspec=agentspec)

The problem is the trust boundary. Python callables are a trusted local developer feature, but uploaded agent bundles can be user-controlled in a hosted/multi-user server. The upload validator blocks some trusted-only policy behavior, but it does not block trusted-only tool callables.

Suggested fix: when validating HTTP-uploaded bundles on a shared/multi-user server, reject server-side Python callable tools unless they are explicitly allowlisted by the operator. A conservative fix would reject callable: tool paths for tenant-uploaded bundles, while keeping trusted local/operator-authored configs working.

Impact

This is authenticated RCE against the Omnigent runner environment. A normal authenticated user who can upload or create a custom agent bundle can declare a server-side Python callable and have the runner import and execute it.

Because the callable runs inside the runner process, the attacker-controlled code runs with the runner's permissions. In a hosted or multi-user deployment, this can expose runner-accessible files, environment variables, credentials, workspace data, internal services reachable from the runner, and runner availability.

This is high impact because it crosses the boundary from "upload an agent config" to "execute local code on shared runner infrastructure" without requiring admin/operator access.

Other sources

Omnigent is an open-source AI agent framework and meta-harness for orchestrating coding agents. Prior to 0.3.0, multipart POST /v1/sessions accepts an authenticated user's agent bundle and omnigent/server/bundles.py validateagentbundle does not reject a tools..callable dotted Python path. omnigent/runner/tooldispatch.py resolvespeccallable imports the specified module and executespeccallabletool invokes the resolved function, allowing a bundle to select subprocess.checkoutput and execute a local command with the runner process permissions. This can expose runner files, environment variables, credentials, workspace data, internal services, and availability without administrator access. This issue is fixed in version 0.3.0.

— MITRE

Affected Software

2 affected componentsFixes available
Omnigent Omnigent<0.3.0
pip/omnigent<0.3.0
0.3.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/omnigent to a version that resolves this vulnerability.

    Fixed in 0.3.0
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 0.3.0
  3. Configuration

    When validating HTTP-uploaded agent bundles for shared/multi-user deployments, reject server-side Python callable tool entries (e.g., tools.<name>.callable dotted Python paths) from tenant-provided bundles unless they are explicitly allowlisted by the operator.

    Omnigent server bundle validator (validate_agent_bundle / tools.<name>.callable handling) tools.<name>.callable (server-side Python callable tool path) = reject unless explicitly allowlisted by operator

Event History

Aug 21, 2026
CVE Published
via MITRE·05:49 PM
Data Sourced
via MITRE·05:49 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 PM
DescriptionSeverityWeakness
Sep 2, 2026
Advisory Published
via GitHub·09:54 PM
Data Sourced
via GitHub·09:54 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated user who can submit an agent bundle to the multipart POST /v1/sessions endpoint can exploit it. Administrator access is not required.

2

What access does successful code execution have?

Commands run with the permissions of the Omnigent runner process. This can expose runner files, environment variables, credentials, workspace data, and internal services, and can affect availability.

3

Are installations running version 0.3.0 affected?

The issue is fixed in version 0.3.0. Versions prior to 0.3.0 are affected according to the available information.

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