CVE-2026-62674: CWE-94: Improper Control of Generation of Code ('Code Injection') in omnigent-ai omnigent
Description
CVE-2026-62674 is a critical code injection vulnerability in the omnigent-ai omnigent framework prior to version 0.3.0. It allows an authenticated user with edit access to a session to replace a shared agent bundle lacking a session ID and inject attacker-controlled commands. These commands execute with the permissions of the Omnigent runner process, potentially exposing sensitive files, credentials, workspace data, internal services, and affecting runner availability. The issue is fixed in version 0.3.0.
CVSS v3.1
Score 9.0critical
Affected software
omnigent-ai
omnigent
pkg:github/omnigent-ai/omnigentRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Omnigent is an open-source AI agent framework. Before version 0.3.0, the PUT /sessions/{session_id}/agent endpoint checks for LEVEL_EDIT permission but does not reject a bound shared or template agent whose agent.session_id is None. This allows an authenticated user with edit access to replace the shared agent bundle, add a stdio MCP server, and cause subsequent sessions using the shared agent to execute attacker-controlled commands via omnigent/tools/mcp.py. The commands run with the Omnigent runner process permissions, risking exposure of files, credentials, workspace data, internal services, and availability. The vulnerability is addressed in version 0.3.0.
Potential Impact
An attacker with authenticated edit access to a session can execute arbitrary commands with the privileges of the Omnigent runner process. This can lead to full compromise of the runner environment, including exposure of sensitive files, credentials, workspace data, internal services, and denial of service by affecting runner availability.
Mitigation Recommendations
Upgrade omnigent to version 0.3.0 or later, where this vulnerability is fixed. No other mitigations are specified. Since this is not a cloud service, remediation depends on applying the official fix.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-07-14T20:22:04.395Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a88906bacd9273b497ffd4b
Added to database: 08/21/2026, 17:52:43 UTC
Last enriched: 09/10/2026, 18:20:47 UTC
Last updated: 10/05/2026, 18:48:21 UTC
Views: 74
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.