Skip to main content
EPSS 0.6%top 53%

CVE-2026-62677: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in omnigent-ai omnigent

0
High
VulnerabilityCVE-2026-62677cvecve-2026-62677cwe-22
Published: 08/21/2026 (08/21/2026, 17:44:37 UTC)
Source: CVE Database V5
Vendor/Project: omnigent-ai
Product: omnigent

Description

Omnigent is an open-source AI agent framework and meta-harness for orchestrating coding agents. Prior to 0.3.0, an authenticated user can upload a session-scoped agent bundle with an absolute or traversal-containing os_env.cwd value because omnigent/spec/parser.py stores the value verbatim and omnigent/spec/validator.py does not constrain it. On a runner where OMNIGENT_RUNNER_WORKSPACE is unset, omnigent/runner/resource_registry.py preserves the attacker-controlled path and omnigent/inner/os_env.py uses the resolved path as the environment root and copytree source. The _assert_within_cwd check then treats that attacker-selected root as trusted, allowing sys_os_read, write, edit, and shell tools to access runner files and environment secrets outside the intended workspace. This issue is fixed in version 0.3.0.

CVSS v3.1

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

omnigent-ai

omnigent

Affected versions
<0.3.0
GitHub Actionsmore threats →ai
omnigent-ai/omnigent
pkg:github/omnigent-ai/omnigent
Affected versions
<0.3.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/21/2026, 18:07:50 UTC

Technical Analysis

Omnigent versions before 0.3.0 contain a path traversal vulnerability (CWE-22) where an authenticated user can supply an absolute or traversal-containing os_env.cwd value in a session-scoped agent bundle. The framework stores this value verbatim and does not validate it, allowing the attacker-controlled path to be used as the environment root. Consequently, file operations such as read, write, edit, and shell commands can access files and environment secrets outside the intended workspace. This vulnerability is resolved in version 0.3.0.

Potential Impact

An authenticated attacker can exploit this vulnerability to access and manipulate files outside the designated workspace, potentially exposing sensitive runner files and environment secrets. This can lead to full confidentiality, integrity, and availability compromise of the affected system.

Mitigation Recommendations

This vulnerability is fixed in omnigent version 0.3.0. Users should upgrade to version 0.3.0 or later to remediate this issue. No other mitigation guidance is provided or necessary as the fix addresses the root cause.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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: 6a88906bacd9273b497ffd51

Added to database: 08/21/2026, 17:52:43 UTC

Last enriched: 08/21/2026, 18:07:50 UTC

Last updated: 10/04/2026, 18:53:17 UTC

Views: 40

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses