NousResearch hermes-agent Environment Variable code_execution_tool.py execute_code sandbox
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass, Privilege escalation
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-264 and CWE-269.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| NousResearch | hermes-agent | 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; 2026.4.10; 2026.4.11; 2026.4.12; 2026.4.13; 2026.4.14; 2026.4.15; 2026.4.16 | — | No fix listed | CNA |
| — | hermes-agent (PyPI) | before 0.11.0 | 0.11.0 | Patch available | GHSA-wm96-9gfh-vvgq |
- hermes-agent VendorNousResearch Affected 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; 2026.4.10; 2026.4.11; 2026.4.12; 2026.4.13; 2026.4.14; 2026.4.15; 2026.4.16 Fixed in — No fix listed CNA
- hermes-agent (PyPI) Vendor— Affected before 0.11.0 Fixed in 0.11.0 Patch available GHSA-wm96-9gfh-vvgq
CPE names CNA · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:nousresearch:hermes-agent:*:*:*:*:*:*:*:* | — | — | NousResearch |
- cpe:2.3:a:nousresearch:hermes-agent:*:*:*:*:*:*:*:* Versions — — ·NousResearch
Remediation
- Fix · GHSA-wm96-9gfh-vvgq hermes-agent (PyPI) Fixed in 0.11.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-9368
- 2026-10-03 Alias added: GHSA-wm96-9gfh-vvgq
- 2026-10-21 EPSS moved to the 50th–90th percentile
- 2026-10-25 EPSS moved to the below the 50th percentile
References
More NousResearch vulnerabilities
- TI-2026-50258 Hermes Agent 0.18.2 - 0.21.0 RCE via git core.fsmonitor Config Injection CVSS 4.0HIGH 8.6
- TI-2026-12325 NousResearch hermes-agent Live Webhook Endpoint base.py extract_media path traversal CVSS 4.0MEDIUM 6.9
- TI-2026-08962 NousResearch hermes-agent Webhook Endpoint feishu.py _handle_webhook_request resource consumption CVSS 4.0MEDIUM 6.9
- TI-2026-08959 NousResearch hermes-agent run_agent.py _compress_context injection CVSS 4.0MEDIUM 6.9
- TI-2026-08958 NousResearch hermes-agent skills_tool.py skill_view injection CVSS 4.0MEDIUM 6.9
- TI-2026-08217 NousResearch hermes-agent terminal_tool approval.py detect_dangerous_command os command injection CVSS 4.0MEDIUM 6.9
Sources
- CVE-2026-9368 · CVE Program
- CVE-2026-9368 · NVD
- FIRST EPSS
- GHSA-wm96-9gfh-vvgq · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences