CVE-2026-10222
NousResearch hermes-agent config.py _sanitize_env_lines injection
- State
- Published
- Severity
- 6.3 Medium
- Published
- Jun 1, 2026
- Updated
- Jun 1, 2026
- Reserved
- May 31, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.3 Medium | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P | VulDB |
| 3.1 | 5.6 Medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R | VulDB |
| 3.0 | 5.6 Medium | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R | VulDB |
| 2.0 | 5.1 Medium | AV:N/AC:H/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
hermes-agentNousResearch |
|
References
- VDB-367501 | NousResearch hermes-agent config.py _sanitize_env_lines injectionvdb-entrytechnical-description
- VDB-367501 | CTI Indicators (IOB, IOC, TTP, IOA)signaturepermissions-required
- CVE-2026-10222 | CVE Analysis and Reportthird-party-advisory
- Submit #822020 | NousResearch hermes-agent <= v2026.4.30 Injection (CWE-74)third-party-advisory
- https://gist.github.com/YLChen-007/7ee2eeaa383b3540d2e8854250c03fb0exploit
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.