CVE-2026-10222

NousResearch hermes-agent config.py _sanitize_env_lines injection

State
Published
Severity
6.3 Medium
Published
Jun 1, 2026
Updated
Jun 1, 2026
Reserved
May 31, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.3 MediumCVSS: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:PVulDB
3.15.6 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:RVulDB
3.05.6 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:RVulDB
2.05.1 MediumAV:N/AC:H/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:URVulDB

Weaknesses

Affected Products

ProductVersions
hermes-agentNousResearch
  • 2026.4.0Affected
  • 2026.4.1Affected
  • 2026.4.2Affected
  • 2026.4.3Affected
  • 2026.4.4Affected
  • 2026.4.5Affected
  • 2026.4.6Affected
  • 2026.4.7Affected
  • 2026.4.8Affected
  • 2026.4.9Affected
  • 2026.4.10Affected
  • 2026.4.11Affected
  • 2026.4.12Affected
  • 2026.4.13Affected
  • 2026.4.14Affected
  • 2026.4.15Affected
  • 2026.4.16Affected
  • 2026.4.17Affected
  • 2026.4.18Affected
  • 2026.4.19Affected
  • 2026.4.20Affected
  • 2026.4.21Affected
  • 2026.4.22Affected
  • 2026.4.23Affected
  • 2026.4.24Affected
  • and 6 more versions

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.