Home / louislam / uptime-kuma / CVE-2024-56331
CVE-2024-56331: is it exploited, and which versions of louislam uptime-kuma are affected and fixed?
CVE-2024-56331 is a path traversal (reading or writing files outside the intended folder) vulnerability in louislam uptime-kuma. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:38 UTC). Affected: uptime-kuma from 1.23.0 before 1.23.16 and uptime-kuma from 2.0.0-beta.0 before 2.0.0-beta.1 (GitHub advisory GHSA-2qgm-m29m-cj2h). Fixed in 1.23.16 and 2.0.0-beta.1 (GitHub advisory GHSA-2qgm-m29m-cj2h). Severity: Medium (6.8, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:24 UTC.
What is CVE-2024-56331?
Local File Inclusion (LFI) via Improper URL Handling in uptime-kuma's `Real-Browser` monitor
Uptime Kuma is an open source, self-hosted monitoring tool. An **Improper URL Handling Vulnerability** allows an attacker to access sensitive local files on the server by exploiting the `file:///` protocol. This vulnerability is triggered via the **"real-browser"** request type, which takes a screenshot of the URL provided by the attacker. By supplying local file paths, such as `file:///etc/passwd`, an attacker can read sensitive data from the server. This vulnerability arises because the system does not properly validate or sanitize the user input for the URL field. Specifically: 1. The URL input (`<input data-v-5f5c86d7="" id="url" type="url" class="form-control" pattern="https?://.+" required="">`) allows users to input arbitrary file paths, including those using the `file:///` protocol, without server-side validation. 2. The server then uses the user-provided URL to make a request, passing it to a browser instance that performs the "real-browser" request, which takes a screenshot of the content at the given URL. If a local file path is entered (e.g., `file:///etc/passwd`), the browser fetches and captures the file’s content. Since the user input is not validated, an attacker can manipulate the URL to request local files (e.g., `file:///etc/passwd`), and the system will capture a screenshot of the file's content, potentially exposing sensitive data. Any **authenticated user** who can submit a URL in "real-browser" mode is at risk of exposing sensitive data through screenshots of these files. This issue has been addressed in version 1.23.16 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
From the CVE record by GitHub_M, last updated December 27, 2024, 14:52 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| louislam | uptime-kuma | >= 1.23.0, < 1.23.16 = 2.0.0-beta.0 |
As the CVE record by GitHub_M states it, last updated December 27, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | uptime-kuma | >= 1.23.0, < 1.23.16 | 1.23.16 | GHSA-2qgm-m29m-cj2h |
| npm | uptime-kuma | >= 2.0.0-beta.0, < 2.0.0-beta.1 | 2.0.0-beta.1 | GHSA-2qgm-m29m-cj2h |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 20, 2024. Summary: uptime-kuma vulnerable to Local File Inclusion (LFI) via Improper URL Handling in `Real-Browser` monitor.
How severe is CVE-2024-56331?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-56331 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, December 27, 2024)
- EPSS
- 2.00% probability of exploitation activity in the next 30 days, percentile 81.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://github.com/louislam/uptime-kuma/security/advisories/GHSA-2qgm-m29m-cj2h x_refsource_CONFIRM
- https://github.com/louislam/uptime-kuma/commit/6cfae01a0d3727c517afe512fc8fec1d99acf875 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- December 19, 2024
- Published
- December 20, 2024, 19:48 UTC
- CVE record updated
- December 27, 2024, 14:52 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 08:12 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:24 UTC; KEV December 3, 2026, 08:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect uptime-kuma?
- Nov 24, 2026CVE-2026-136135 louislam uptime-kuma: authorization bypass through a user-controlled key (IDOR)
- Oct 30, 2026CVE-2026-119552 louislam uptime-kuma: time-of-check time-of-use race condition
- Aug 5, 2026CVE-2026-71285 louislam uptime-kuma: cross-site scripting (XSS)
- Mar 20, 2026CVE-2026-33130 louislam uptime-kuma: PHP file inclusion
- Mar 12, 2026CVE-2026-32230 louislam uptime-kuma: missing authorization
- Dec 11, 2023CVE-2023-49805 louislam uptime-kuma: missing Origin Validation in WebSockets
- Dec 11, 2023CVE-2023-49804 louislam uptime-kuma: session fixation
- Dec 1, 2023CVE-2023-49276 louislam uptime-kuma: cross-site scripting (XSS)
Questions about CVE-2024-56331
Is CVE-2024-56331 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:38 UTC. FIRST's EPSS gives it a 2.00% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of louislam uptime-kuma are affected by CVE-2024-56331?
uptime-kuma from 1.23.0 before 1.23.16 and uptime-kuma from 2.0.0-beta.0 before 2.0.0-beta.1, per the GitHub advisory GHSA-2qgm-m29m-cj2h. The tables above give every range the sources list.
Which version fixes CVE-2024-56331?
1.23.16 and 2.0.0-beta.1, per the GitHub advisory GHSA-2qgm-m29m-cj2h. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-56331?
Medium (6.8, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-56331?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.