CVE-2026-10222
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.
Severity
MEDIUM
CVSS v3
5.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 · source cna
CVSS v4
6.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 · source cna
Exploit chance (EPSS)
0.267%
chance of exploitation in the next 30 days
higher than 18.9% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component
- CWE-707: Improper Neutralization
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-06-01 |
Timeline
- 2026-06-01Published by the CNA04:00 UTC
- 2026-06-01GitHub advisory published (GHSA-mv8x-fg99-32mf)same day
- 2026-06-01CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-mv8x-fg99-32mf, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI hermes-agent | before 0.18.0 | 0.18.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| nousresearch hermes-agent | 2026.4.0no fix listed2026.4.1no fix listed2026.4.10no fix listed2026.4.11no fix listed2026.4.12no fix listed(+26 more) | not listednot listednot listednot listednot listed |
References
- https://gist.github.com/YLChen-007/7ee2eeaa383b3540d2e8854250c03fb0
- https://vuldb.com/cve/CVE-2026-10222
- https://vuldb.com/submit/822020
- https://vuldb.com/vuln/367501
- https://vuldb.com/vuln/367501/cti
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-10222'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-10222'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-10222'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-10222'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).