cve.bz

CVE-2026-10222 nousresearch hermes-agent: Injection

2.9 lowEPSS 0.3%Fix available

Low (2.9) in nousresearch hermes-agent. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in hermes-agent 0.18.0.

On this page
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.

Severity

CVSS 4.0

2.9 low
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

CVSS 3.1

5.6 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 19th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-06-01. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection)
CWE-707 Improper Neutralization
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • hermes-agent (PyPI): fixed in 0.18.0

Ask an AI about this CVE

Show the promptExplain CVE-2026-10222 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-10222?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-10222?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-10222 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
NousResearch hermes-agent2026.4.0
NousResearch hermes-agent2026.4.1
NousResearch hermes-agent2026.4.2
NousResearch hermes-agent2026.4.3
NousResearch hermes-agent2026.4.4
NousResearch hermes-agent2026.4.5
NousResearch hermes-agent2026.4.6
NousResearch hermes-agent2026.4.7
NousResearch hermes-agent2026.4.8
NousResearch hermes-agent2026.4.9
NousResearch hermes-agent2026.4.10
NousResearch hermes-agent2026.4.11
NousResearch hermes-agent2026.4.12
NousResearch hermes-agent2026.4.13
NousResearch hermes-agent2026.4.14
NousResearch hermes-agent2026.4.15
NousResearch hermes-agent2026.4.16
NousResearch hermes-agent2026.4.17
NousResearch hermes-agent2026.4.18
NousResearch hermes-agent2026.4.19
NousResearch hermes-agent2026.4.20
NousResearch hermes-agent2026.4.21
NousResearch hermes-agent2026.4.22
NousResearch hermes-agent2026.4.23
NousResearch hermes-agent2026.4.24
NousResearch hermes-agent2026.4.25
NousResearch hermes-agent2026.4.26
NousResearch hermes-agent2026.4.27
NousResearch hermes-agent2026.4.28
NousResearch hermes-agent2026.4.29
NousResearch hermes-agent2026.4.30

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mv8x-fg99-32mfPyPIhermes-agent<0.18.00.18.0
PYSEC-2026-2513PyPIhermes-agent<0.18.00.18.0

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-707 (16), CWE-74 (37).

References

Check your stackJSON