{
  "id": "CVE-2026-62677",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-62677",
  "published_at": "2026-08-21T17:44:37.312Z",
  "title": "Omnigent: Unvalidated os_env.cwd in agent bundle yields arbitrary host filesystem access on runners without OMNIGENT_RUNNER_WORKSPACE",
  "vendor": "omnigent-ai",
  "product": "omnigent",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-22",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "omnigent-ai",
        "product": "omnigent",
        "ranges": [
          "\u003c 0.3.0"
        ],
        "fixed_in": [
          "0.3.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade omnigent to 0.3.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/omnigent-ai/omnigent/security/advisories/GHSA-p8rw-8qj3-hf33"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/omnigent-ai/omnigent/pull/1417"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/omnigent-ai/omnigent/commit/7ca0cca3c9a65c04c489edf68f0e080424a26868"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/omnigent-ai/omnigent/releases/tag/v0.3.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
