CVE-2026-9368

NousResearch hermes-agent Environment Variable code_execution_tool.py execute_code sandbox

State
Published
Severity
6.9 Medium
Published
May 24, 2026
Updated
May 26, 2026
Reserved
May 23, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.9 MediumCVSS: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:PVulDB
3.17.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:RVulDB
3.07.3 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:RVulDB
2.07.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:URVulDB

Weaknesses

Affected Products

ProductVersions
hermes-agentNousResearch
  • 2026.4.0Affected
  • 2026.4.1Affected
  • 2026.4.2Affected
  • 2026.4.3Affected
  • 2026.4.4Affected
  • 2026.4.5Affected
  • 2026.4.6Affected
  • 2026.4.7Affected
  • 2026.4.8Affected
  • 2026.4.9Affected
  • 2026.4.10Affected
  • 2026.4.11Affected
  • 2026.4.12Affected
  • 2026.4.13Affected
  • 2026.4.14Affected
  • 2026.4.15Affected
  • 2026.4.16Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.