{"id":"CVE-2026-10222","aliases":["CVE-2026-10222","GHSA-mv8x-fg99-32mf","PYSEC-2026-2513"],"related":[],"kind":"vulnerability","state":"published","title":"NousResearch hermes-agent config.py _sanitize_env_lines injection","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-06-01T04:00:11.313Z","modified":"2026-07-28T19:15:31.806Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","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","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","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","score":6.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS: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","score":5.6,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R","score":5.6,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR","score":5.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","score":5.6,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"LOW"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","score":5.6,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","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"}],"cwes":["CWE-74","CWE-707"],"affected":[{"ranges":[{"version":"2026.4.0","status":"affected"},{"version":"2026.4.1","status":"affected"},{"version":"2026.4.2","status":"affected"},{"version":"2026.4.3","status":"affected"},{"version":"2026.4.4","status":"affected"},{"version":"2026.4.5","status":"affected"},{"version":"2026.4.6","status":"affected"},{"version":"2026.4.7","status":"affected"},{"version":"2026.4.8","status":"affected"},{"version":"2026.4.9","status":"affected"},{"version":"2026.4.10","status":"affected"},{"version":"2026.4.11","status":"affected"},{"version":"2026.4.12","status":"affected"},{"version":"2026.4.13","status":"affected"},{"version":"2026.4.14","status":"affected"},{"version":"2026.4.15","status":"affected"},{"version":"2026.4.16","status":"affected"},{"version":"2026.4.17","status":"affected"},{"version":"2026.4.18","status":"affected"},{"version":"2026.4.19","status":"affected"},{"version":"2026.4.20","status":"affected"},{"version":"2026.4.21","status":"affected"},{"version":"2026.4.22","status":"affected"},{"version":"2026.4.23","status":"affected"},{"version":"2026.4.24","status":"affected"},{"version":"2026.4.25","status":"affected"},{"version":"2026.4.26","status":"affected"},{"version":"2026.4.27","status":"affected"},{"version":"2026.4.28","status":"affected"},{"version":"2026.4.29","status":"affected"},{"version":"2026.4.30","status":"affected"}],"vendor":"NousResearch","product":"hermes-agent","cpe":"cpe:2.3:a:nousresearch:hermes-agent:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.18.0"}],"ecosystem":"PyPI","package":"hermes-agent","purl":"pkg:pypi/hermes-agent","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.18.0"}],"ecosystem":"PyPI","package":"hermes-agent","purl":"pkg:pypi/hermes-agent","source":"pysec"}],"references":[{"url":"https://vuldb.com/vuln/367501","tags":["technical-description","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://vuldb.com/vuln/367501/cti","tags":["permissions-required","signature","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://vuldb.com/cve/CVE-2026-10222","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://vuldb.com/submit/822020","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://gist.github.com/YLChen-007/7ee2eeaa383b3540d2e8854250c03fb0","tags":["exploit","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-10222","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/NousResearch/hermes-agent/commit/b944c6e821c2177eac6da857c99ff24566aa56b0","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/NousResearch/hermes-agent","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/hermes-agent/PYSEC-2026-2513.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://pypi.org/project/hermes-agent","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-mv8x-fg99-32mf","tags":["advisory"],"sources":["pysec"]}],"credits":["Eric-j (VulDB User)","VulDB CNA Team"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-06-01T13:16:15.346Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-10222","url":"https://www.cve.org/CVERecord?id=CVE-2026-10222","licence":"CVE Terms of Use","modified":"2026-06-01T13:16:34.171Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mv8x-fg99-32mf","url":"https://github.com/advisories/GHSA-mv8x-fg99-32mf","licence":"CC-BY-4.0","modified":"2026-07-28T19:15:31.806Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-10222","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-10222","licence":"Public domain","modified":"2026-07-22T07:10:00.107Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2513","url":"https://osv.dev/vulnerability/PYSEC-2026-2513","licence":"CC-BY-4.0","modified":"2026-07-13T16:31:57.048Z"}],"updatedAt":"2026-11-25T22:59:23.412Z","epss":{"score":0.00267,"percentile":0.20041,"date":"2026-12-01T12:00:22.000Z"}}