CVE-2026-10223 NousResearch hermes-agent memory_tool.py _scan_memory_content injection

Medium 5.3 Published Updated

Remote attackers can execute arbitrary code via injection in the hermes-agent memory scanning function, requiring immediate mitigation due to public exploit availability.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-10223?

CVE-2026-10223 is a medium-severity code injection vulnerability in NousResearch hermes-agent, published on 1 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A weakness has been identified in NousResearch hermes-agent up to 2026.4.30. This affects the function _scan_memory_content of the file tools/memory_tool.py. This manipulation causes injection. The attack can be initiated remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.

Weakness: CWE-74, CWE-707

Which versions are affected by CVE-2026-10223?

3 open source packages ship an affected version, including hermes-agent.

PackageAffectedFixed in
hermes-agent PyPIAll versions0.15.0
hermes-agent PyPIAll versions0.15.0
hermes-agent PyPIAll versions0.15.0

How do I fix CVE-2026-10223?

Upgrade hermes-agent to 0.15.0 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-10223 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-10223 exists.

Sources

Also known as GHSA-33qv-c5qm-799v, PYSEC-2026-3575.

Is CVE-2026-10223 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free