NousResearch hermes-agent config.py _sanitize_env_lines injection
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 0.18.0
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 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
- CVE published
- CISA SSVC assessment
Exploitation: poc · Automatable: no · Technical impact: partial
- 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