PYSEC-2026-2510

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/hermes-agent/PYSEC-2026-2510.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2026-2510
Aliases
Published
2026-07-13T15:46:20.346348Z
Modified
2026-07-13T16:31:57.054858358Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
Hermes Agent contains a DNS rebinding vulnerability in WebSocket endpoints that allows remote attackers to bypass Host and Origin validation
Details

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.

References

Affected packages

PyPI / hermes-agent

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.16.0

Affected versions

0.*
0.13.0
0.14.0
0.15.0
0.15.1
0.15.2

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/hermes-agent/PYSEC-2026-2510.yaml"