CVE-2026-10222: NousResearch hermes-agent - Command Injection
- Cve: CVE-2026-10222
- Name: NousResearch hermes-agent - Command Injection
- 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.
- Impact: Remote attackers can execute arbitrary commands, potentially leading to full system compromise.
- Remediation: Update to the latest version beyond 2026.4.30.
- Vulnerability type: command_injection
- Vulnerability impact: command_injection, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.6
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- Epss score: 0.00267
- Epss percentile: 0.18762
- Assignee: [email protected]
- Published at: 2026-06-01T06:16:36Z
- Age in days: 176
- Modified at: 2026-07-22T07:10:00Z
- References total: 5
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-10222
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component |
References
Same in every row:
- Source: nvd
- Tags:
| Url |
|---|
| 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 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| nousresearch:hermes-agent | = 2026.4.30, = 2026.4.29, = 2026.4.28, = 2026.4.27, = 2026.4.26, = 2026.4.25, = 2026.4.24, = 2026.4.23, = 2026.4.22, = 2026.4.21, = 2026.4.20, = 2026.4.19, = 2026.4.18, = 2026.4.17, = 2026.4.16, = 2026.4.15, = 2026.4.14, = 2026.4.13, = 2026.4.12, = 2026.4.11, = 2026.4.10, = 2026.4.9, = 2026.4.8, = 2026.4.7, = 2026.4.6, = 2026.4.5, = 2026.4.4, = 2026.4.3, = 2026.4.2, = 2026.4.1, = 2026.4.0 | no | cna_cpes | /v1/products/nousresearch/hermes-agent |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| nousresearch/hermes-agent | commit, fix, package | yes | /v1/repositories/nousresearch/hermes-agent |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 6688
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports