Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. uptime-kuma
  4. ›
  5. CVE-2024-56331

CVE-2024-56331: uptime-kuma vulnerable to Local File Inclusion (LFI) via Improper URL Handling in `Real-Browser` monitor

December 20, 2024

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.

References

  • github.com/advisories/GHSA-2qgm-m29m-cj2h
  • github.com/louislam/uptime-kuma
  • github.com/louislam/uptime-kuma/commit/6cfae01a0d3727c517afe512fc8fec1d99acf875
  • github.com/louislam/uptime-kuma/releases/tag/1.23.16
  • github.com/louislam/uptime-kuma/security/advisories/GHSA-2qgm-m29m-cj2h
  • nvd.nist.gov/vuln/detail/CVE-2024-56331

Code Behaviors & Features

Detect and mitigate CVE-2024-56331 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.23.0 before 1.23.16, all versions starting from 2.0.0-beta.0 before 2.0.0-beta.1, version 2.0.0-beta.0

Fixed versions

  • 1.23.16
  • 2.0.0-beta.1

Solution

Upgrade to versions 1.23.16, 2.0.0-beta.1 or above.

Impact 6.8 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/uptime-kuma/CVE-2024-56331.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:23 +0000.