Home

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.

PUBLISHED Reserved 2026-05-23 | Published 2026-05-24 | Updated 2026-05-26 | Assigner VulDB




MEDIUM: 6.9CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
HIGH: 7.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
HIGH: 7.3CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
7.5AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR

Problem types

Sandbox Issue

Improper Access Controls

Product status

2026.4.0
affected

2026.4.1
affected

2026.4.2
affected

2026.4.3
affected

2026.4.4
affected

2026.4.5
affected

2026.4.6
affected

2026.4.7
affected

2026.4.8
affected

2026.4.9
affected

2026.4.10
affected

2026.4.11
affected

2026.4.12
affected

2026.4.13
affected

2026.4.14
affected

2026.4.15
affected

2026.4.16
affected

Timeline

2026-05-23:Advisory disclosed
2026-05-23:VulDB entry created
2026-05-23:VulDB entry last update

Credits

Eric-i (VulDB User) reporter

VulDB CNA Team coordinator

References

vuldb.com/vuln/365331 (VDB-365331 | NousResearch hermes-agent Environment Variable code_execution_tool.py execute_code sandbox) vdb-entry technical-description

vuldb.com/vuln/365331/cti (VDB-365331 | CTI Indicators (IOB, IOC, TTP, IOA)) signature permissions-required

vuldb.com/submit/812229 (Submit #812229 | NousResearch hermes-agent 2026.4.16 Improper Privilege Management (CWE-269)) third-party-advisory

gist.github.com/YLChen-007/43c72d19668421abe8ce10f299323a0a exploit

cve.org (CVE-2026-9368)

nvd.nist.gov (CVE-2026-9368)

Download JSON