Advisory

PYSEC-2026-2513

Also known as: CVE-2026-10222, GHSA-mv8x-fg99-32mf

Summary

hermes-agent has an Injection issue

Details

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.

Severity

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

Dates

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

Affected packages and fixes

hermes-agent

PyPI · All systems

Affected

  • introduced 0, fixed 0.18.0 (ecosystem)

Fixed versions

0.18.0

Fix

  • Fixed version 0.18.0
    pip install --upgrade hermes-agent==0.18.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