Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-10222

MEDIUM 6.3PoCEPSS 28%

NousResearch hermes-agent config.py _sanitize_env_lines injection

Also known as GHSA-mv8x-fg99-32mf, PYSEC-2026-2513

Mitigation

  • Upgrade hermes-agent to 0.18.0 or later.

Who should check

  • Projects that depend on PyPI package hermes-agent (< 0.18.0)
  • Anyone running NousResearch hermes-agent 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; …

Vulnerability facts

Affected
hermes-agent < 0.18.0
Fixed in
0.18.0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
Yes: see the exploit references below
Remote exploitation
Remote, no login needed
CVSS
6.3 (v4.0, CNA)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:POpen in CVSS calculator
Show all 12 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Attack requirements: None
  • Privileges required: None
  • User interaction: None
  • Confidentiality impact: Low
  • Integrity impact: Low
  • Availability impact: Low
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
  • Exploit maturity: Proof of concept
EPSS
0.42% chance of exploitation in 30 days (percentile 28, 2026-11-26)
CWE
CWE-74, CWE-707
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
PyPI hermes-agent< 0.18.00.18.0osv
NousResearch hermes-agent2026.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; …—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-10222. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-10222.md
Affected: hermes-agent < 0.18.0
Fixed in: 0.18.0

Steps:
1. Search this machine and project for hermes-agent (PyPI), NousResearch hermes-agent: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-10222 being exploited?

There is no confirmed exploitation: CVE-2026-10222 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.42% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-10222?

Medium: CVSS 6.3 (v4.0, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2026-10222?

hermes-agent < 0.18.0.

Is there a fix for CVE-2026-10222?

Yes. Fixed in 0.18.0. Upgrade hermes-agent to 0.18.0 or later.

How do I check if I'm affected by CVE-2026-10222?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors