CVE-2026-9368 json
NousResearch hermes-agent Environment Variable code_execution_tool.py execute_code sandbox
published 2026-05-24 5 mo ago modified 2026-07-23 3 mo ago also GHSA-wm96-9gfh-vvgq , PYSEC-2026-2515 , EUVD-2026-31582
- cvss
- 7.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 32%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 5 mo ago
Exploit prediction
0.38% chance of exploitation in the next 30 days, higher than 32% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- gist.github.com https://gist.github.com/YLChen-007/43c72d19668421abe8ce10f299323a0a referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.9 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P |
| CNA | 3.1 | 7.3 | 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 |
| CNA | 3.0 | 7.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R |
| CNA | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR |
| CNA | 4.0 | 5.5 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CNA | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| CNA | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| OSV | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| GitHub | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | hermes-agent | <0.11.0 |
0.11.0 |
Affected products
- NousResearch hermes-agent
Classification
References
-
github.com
/NousResearch/hermes-agent/commit/285bb2b9150b93445e5eded9bc897a4001b66e55
web
-
gist.github.com
/YLChen-007/43c72d19668421abe8ce10f299323a0a
exploit, web
-
vuldb.com
/vuln/365331
vdb-entry, technical-description, web
-
vuldb.com
/vuln/365331/cti
signature, permissions-required, web
-
vuldb.com
/submit/812229
third-party-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2026-9368
advisory
-
github.com
/NousResearch/hermes-agent
package
-
pypi.org
/project/hermes-agent
package
-
github.com
/advisories/GHSA-wm96-9gfh-vvgq
advisory
Sources
- CVE List CVE-2026-9368
- GitHub Advisory GHSA-wm96-9gfh-vvgq
- NVD CVE-2026-9368
- OSV PYSEC-2026-2515
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.