Skip to content

uptime-kuma

Local File Inclusion (LFI) via Improper URL Handling in uptime-kuma's `Real-Browser` monitor

CVE-2024-56331Published 20 Dec 2024, 19:48 UTC

Real-world risk

3.2/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

6.8

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
uptime-kumaNiche>= 1.23.0, < 1.23.16; = 2.0.0-beta.01.23.16

What to do

Update to a fixed version: 1.23.16.

Why this score

FactorValueEvidence×
ImpactMajor data exposureReads secrets, credentials, databases, arbitrary filesFrom the CVSS vector0.80
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededLowA real low-privileged accountFrom the CVSS vector0.60
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T3: Public proof of concept (× 0.95)

A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit

  • CISA SSVC: proof of concept

EPSS 2.0% chance of exploitation in 30 days (percentile 81), as of 2026-12-03.

The arithmetic
  1. Prerequisites multiplied together0.420
  2. Threat T3: Public proof of concept0.950
  3. 10 × impact 0.8 × prerequisites 0.42 × threat 0.953.192
  4. Rounded to one decimal between 0.1 and 103.2

How the score works

Exploitation and evidence timeline

  1. 20 Dec 2024 Published
  2. 3 Dec 2026 CISA SSVC: proof of concept first seen
  3. 3 Dec 2026 Risk 3.2 (cvss fallback)

Weakness

CWE-22

References

Get alerts for uptime-kuma

Free email or text alerts when a vulnerability in uptime-kuma reaches risk 8 or higher. Nothing else.

CVE-2024-56331: Local File Inclusion (LFI) via Improper URL Handling in uptime-kuma's `Real-Browser` monitor · CVE Feed