NousResearch hermes-agent config.py _sanitize_env_lines injection
CVE-2026-10222Published 1 Jun 2026, 04:00 UTC
Real-world risk
1.3/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.3
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulDB)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| hermes-agentCommon | = 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 | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.3% chance of exploitation in 30 days (percentile 20), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.450
- Threat T3: Public proof of concept0.950
- 10 × impact 0.3 × prerequisites 0.45 × threat 0.951.282
- Rounded to one decimal between 0.1 and 101.3
Exploitation and evidence timeline
- 1 Jun 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 1.3 (cvss fallback)
Weakness
CWE-74, CWE-707
References
- https://vuldb.com/vuln/367501technical-description, vdb-entry
- https://vuldb.com/vuln/367501/ctipermissions-required, signature
- https://vuldb.com/cve/CVE-2026-10222third-party-advisory
- https://vuldb.com/submit/822020third-party-advisory
- https://gist.github.com/YLChen-007/7ee2eeaa383b3540d2e8854250c03fb0exploit
- CVE-2026-10222 on CVE.org