All vulnerabilities

PyPI

CVE-2026-140425

Hermes Agent 0.16.0 before 0.22.7 Session Token Theft via Dashboard CORS

Severity
High 7.3
Published
1 Dec 2026
Last changed
1 Dec 2026
Added to UpHeron
1 Dec 2026
Fixed in
0.22.7
Weakness
CWE-1385
Attack
Needs local access · Only under certain conditions · No login needed · Needs someone to view a page or file
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Sources
CVE Program

Description

Hermes Agent 0.16.0 before 0.22.7 contains a permissive CORS and WebSocket origin check that lets other local-port pages steal the dashboard session token. Attacker content on another localhost port reads the token from GET /, opens /api/ws, calls shell.exec to run OS commands, and reads files via /api/files/download.

From the CVE Program.

Affected software

SoftwareAffected versions
hermes-agentPyPI · osv:PyPI:hermes-agent
  • From 0.16.0 before 0.22.7

About hermes-agent

Weekly downloads (PyPI)
68,167PyPI Stats, 1 Dec 2026

This is the only vulnerability in hermes-agent in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-140425