CVE-2026-10222
NousResearch hermes-agent config.py _sanitize_env_lines injection
- Published
- Updated
- Reserved
- Assigned by
- VulDB
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.
Public exploit
A reference of the record is tagged as an exploit or proof of concept: anyone can try it against an unpatched system. CISA's SSVC rates its exploitation: a proof of concept is public.
Timeline
ID reserved
By VulDB
- 1 day later
· 1 day later
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| VulDBCNA (assigner) | 4.0 | Medium6.3 | 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 |
| VulDBCNA (assigner) | 3.1 | Medium5.6 | 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 |
| VulDBCNA (assigner) | 3.0 | Medium5.6 | 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 |
| VulDBCNA (assigner) | 2.0 | Medium5.1 | AV:N/AC:H/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR |
| NVDNVD · Deferred | 4.0 | Low2.9 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
- EPSS (exploitation in 30 days)
- 0.27% · top 81% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.3.
Weakness
Affected products
- affected 2026.4.0
- affected 2026.4.1
- affected 2026.4.2
- affected 2026.4.3
- affected 2026.4.4
- affected 2026.4.5
- affected 2026.4.6
- affected 2026.4.7
- affected 2026.4.8
- affected 2026.4.9
- affected 2026.4.10
- affected 2026.4.11
- affected 2026.4.12
- affected 2026.4.13
- affected 2026.4.14
- affected 2026.4.15
- affected 2026.4.16
- affected 2026.4.17
- affected 2026.4.18
- affected 2026.4.19
- affected 2026.4.20
- affected 2026.4.21
- affected 2026.4.22
- affected 2026.4.23
- affected 2026.4.24
- affected 2026.4.25
- affected 2026.4.26
- affected 2026.4.27
- affected 2026.4.28
- affected 2026.4.29
- affected 2026.4.30
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIhermes-agentGHSA-mv8x-fg99-32mf (opens in a new tab)
References (5)
- VDB-367501 | NousResearch hermes-agent config.py _sanitize_env_lines injection (opens in a new tab)vdb-entrytechnical-description
- VDB-367501 | CTI Indicators (IOB, IOC, TTP, IOA) (opens in a new tab)signaturepermissions-required
- CVE-2026-10222 | CVE Analysis and Report (opens in a new tab)third-party-advisory
- Submit #822020 | NousResearch hermes-agent <= v2026.4.30 Injection (CWE-74) (opens in a new tab)third-party-advisory
- https://gist.github.com/YLChen-007/7ee2eeaa383b3540d2e8854250c03fb0 (opens in a new tab)exploit
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-mv8x-fg99-32mf (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2026-10222)Record last updated .