ADVISORIES

PyPA Advisory Database

PYSEC-2026-2514

hermes-agent has an Injection issue

Details

A vulnerability was found in NousResearch hermes-agent 2026.4.23. The impacted element is the function _scan_context_content of the file agent/prompt_builder.py. The manipulation results in injection. The attack may be performed from remote. The exploit has been made public and could be used. The vendor was contacted early about this disclosure but did not respond in any way.

Affected packages

EcosystemPackageAffected versions
PyPIhermes-agent
All versions before 0.15.0 (fixed in 0.15.0)

References