Skip to main content

hermes-agent CVE-2026-10222

| EUVD-2026-33555 LOW
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2026-06-01 VulDB GHSA-mv8x-fg99-32mf
2.9
CVSS 4.0 · NVD

Severity by source

NVD PRIMARY
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

3
Analysis Generated
Jun 01, 2026 - 06:22 vuln.today
Severity Changed
Jun 01, 2026 - 06:22 NVD
MEDIUM LOW
CVSS changed
Jun 01, 2026 - 06:22 NVD
5.6 (MEDIUM) 2.9 (LOW)

DescriptionCVE.org

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.

AnalysisAI

Injection vulnerability in NousResearch hermes-agent (all versions through 2026.4.30) allows remote unauthenticated attackers to exploit improper neutralization in the _sanitize_env_lines function of hermes_cli/config.py, achieving partial confidentiality, integrity, and availability impact. The flaw is tagged as code injection (CWE-74), meaning attacker-controlled input passed through this sanitization routine may reach a downstream component in an executable or interpreted context. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Access
Identify network-reachable hermes-agent config input endpoint
Delivery
Craft malicious environment variable line with injection payload
Exploit
Submit crafted input to _sanitize_env_lines processing path
Execution
Bypass insufficient sanitization logic
Persist
Injected content reaches downstream component interpreter
Impact
Achieve partial confidentiality, integrity, or availability impact

Vulnerability AssessmentAI

Exploitation The attack requires network access to an interface that accepts input processed by the hermes_cli configuration layer, specifically the _sanitize_env_lines function in hermes_cli/config.py. … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment The CVSS base score of 5.6 (Medium) reflects a balanced picture: network reachability (AV:N) and no authentication requirement (PR:N/UI:N) lower the barrier to access, but high attack complexity (AC:H) and unchanged scope (S:U) with only low-level impacts across all three impact pillars (C:L/I:L/A:L) cap the ceiling. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario A remote attacker with knowledge of the hermes-agent configuration input surface crafts a malicious environment variable line containing injection characters (e.g., newline sequences, shell metacharacters, or delimiter escapes) and submits it to the application through a network-accessible pathway. The _sanitize_env_lines function in hermes_cli/config.py fails to neutralize these sequences before passing them to a downstream component - such as a subprocess, file writer, or interpreter - resulting in partial code execution, configuration tampering, or service disruption. …
Remediation No vendor-released patch identified at time of analysis. … Detailed patch versions, workarounds, and compensating controls in full report.

Threat intelligence, references, and detailed analysis are available after sign-in.

Share

CVE-2026-10222 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy