{"id":"CVE-2026-9368","published":"2026-05-24T08:45:09Z","modified":"2026-05-26T16:17:36Z","title":"NousResearch hermes-agent Environment Variable code_execution_tool.py execute_code sandbox","vendor":"NousResearch","product":"hermes-agent","tier":"tail","description":{"text":"A vulnerability was identified in NousResearch hermes-agent up to 2026.4.16. This impacts the function execute_code of the file tools/code_execution_tool.py of the component Environment Variable Handler. Such manipulation leads to sandbox issue. It is possible to launch the attack remotely. The exploit is publicly available and might be used. The vendor was contacted early about this disclosure but did not respond in any way.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0038,"percentile":0.32878,"provenance":"source"},"cwes":[{"id":"CWE-265","name":"Sandbox Issue"},{"id":"CWE-264","name":"Improper Access Controls"}],"references":[{"url":"https://vuldb.com/vuln/365331","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/vuln/365331/cti","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/submit/812229","tags":["third-party-advisory"]},{"url":"https://gist.github.com/YLChen-007/43c72d19668421abe8ce10f299323a0a","tags":["exploit"]}],"priority":{"score":16.7,"factors":[{"name":"EPSS percentile","points":6.58},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"nousresearch","affectedVersions":[{"vendor":"NousResearch","product":"hermes-agent","versions":["2026.4.0","2026.4.1","2026.4.2","2026.4.3","2026.4.4","2026.4.5","2026.4.6","2026.4.7","2026.4.8","2026.4.9"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-26T16:17:24.678184Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"hermes-agent","vulnerableRanges":["<0.11.0"],"patched":["0.11.0"],"from":["GHSA-wm96-9gfh-vvgq","PYSEC-2026-2515"],"provenance":"source"}],"summary":{"text":"The flaw is a sandbox issue in the Environment Variable Handler component of NousResearch hermes-agent (versions up to 2026.4.16), specifically in the execute_code function of tools/code_execution_tool.py. An attacker can exploit it remotely over the network with low complexity and no authentication or user interaction required, which allows limited compromise of confidentiality, integrity and availability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:06:56Z"},"euvd":{"id":"EUVD-2026-31582","exploited":false,"provenance":"source"},"exploitRefs":["https://gist.github.com/YLChen-007/43c72d19668421abe8ce10f299323a0a"]}