CVE-2026-10222

Medium

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.

SeverityMedium
CVSS5.6
Exploit probability—
ProductHermes-agent
PublishedJun 1, 2026
First seenJun 1, 2026

How to fix

Update
  • hermes-agent0.18.0 or later

Affected products

ProductAffected versionsFixed in
hermes-agentPyPIv < 0.18.00.18.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.