Home

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.

PUBLISHED Reserved 2026-05-31 | Published 2026-06-01 | Updated 2026-06-01 | Assigner VulDB




MEDIUM: 6.3CVSS: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
MEDIUM: 5.6CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
MEDIUM: 5.6CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
5.1AV:N/AC:H/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR

Problem types

Injection

Improper Neutralization

Product status

2026.4.0
affected

2026.4.1
affected

2026.4.2
affected

2026.4.3
affected

2026.4.4
affected

2026.4.5
affected

2026.4.6
affected

2026.4.7
affected

2026.4.8
affected

2026.4.9
affected

2026.4.10
affected

2026.4.11
affected

2026.4.12
affected

2026.4.13
affected

2026.4.14
affected

2026.4.15
affected

2026.4.16
affected

2026.4.17
affected

2026.4.18
affected

2026.4.19
affected

2026.4.20
affected

2026.4.21
affected

2026.4.22
affected

2026.4.23
affected

2026.4.24
affected

2026.4.25
affected

2026.4.26
affected

2026.4.27
affected

2026.4.28
affected

2026.4.29
affected

2026.4.30
affected

Timeline

2026-05-31:Advisory disclosed
2026-05-31:VulDB entry created
2026-05-31:VulDB entry last update

Credits

Eric-j (VulDB User) reporter

VulDB CNA Team coordinator

References

vuldb.com/vuln/367501 (VDB-367501 | NousResearch hermes-agent config.py _sanitize_env_lines injection) vdb-entry technical-description

vuldb.com/vuln/367501/cti (VDB-367501 | CTI Indicators (IOB, IOC, TTP, IOA)) signature permissions-required

vuldb.com/cve/CVE-2026-10222 (CVE-2026-10222 | CVE Analysis and Report) third-party-advisory

vuldb.com/submit/822020 (Submit #822020 | NousResearch hermes-agent <= v2026.4.30 Injection (CWE-74)) third-party-advisory

gist.github.com/YLChen-007/7ee2eeaa383b3540d2e8854250c03fb0 exploit

cve.org (CVE-2026-10222)

nvd.nist.gov (CVE-2026-10222)

Download JSON