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.
Problem types
Product status
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
Timeline
| 2026-05-23: | Advisory disclosed |
| 2026-05-23: | VulDB entry created |
| 2026-05-23: | VulDB entry last update |
Credits
Eric-i (VulDB User)
VulDB CNA Team
References
vuldb.com/vuln/365331 (VDB-365331 | NousResearch hermes-agent Environment Variable code_execution_tool.py execute_code sandbox)
vuldb.com/vuln/365331/cti (VDB-365331 | CTI Indicators (IOB, IOC, TTP, IOA))
vuldb.com/submit/812229 (Submit #812229 | NousResearch hermes-agent 2026.4.16 Improper Privilege Management (CWE-269))
gist.github.com/YLChen-007/43c72d19668421abe8ce10f299323a0a