{"id":"CVE-2026-62674","summary":"Omnigent: Shared Agent Bundle Overwrite Leads to Authenticated Runner RCE","details":"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.","aliases":["GHSA-jrrm-9hc7-2v3h","PYSEC-2026-3874"],"modified":"2026-09-20T11:30:52.225538470Z","published":"2026-08-21T17:47:37.976Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-94"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62674.json"},"references":[{"type":"WEB","url":"https://github.com/omnigent-ai/omnigent/releases/tag/v0.3.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62674.json"},{"type":"ADVISORY","url":"https://github.com/omnigent-ai/omnigent/security/advisories/GHSA-jrrm-9hc7-2v3h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62674"},{"type":"FIX","url":"https://github.com/omnigent-ai/omnigent/commit/25a22dc9e6da4648d23749f0a589e47e6aed991b"},{"type":"FIX","url":"https://github.com/omnigent-ai/omnigent/pull/1418"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/omnigent-ai/omnigent","events":[{"introduced":"0"},{"fixed":"25a22dc9e6da4648d23749f0a589e47e6aed991b"},{"fixed":"4edb4d95b95fd2748f3f119628936d75511918e9"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"0.3.0"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v0.3.0rc1","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62674.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"}]}