Code Execution Vulnerability in NousResearch hermes-agent Environment Variable Handler
CVE-2026-9368
Key Information:
- Vendor
Nousresearch
- Status
- Vendor
- CVE Published:
- 24 May 2026
Badges
What is CVE-2026-9368?
A vulnerability exists in the NousResearch hermes-agent's environment variable handler located in the execute_code function of tools/code_execution_tool.py. This flaw allows for sandbox escape due to improper handling of environment variables, which can be exploited remotely. An attacker can leverage this vulnerability to execute arbitrary code, posing significant risks to system integrity. Although the vendor was informed about this issue, there has been no response, heightening concerns over potential exploitation since public exploit information is available.
Affected Version(s)
hermes-agent 2026.4.0
hermes-agent 2026.4.1
hermes-agent 2026.4.2
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V4
Timeline
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
Vulnerability published
Vulnerability Reserved
