Local File Inclusion (LFI) via Improper URL Handling in uptime-kuma's `Real-Browser` monitor
Published Dec 20, 2024
6.8
MEDIUMCVSS 3.1
EPSS 1.85%
Description
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.
Affected products
-
- Version = 2.0.0-beta.0StatusaffectedConstraints-
- Version >= 1.23.0, < 1.23.16StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Louislam | Uptime-Kuma | n/a |
|
No data.
No data.
No Red Hat product state for this CVE.
uptime-kuma
npm
Introduced 1.23.0 Fixed 1.23.16uptime-kuma
npm
Introduced 2.0.0-beta.0 Fixed 2.0.0-beta.1
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | uptime-kuma | 1.23.0 | 1.23.16 |
| npm | uptime-kuma | 2.0.0-beta.0 | 2.0.0-beta.1 |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
PoCAutomatable
NoTechnical Impact
PartialDecision
n/aAssessed Dec 27, 2024 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2024–2026- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (25 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 1.85% (0.01845) | 78.29th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.76% (0.01763) | 75.04th | v5 (v2026.06.15) |
| May 31, 2026 | 65.75% (0.65749) | 98.52th | v4 (v2025.03.14) |
| May 11, 2026 | 59.39% (0.59386) | 98.26th | v4 (v2025.03.14) |
| Jan 28, 2026 | 53.22% (0.53224) | 97.89th | v4 (v2025.03.14) |
| Dec 16, 2025 | 41.41% (0.41406) | 97.25th | v4 (v2025.03.14) |
| Dec 14, 2025 | 42.95% (0.42946) | 97.34th | v4 (v2025.03.14) |
| Nov 21, 2025 | 41.41% (0.41406) | 97.24th | v4 (v2025.03.14) |
| Nov 18, 2025 | 56.62% (0.56621) | 98.04th | v4 (v2025.03.14) |
| Jun 27, 2025 | 41.41% (0.41406) | 97.24th | v4 (v2025.03.14) |
| Jun 9, 2025 | 39.76% (0.39760) | 97.12th | v4 (v2025.03.14) |
| May 18, 2025 | 41.50% (0.41503) | 97.22th | v4 (v2025.03.14) |
| Apr 22, 2025 | 47.56% (0.47557) | 97.50th | v4 (v2025.03.14) |
| Apr 21, 2025 | 50.81% (0.50814) | 97.66th | v4 (v2025.03.14) |
| Apr 15, 2025 | 41.68% (0.41678) | 97.18th | v4 (v2025.03.14) |
| Apr 13, 2025 | 47.71% (0.47707) | 97.48th | v4 (v2025.03.14) |
| Mar 30, 2025 | 41.14% (0.41145) | 97.11th | v4 (v2025.03.14) |
| Mar 29, 2025 | 53.65% (0.53652) | 97.08th | v4 (v2025.03.14) |
| Mar 28, 2025 | 41.14% (0.41145) | 97.11th | v4 (v2025.03.14) |
| Mar 27, 2025 | 63.94% (0.63944) | 98.20th | v4 (v2025.03.14) |
| Mar 24, 2025 | 53.65% (0.53652) | 97.78th | v4 (v2025.03.14) |
| Mar 23, 2025 | 58.17% (0.58174) | 97.94th | v4 (v2025.03.14) |
| Mar 20, 2025 | 34.73% (0.34729) | 96.69th | v4 (v2025.03.14) |
| Mar 17, 2025 | 47.19% (0.47186) | 97.40th | v4 (v2025.03.14) |
| Dec 21, 2024 | 0.04% (0.00044) | 12.11th | v3 (v2023.03.01) |
References (5)
- https://github.com/advisories/GHSA-2qgm-m29m-cj2h Advisory
- https://github.com/louislam/uptime-kuma/commit/6cfae01a0d3727c517afe512fc8fec1d99acf875 x_refsource_MISC
- https://github.com/louislam/uptime-kuma/releases/tag/1.23.16
- https://github.com/louislam/uptime-kuma/security/advisories/GHSA-2qgm-m29m-cj2h x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2024-56331
Change history (0)
No recorded changes yet.