Read the docs
TI-2026-08960 Aliases CVE-2026-10222GHSA-mv8x-fg99-32mf

NousResearch hermes-agent config.py _sanitize_env_lines injection

Priority MEDIUM 61CWE-707Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
Low · Low · Low
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

Summary

A security flaw has been discovered in NousResearch hermes-agent up to 2026.4.30. Affected by this issue is the function _sanitize_env_lines of the file hermes_cli/config.py. The manipulation results in injection. It is possible to launch the attack remotely. The attack requires a high level of complexity. The exploitation is known to be difficult. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00267 18th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix Fixed hermes-agent (PyPI): 0.18.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
NousResearchhermes-agent2026.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; 2026.4.12; 2026.4.13; 2026.4.14; 2026.4.15; 2026.4.16; 2026.4.17; 2026.4.18; 2026.4.19; 2026.4.20; 2026.4.21; 2026.4.22; 2026.4.23; 2026.4.24; 2026.4.25; 2026.4.26; 2026.4.27; 2026.4.28; 2026.4.29; 2026.4.30—No fix listedCNA
—hermes-agent (PyPI)before 0.18.00.18.0Patch availableGHSA-mv8x-fg99-32mf
  • hermes-agent VendorNousResearch Affected 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; 2026.4.12; 2026.4.13; 2026.4.14; 2026.4.15; 2026.4.16; 2026.4.17; 2026.4.18; 2026.4.19; 2026.4.20; 2026.4.21; 2026.4.22; 2026.4.23; 2026.4.24; 2026.4.25; 2026.4.26; 2026.4.27; 2026.4.28; 2026.4.29; 2026.4.30 Fixed in — No fix listed CNA
  • hermes-agent (PyPI) Vendor— Affected before 0.18.0 Fixed in 0.18.0 Patch available GHSA-mv8x-fg99-32mf

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:nousresearch:hermes-agent:*:*:*:*:*:*:*:*——NousResearch
  • cpe:2.3:a:nousresearch:hermes-agent:*:*:*:*:*:*:*:* Versions — — ·NousResearch

Remediation

  • Fix · GHSA-mv8x-fg99-32mf hermes-agent (PyPI) Fixed in 0.18.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-10222
  2. 2026-10-03 Alias added: GHSA-mv8x-fg99-32mf

References

  • TI-2026-50258 Hermes Agent 0.18.2 - 0.21.0 RCE via git core.fsmonitor Config Injection CVSS 4.0HIGH 8.6
  • TI-2026-12325 NousResearch hermes-agent Live Webhook Endpoint base.py extract_media path traversal CVSS 4.0MEDIUM 6.9
  • TI-2026-08962 NousResearch hermes-agent Webhook Endpoint feishu.py _handle_webhook_request resource consumption CVSS 4.0MEDIUM 6.9
  • TI-2026-08959 NousResearch hermes-agent run_agent.py _compress_context injection CVSS 4.0MEDIUM 6.9
  • TI-2026-08958 NousResearch hermes-agent skills_tool.py skill_view injection CVSS 4.0MEDIUM 6.9
  • TI-2026-08218 NousResearch hermes-agent Environment Variable code_execution_tool.py execute_code sandbox CVSS 4.0MEDIUM 6.9
See all 44 →

Sources