MEDIUM
NousResearch hermes-agent Environment Variable code_execution_tool.py execute_code sandbox
Published May 24, 2026
6.9
MEDIUMCVSS 4.0
EPSS 0.64%
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
-
- Version 2026.4.0StatusaffectedConstraints-
- Version 2026.4.1StatusaffectedConstraints-
- Version 2026.4.10StatusaffectedConstraints-
- Version 2026.4.11StatusaffectedConstraints-
- Version 2026.4.12StatusaffectedConstraints-
- Version 2026.4.13StatusaffectedConstraints-
- Version 2026.4.14StatusaffectedConstraints-
- Version 2026.4.15StatusaffectedConstraints-
- Version 2026.4.16StatusaffectedConstraints-
- Version 2026.4.2StatusaffectedConstraints-
- Version 2026.4.3StatusaffectedConstraints-
- Version 2026.4.4StatusaffectedConstraints-
- Version 2026.4.5StatusaffectedConstraints-
- Version 2026.4.6StatusaffectedConstraints-
- Version 2026.4.7StatusaffectedConstraints-
- Version 2026.4.8StatusaffectedConstraints-
- Version 2026.4.9StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NousResearch | Hermes-Agent | n/a |
|
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Weaknesses (4)
References (8)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-31582 Advisory
- https://gist.github.com/YLChen-007/43c72d19668421abe8ce10f299323a0a exploit
- https://github.com/NousResearch/hermes-agent/commit/285bb2b9150b93445e5eded9bc897a4001b66e55
- https://github.com/advisories/GHSA-wm96-9gfh-vvgq Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-9368
- https://vuldb.com/submit/812229 third-party-advisory
- https://vuldb.com/vuln/365331 vdb-entrytechnical-description
- https://vuldb.com/vuln/365331/cti signaturepermissions-required
| Link | Providers | Tags |
|---|---|---|
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-31582 | Advisory | |
| https://gist.github.com/YLChen-007/43c72d19668421abe8ce10f299323a0a | exploit | |
| https://github.com/NousResearch/hermes-agent/commit/285bb2b9150b93445e5eded9bc897a4001b66e55 | ||
| https://github.com/advisories/GHSA-wm96-9gfh-vvgq | Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-9368 | ||
| https://vuldb.com/submit/812229 | third-party-advisory | |
| https://vuldb.com/vuln/365331 | vdb-entrytechnical-description | |
| https://vuldb.com/vuln/365331/cti | signaturepermissions-required |
Change history (0)
No recorded changes yet.
Sources
CVE.org / MITRE
Status PUBLISHED
Assigner VulDB
Published May 24, 2026
Updated May 26, 2026
Reserved May 23, 2026
Link CVE-2026-9368
CISA Vulnrichment
Updated May 26, 2026
ENISA EUVD
EUVD-2026-31582 GHSA-WM96-9GFH-VVGQ Assigner VulDB
Published May 24, 2026
Updated May 26, 2026
Exploited since n/a
Link EUVD-2026-31582