CVE-2026-10222

published 1 Jun 2026 · updated 1 Jun 2026

NousResearch hermes-agent config.py _sanitize_env_lines injection

6.6MediumCVSS 5.6EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
NousResearch=2026.4.0, =2026.4.1, =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.2, =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.3, =2026.4.30, =2026.4.4, =2026.4.5, =2026.4.6, =2026.4.7, =2026.4.8, =2026.4.9

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-10222 severity on Zeptric[![CVE-2026-10222](https://zeptric.io/badge/cve/CVE-2026-10222.svg)](https://zeptric.io/cve/CVE-2026-10222)