CVE-2023-49805
Uptime Kuma Missing Origin Validation in WebSockets
Mitigation
- Upgrade uptime-kuma to 1.23.9 or later.
Who should check
- Anyone running louislam uptime-kuma < 1.23.9
Vulnerability facts
- Affected
- louislam uptime-kuma < 1.23.9
- Fixed in
- louislam uptime-kuma 1.23.9
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 6.0 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: High
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: Low
- Availability impact: Low
- EPSS
- 0.42% chance of exploitation in 30 days (percentile 28, 2026-11-26)
- CWE
- CWE-1385
- Modified
Description
Uptime Kuma is an easy-to-use self-hosted monitoring tool. Prior to version 1.23.9, the application uses WebSocket (with Socket.io), but it does not verify that the source of communication is valid. This allows third-party website to access the application on behalf of their client. When connecting to the server using Socket.IO, the server does not validate the `Origin` header leading to other site being able to open connections to the server and communicate with it. Other websites still need to authenticate to access most features, however this can be used to circumvent firewall protections made in place by people deploying the application. Without origin validation, Javascript executed from another origin would be allowed to connect to the application without any user interaction. Without login credentials, such a connection is unable to access protected endpoints containing sensitive data of the application. However, such a connection may allow attacker to further exploit unseen vulnerabilities of the application. Users with "No-auth" mode configured who are relying on a reverse proxy or firewall to provide protection to the application would be especially vulnerable as it would grant the attacker full access to the application. In version 1.23.9, additional verification of the HTTP Origin header has been added to the socket.io connection handler. By default, if the `Origin` header is present, it would be checked against the Host header. Connection would be denied if the hostnames do not match, which would indicate that the request is cross-origin. Connection would be allowed if the `Origin` header is not present. Users can override this behavior by setting environment variable `UPTIME_KUMA_WS_ORIGIN_CHECK=bypass`.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| louislam uptime-kuma | < 1.23.9 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-49805. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-49805.md Affected: louislam uptime-kuma < 1.23.9 Fixed in: louislam uptime-kuma 1.23.9 Steps: 1. Search this machine and project for louislam uptime-kuma: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2023-49805 being exploited?
There is no confirmed exploitation: CVE-2023-49805 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.42% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-49805?
Medium: CVSS 6.0 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2023-49805?
louislam uptime-kuma < 1.23.9.
Is there a fix for CVE-2023-49805?
Yes. Fixed in louislam uptime-kuma 1.23.9. Upgrade uptime-kuma to 1.23.9 or later.
How do I check if I'm affected by CVE-2023-49805?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.