Vulnerability · Published May 24, 2026 · Assigned by VulDB

CVE-2026-9368NousResearch hermes-agent Environment Variable code_execution_tool.py execute_code sandbox

High 7.3

In plain English

A high-severity security flaw in hermes-agent from NousResearch. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.3High
Exploit odds (30 days)0.4%top 67.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIhermes-agent0.11.0GHSA-wm96-9gfh-vvgq
PyPIhermes-agent0.11.0PYSEC-2026-2515

Affected products (as reported)

VendorProductVersions
NousResearch hermes-agent 2026.4.02026.4.12026.4.22026.4.32026.4.42026.4.52026.4.62026.4.7

Weakness: CWE-265, CWE-264 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R

References