Advisory

PYSEC-2026-2515

Also known as: CVE-2026-9368, GHSA-wm96-9gfh-vvgq

Summary

hermes-agent has a sandbox issue

Details

A vulnerability was identified in NousResearch hermes-agent up to 2026.4.16. This impacts the function execute_code of the file tools/code_execution_tool.py of the component Environment Variable Handler. Such manipulation leads to sandbox issue. It is possible to launch the attack remotely. The exploit is publicly available and might 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.11.0 (ecosystem)

Fixed versions

0.11.0

Fix

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