Skip to main content
← All vulnerabilities
CVE-2026-10222GHSA-MV8X-FG99-32MFPYSEC-2026-2513

NousResearch hermes-agent config.py _sanitize_env_lines injection

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.18.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • 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, 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, and 1 more

  • hermes-agentPyPI

    fixed in 0.18.0

References 5

VulDB

gist.github.com