CVE-2026-62674: Omnigent: Shared Agent Bundle Overwrite Leads to Authenticated Runner RCE
Summary An authenticated user with edit access to their own session can overwrite a shared/template agent by uploading a full agent bundle through PUT /sessions/{sessionid}/agent. Shared/template agents are shown as not MCP-editable, but this upload path still accepts a replacement bundle.
Published Sep 2, 2026
Affected packages
omnigent
- Ecosystem
- PyPI
- Affected
- < 0.3.0
- Fixed in
- 0.3.0
- Check
pip show omnigent
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
An authenticated user with edit access to their own session can overwrite a shared/template agent by uploading a full agent bundle through PUT /sessions/{session_id}/agent.
Shared/template agents are shown as not MCP-editable, but this upload path still accepts a replacement bundle. By adding a stdio MCP server to the shared agent, the attacker can cause future runner sessions using that shared agent to start an attacker-controlled command.
Details
The vulnerable endpoint is the full agent bundle upload route: `PUT /sessions/{session_id}/agent` This route checks whether the caller can edit the session: `LEVEL_EDIT` session permission check But it does not check whether the bound agent is a shared/template agent. Shared/template agents have:
agent.session_id is NoneThe API already exposes that these agents are not meant to be MCP-editable: `mcp_servers_editable` is false for shared/template agents The direct MCP edit endpoint correctly blocks shared/template agents: `session_mcp_servers.py` shared-agent guard
if agent.session_id is None:
raise OmnigentError("Built-in agents are read-only through this endpoint.")The full bundle upload endpoint is missing that same guard. It stores the uploaded bundle and updates the agent row: `agent_store.update(agent.id, new_loc)` For shared/template agents, this changes the shared agent itself, not only the attacker's session. This becomes command execution because stdio MCP servers start the configured command as a runner subprocess: `tools/mcp.py` stdio subprocess launch
Suggested fix: add the same agent.session_id is None guard to PUT /sessions/{session_id}/agent.
Impact
This is authenticated RCE against Omnigent runner hosts. A normal authenticated user with edit access to their own session can poison a shared/template agent bundle, even though that agent is shown as not MCP-editable. The poisoned bundle can then be used by future sessions created from the same shared agent.
Because stdio MCP servers run as local subprocesses, the attacker-controlled command executes with the permissions of the Omnigent runner process. In a shared or company-hosted deployment, this can let an attacker read runner-accessible files and credentials, modify workspace data, disrupt runner availability, pivot to internal services reachable from the runner, or establish an interactive remote shell if outbound networking is allowed.
This is high impact because it turns normal shared-agent session access into command execution on runner infrastructure used by other sessions.
Credited to xttraa.
References
- https://github.com/omnigent-ai/omnigent/security/advisories/GHSA-jrrm-9hc7-2v3h
- https://nvd.nist.gov/vuln/detail/CVE-2026-62674
- 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
- https://github.com/advisories/GHSA-jrrm-9hc7-2v3h
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Other MCP servers and tools vulnerabilities
All Other MCP servers and tools entriesCVE-2026-77361
obsidian-tc : Symlink read-ACL scope bypass via lexical path checks
medium4.7Oct 23, 2026CVE-2026-114126
Storybook dev server vulnerable to code injection from the local network
high8.7Oct 22, 2026CVE-2026-113731
djust: Arbitrary absolute-path file read in the find_handlers_for_template MCP tool
low3.3Oct 21, 2026CVE-2026-114125
Storybook: Missing origin validation in Storybook preview allows code injection from malicious websites
critical9.4Oct 21, 2026CVE-2026-111770
MCP TypeScript server SDK: Shared transport or server instances delivered one HTTP client's messages to another
high7.7Oct 20, 2026GHSA-953h-535j-jg2v
agent-router: MCP session resume does not verify the embedded anti-hijacking subject; default Helm seed makes session IDs forgeable
medium6.8Oct 19, 2026
