{"id":"CVE-2026-10222","published":"2026-06-01T04:00:11Z","modified":"2026-06-01T13:16:34Z","title":"NousResearch hermes-agent config.py _sanitize_env_lines injection","vendor":"NousResearch","product":"hermes-agent","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00422,"percentile":0.2822,"provenance":"source"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"},{"id":"CWE-707","name":"Improper Neutralization"}],"references":[{"url":"https://vuldb.com/vuln/367501","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/vuln/367501/cti","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/cve/CVE-2026-10222","tags":["third-party-advisory"]},{"url":"https://vuldb.com/submit/822020","tags":["third-party-advisory"]},{"url":"https://gist.github.com/YLChen-007/7ee2eeaa383b3540d2e8854250c03fb0","tags":["exploit"]}],"priority":{"score":14.6,"factors":[{"name":"EPSS percentile","points":5.64},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.92}]},"vendorSlug":"nousresearch","affectedVersions":[{"vendor":"NousResearch","product":"hermes-agent","versions":["2026.4.0","2026.4.1","2026.4.2","2026.4.3","2026.4.4","2026.4.5","2026.4.6","2026.4.7","2026.4.8","2026.4.9"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-01T13:16:15.346798Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"hermes-agent","vulnerableRanges":["<0.18.0"],"patched":["0.18.0"],"from":["GHSA-mv8x-fg99-32mf","PYSEC-2026-2513"],"provenance":"source"}],"summary":{"text":"A flaw in the _sanitize_env_lines function in hermes_cli/config.py of NousResearch's hermes-agent, up to version 2026.4.30, allows improper neutralization of special elements, resulting in injection. An attacker can exploit it remotely without authentication or user interaction, though the attack is considered highly complex and difficult to carry out.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:48:58Z"},"euvd":{"id":"EUVD-2026-33555","exploited":false,"provenance":"source"},"exploitRefs":["https://gist.github.com/YLChen-007/7ee2eeaa383b3540d2e8854250c03fb0"]}