CVE-2026-10222CWE-707CWE-74

NousResearch hermes-agent config.py _sanitize_env_lines injection

Medium · published June 1, 2026

CVSS v4.0
6.3
EPSS
0%
Percentile
17.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.3 · MEDIUM
Vector
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
EPSS
0.00267 · 17.8th percentile
Weaknesses
CWE-707 · Improper Neutralization; CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Published
2026-06-01T04:00Z
EPSS history
Timeline
  • 01 JUN 04:00Z
    NousResearch hermes-agent config.py _sanitize_env_lines injection
    cvelistv5