GHSA-4pqm-j46f-795x

Suggest an improvement
Source
https://github.com/advisories/GHSA-4pqm-j46f-795x
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-4pqm-j46f-795x/GHSA-4pqm-j46f-795x.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4pqm-j46f-795x
Aliases
Downstream
MINI (3)
Published
2026-06-17T21:34:38Z
Modified
2026-07-13T16:42:59Z
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.

Database specific
{
    "cwe_ids":  [
        "CWE-306"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-06-19T14:47:03Z",
    "nvd_published_at":  "2026-06-17T19:18:10Z",
    "severity":  "HIGH"
}
References

Affected packages

PyPI / hermes-agent

Package

Name
hermes-agent
View open source insights on deps.dev
Purl
pkg:pypi/hermes-agent

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown 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/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-4pqm-j46f-795x/GHSA-4pqm-j46f-795x.json"