Home / NousResearch / hermes-agent / CVE-2026-9368
CVE-2026-9368: is it exploited, and which versions of NousResearch hermes-agent are affected and fixed?
CVE-2026-9368 is a privilege escalation (improper privilege management) vulnerability in NousResearch hermes-agent. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: hermes-agent before 0.11.0 (GitHub advisory GHSA-wm96-9gfh-vvgq). Fixed in 0.11.0 (GitHub advisory GHSA-wm96-9gfh-vvgq). Severity: Medium (6.9, CVSS 4.0, from VulDB).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-9368?
NousResearch hermes-agent Environment Variable code_execution_tool.py execute_code sandbox
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.
From the CVE record by VulDB, last updated May 26, 2026, 16:17 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| NousResearch | hermes-agent | 2026.4.0 2026.4.1 2026.4.2 2026.4.3 2026.4.4 2026.4.5 2026.4.6 2026.4.7 2026.4.8 2026.4.9 2026.4.10 2026.4.11 and 5 more ranges |
As the CVE record by VulDB states it, last updated May 26, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | hermes-agent | < 0.11.0 | 0.11.0 | GHSA-wm96-9gfh-vvgq |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 30, 2026. Summary: hermes-agent has a sandbox issue.
How severe is CVE-2026-9368?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.9 | CVSS 4.0 | CVSS: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 | VulDB |
| High 7.3 | CVSS 3.1 | 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 | VulDB |
| High 7.3 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R | VulDB |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR | VulDB |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-9368 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, May 26, 2026)
- EPSS
- 0.38% probability of exploitation activity in the next 30 days, percentile 34.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-265
- CWE-264
- CWE-269 Improper Privilege Management
- CWE-526 Cleartext Storage of Sensitive Information in an Environment Variable
Where are the vendor advisories and references?
- VDB-365331 | NousResearch hermes-agent Environment Variable code_execution_tool.py execute_code sandbox vdb-entry, technical-description
- VDB-365331 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- Submit #812229 | NousResearch hermes-agent 2026.4.16 Improper Privilege Management (CWE-269) third-party-advisory
- https://gist.github.com/YLChen-007/43c72d19668421abe8ce10f299323a0a exploit
Who found and reported it?
- Eric-i (VulDB User) (reporter)
- VulDB CNA Team (coordinator)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- May 23, 2026
- Published
- May 24, 2026, 08:45 UTC
- CVE record updated
- May 26, 2026, 16:17 UTC by VulDB
- NVD
- Deferred, last modified July 23, 2026, 11:10 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect hermes-agent?
- Dec 1, 2026CVE-2026-140425 NousResearch hermes-agent: missing Origin Validation in WebSockets
- Nov 23, 2026CVE-2026-130164 NousResearch hermes-agent: external Control of System or Configuration Setting
- Sep 3, 2026CVE-2026-71963 NousResearch hermes-agent: OS command injection
- Sep 3, 2026CVE-2026-85107 NousResearch hermes-agent: denial of service (resources allocated without limits)
- Sep 3, 2026CVE-2026-85106 NousResearch hermes-agent: server-side request forgery (SSRF)
- Sep 3, 2026CVE-2026-85105 NousResearch hermes-agent: authorization bypass through a user-controlled key (IDOR)
- Sep 1, 2026CVE-2026-84289 NousResearch hermes-agent: memory Allocation with Excessive Size Value
- Sep 1, 2026CVE-2026-84288 NousResearch hermes-agent: resource not released
Questions about CVE-2026-9368
Is CVE-2026-9368 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 0.38% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of NousResearch hermes-agent are affected by CVE-2026-9368?
hermes-agent before 0.11.0, per the GitHub advisory GHSA-wm96-9gfh-vvgq. The tables above give every range the sources list.
Which version fixes CVE-2026-9368?
0.11.0, per the GitHub advisory GHSA-wm96-9gfh-vvgq. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-9368?
Medium (6.9, CVSS 4.0, from VulDB). The severity table above shows each score with its source.
Where is the official record of CVE-2026-9368?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.