{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-62677","id":"CVE-2026-62677","title":"Omnigent: Unvalidated os_env.cwd in agent bundle yields arbitrary host filesystem access on runners without OMNIGENT_RUNNER_WORKSPACE","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, o","descriptionLong":"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.","published":"2026-08-21T17:44:37.312Z","updated":"2026-10-28T02:31:10.295847804Z","reserved":"2026-07-14T20:22:04.395Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["omnigent-ai omnigent"],"affectedProducts":[{"vendor":"omnigent-ai","product":"omnigent","defaultStatus":null,"versions":[{"version":"< 0.3.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"omnigent","purl":"pkg:pypi/omnigent","ranges":["<0.3.0"],"fixed":["0.3.0"],"advisory":"GHSA-p8rw-8qj3-hf33"}],"cwes":["CWE-22"],"aliases":["GHSA-p8rw-8qj3-hf33","PYSEC-2026-3875"],"references":[{"url":"https://github.com/omnigent-ai/omnigent/security/advisories/GHSA-p8rw-8qj3-hf33","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/omnigent-ai/omnigent/pull/1417","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/omnigent-ai/omnigent/commit/7ca0cca3c9a65c04c489edf68f0e080424a26868","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/omnigent-ai/omnigent/releases/tag/v0.3.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62677.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62677","tags":["advisory"]},{"url":"https://github.com/omnigent-ai/omnigent","tags":["package"]},{"url":"https://pypi.org/project/omnigent","tags":["package"]},{"url":"https://github.com/advisories/GHSA-p8rw-8qj3-hf33","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00606,"epssPercentile":0.49819,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-62677","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62677","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-62677","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-p8rw-8qj3-hf33","ok":true,"note":"GHSA-p8rw-8qj3-hf33"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-62677","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}