CVE-2023-36822: Uptime Kuma's authenticated path traversal via plugin repository name may lead to unavailability or data loss
Summary A path traversal vulnerability via the plugin repository name allows an authenticated attacker to delete files on the server leading to unavailability and potentially data loss. Details Uptime Kuma allows authenticated users to install plugins from an official list of plugins. This feature is currently disabled in the web interface, but the corresponding API endpoints are still available after login.
Published May 1, 2024
Affected packages
uptime-kuma
- Ecosystem
- npm
- Affected
- <= 1.22.0
- Fixed in
- 1.22.1
- Check
npm ls uptime-kuma
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
A path traversal vulnerability via the plugin repository name allows an authenticated attacker to delete files on the server leading to unavailability and potentially data loss.
Details
Uptime Kuma allows authenticated users to install plugins from an official list of plugins. This feature is currently disabled in the web interface, but the corresponding API endpoints are still available after login. Before a plugin is downloaded, the plugin installation directory is checked for existence. If it exists, it's removed before the plugin installation.
Because the plugin is not validated against the official list of plugins or sanitized, the check for existence and the removal of the plugin installation directory are prone to path traversal.
Impact
This vulnerability allows an authenticated attacker to delete files from the server Uptime Kuma is running on. Depending on which files are deleted, Uptime Kuma or the whole system may become unavailable due to data loss.
Credited to n-thumann.
References
- https://github.com/louislam/uptime-kuma/security/advisories/GHSA-vr8x-74pm-6vj7
- https://nvd.nist.gov/vuln/detail/CVE-2023-36822
- https://github.com/louislam/uptime-kuma/pull/3346
- https://github.com/louislam/uptime-kuma/commit/a0736e04b2838aae198c2110db244eab6f87757b
- https://github.com/louislam/uptime-kuma/blob/de74efb2e6601dcbcfed32cddefc4078a80fcb0b/server/plugins-manager.js#L75-L80
- https://github.com/louislam/uptime-kuma/releases/tag/1.22.1
- https://github.com/advisories/GHSA-vr8x-74pm-6vj7
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-32230
Uptime Kuma is Missing Authorization Checks on Ping Badge Endpoint, Leaks Ping times of monitors without needing to be on a status page
medium5.3Mar 12, 2026GHSA-vffh-c9pq-4crh
Uptime Kuma Server-side Template Injection (SSTI) in Notification Templates Allows Arbitrary File Read
medium6.5No fixOct 20, 2025CVE-2025-26042
Uptime Kuma's Regular Expression in pushdeeer and whapi file Leads to ReDoS Vulnerability Due to Catastrophic Backtracking
medium6.7No fixMar 31, 2025CVE-2024-56331
uptime-kuma vulnerable to Local File Inclusion (LFI) via Improper URL Handling in `Real-Browser` monitor
medium6.8Dec 20, 2024CVE-2023-36821
Uptime Kuma vulnerable to authenticated remote code execution via malicious plugin installation
high8.8May 1, 2024GHSA-23q2-5gf8-gjpp
Enabling Authentication does not close all logged in socket connections immediately
lowApr 19, 2024
