CVE-2026-10222NousResearch hermes-agent
Low 2.9 No auth needed
Follow: this CVE · NousResearch · NousResearch hermes-agent We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 4.0
- 2.9
- EPSS
- —
- Auth required
- No
- Published
- Jun 1, 2026
- Updated
- Jul 22, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for hermes-agent.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | hermes-agent |
< 0.18.0 |
0.18.0 |
pip install "hermes-agent>=0.18.0" |
| PyPI | hermes-agent |
< 0.18.0 |
0.18.0 |
pip install "hermes-agent>=0.18.0" |
Per OSV / GitHub Advisories (GHSA-mv8x-fg99-32mf, PYSEC-2026-2513). Check the version in your lockfile before upgrading.
Affected products
- NousResearch · hermes-agent
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.