Advisory

PYSEC-2026-2514

Also known as: CVE-2026-9366, GHSA-pgp4-xr4j-h5cg

Summary

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.

Severity

High Basis: CVSS v3 score 7.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Dates

Published
2026-07-13 15:19 UTC
Modified
2026-07-13 16:31 UTC

Affected packages and fixes

hermes-agent

PyPI · All systems

Affected

  • introduced 0, fixed 0.15.0 (ecosystem)

Fixed versions

0.15.0

Fix

  • Fixed version 0.15.0
    pip install --upgrade hermes-agent==0.15.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences