CVE-2026-10222
JSON

6.3medium

NousResearch hermes-agent config.py _sanitize_env_lines injection

Severity
6.3medium CVSS:4.0 by VulDB
Exploit likelihood
0.27% (higher than 20% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulDB
Also known as
GHSA-mv8x-fg99-32mfPYSEC-2026-2513

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.

Affected

Product or packageVersionsReported by
NousResearch hermes-agent2026.4.0, 2026.4.1, 2026.4.2, 2026.4.3, 2026.4.4, 2026.4.5, 2026.4.6, 2026.4.7 and 23 moreCVE List
hermes-agent (PyPI)before 0.18.0GitHub Advisory Database, PyPA Advisory Database

All scores

VulDB6.3medium CVSS:4.0CVSS: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
VulDB5.6medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
VulDB5.6medium CVSS:3.0CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
VulDB5.1medium CVSS:2.0AV:N/AC:H/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR
GitHub5.6low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
GitHublow CVSS:4.0CVSS: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
PyPA Advisory Database5.6medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS: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

Classification

CWE-74CWE-707

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Una falla de seguridad ha sido descubierta en NousResearch hermes-agent hasta 2026.4.30. Afectada por este problema es la función _sanitize_env_lines del archivo hermes_cli/config.py. La manipulación resulta en inyección. Es posible lanzar el ataque remotamente. El ataque requiere un alto nivel de complejidad. La explotación se sabe que es difícil. El exploit ha sido publicado al público y puede ser utilizado para ataques. El proveedor fue contactado tempranamente sobre esta divulgación pero no respondió de ninguna manera.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-10222 changed 2026-06-01CVE Terms of Use
GitHub Advisory DatabaseGHSA-mv8x-fg99-32mf changed 2026-07-28CC-BY-4.0
NVDCVE-2026-10222 changed 2026-07-22Public domain
PyPA Advisory DatabasePYSEC-2026-2513 changed 2026-07-13CC-BY-4.0