Skip to content

CVE-2026-53869 Hermes Agent < 0.16.0 - DNS Rebinding Bypass via WebSocket Endpoints

HighCVSS 8.7 EPSS 0.59%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

Description

Hermes Agent before 0.16.0 contains a DNS rebinding vulnerability in WebSocket endpoints that allows remote attackers to bypass Host and Origin validation. FastAPI HTTP middleware does not execute for WebSocket upgrade requests on /api/pty, /api/ws, /api/pub, and /api/events endpoints, enabling attackers to exploit DNS rebinding and inject malicious commands or read terminal output.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
pypi hermes-agent < 0.16.0 0.16.0 Fixed
pypi hermes-agent(PyPI) < 0.16.0; = 0.13.0; = 0.14.0; = 0.15.0 +2 more 0.16.0 Fixed

Affected products

ProductAffected versionsFixed in
pypi hermes-agent(PyPI) < 0.16.0 0.16.0
pypi hermes-agent(PyPI) = 0.13.0 No fix listed
pypi hermes-agent(PyPI) = 0.14.0 No fix listed
pypi hermes-agent(PyPI) = 0.15.0 No fix listed
pypi hermes-agent(PyPI) = 0.15.1 No fix listed
pypi hermes-agent(PyPI) = 0.15.2 No fix listed
pypi hermes-agent < 0.16.0 0.16.0

References