CVE-2026-9368

Summary

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 Software

VendorProductVersion RangeStatus
NousResearchhermes-agent2026.4.0affected
NousResearchhermes-agent2026.4.1affected
NousResearchhermes-agent2026.4.2affected
NousResearchhermes-agent2026.4.3affected
NousResearchhermes-agent2026.4.4affected
NousResearchhermes-agent2026.4.5affected
NousResearchhermes-agent2026.4.6affected
NousResearchhermes-agent2026.4.7affected
NousResearchhermes-agent2026.4.8affected
NousResearchhermes-agent2026.4.9affected
NousResearchhermes-agent2026.4.10affected
NousResearchhermes-agent2026.4.11affected
NousResearchhermes-agent2026.4.12affected
NousResearchhermes-agent2026.4.13affected
NousResearchhermes-agent2026.4.14affected
NousResearchhermes-agent2026.4.15affected
NousResearchhermes-agent2026.4.16affected

Weaknesses

  • CWE-265: Sandbox Issue
  • CWE-264: Improper Access Controls

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: poc
    • Automatable: yes
    • Technical Impact: partial

References