CVE-2026-10222
published medium CVSS 4.0 · 6.3NousResearch hermes-agent config.py _sanitize_env_lines injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| NousResearch | — | hermes-agent2026.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 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.6 | medium | VulDB · cna | 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 | — |
| 3.0 | 5.6 | medium | VulDB · cna | 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 | — |
| 2.0 | 5.1 | medium | VulDB · cna | AV:N/AC:H/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| NousResearch | hermes-agent | 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) | VulDB · cna |
Weaknesses
2- CWE-74 Injection
- CWE-707 Improper Neutralization
References
5- https://gist.github.com/YLChen-007/7ee2eeaa383b3540d2e8854250c03fb0
- CVE-2026-10222 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-10222
- Submit #822020 | NousResearch hermes-agent <= v2026.4.30 Injection (CWE-74) https://vuldb.com/submit/822020
- VDB-367501 | NousResearch hermes-agent config.py _sanitize_env_lines injection https://vuldb.com/vuln/367501
- VDB-367501 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/vuln/367501/cti
Provider assertions
2VulDB · cna
NousResearch hermes-agent config.py _sanitize_env_lines injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 18d51f37cd6bf2643bc781f77971a0bda7ec5f2099d3b16ca2240881ddbcfe97
- Ingested
- 23 Sep 2026, 09:00:12 UTC
- Source record
- Official CVE record