Skip to content
High 7.3

Hermes Agentの脆弱性、別のローカルホストのページからセッショントークンを盗まれ、OSコマンドを実行されるおそれ

CVE-2026-140425 First seen on SecPulse

Summary

Hermes Agent 0.16.0以降0.22.7より前の版には、ダッシュボードのCORSとWebSocketのオリジン確認が緩いという脆弱性があります。同じPC上の別のローカルホストポートで動くページから、セッショントークンを盗まれ、OSコマンドを実行されたりファイルを読み取られたりするおそれがあります。修正版の0.22.7に更新してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Hermes Agent 0.16.0以降0.22.7より前の版には、ダッシュボードのCORSとWebSocketのオリジン確認が緩いという脆弱性があります。同じPC上の別のローカルホストポートで動くページから、セッショントークンを盗まれ、OSコマンドを実行されたりファイルを読み取られたりするおそれがあります。修正版の0.22.7に更新してください。

Affected packages

PackageAffected → Fixed
NousResearchhermes-agent
≥ 0.16.0, < 0.22.7→ 0.22.7
Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details