Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | hermes-agent | < 0.11.0 | 0.11.0 | GHSA-wm96-9gfh-vvgq |
References
- VDB-365331 | NousResearch hermes-agent Environment Variable code_execution_tool.py execute_code sandbox vdb-entry technical-description
- VDB-365331 | CTI Indicators (IOB, IOC, TTP, IOA) signature permissions-required
- Submit #812229 | NousResearch hermes-agent 2026.4.16 Improper Privilege Management (CWE-269) third-party-advisory
- https://gist.github.com/YLChen-007/43c72d19668421abe8ce10f299323a0a exploit