Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-56331

CVE-2024-56331: Uptime Kuma File Disclosure Vulnerability

CVE-2024-56331 is an information disclosure flaw in Uptime Kuma that allows attackers to access local files via file:/// protocol exploitation in real-browser mode. This article covers technical details, impact, and mitigation.

Updated: January 22, 2026

CVE-2024-56331 Overview

CVE-2024-56331 is a Local File Inclusion (LFI) vulnerability in Uptime Kuma, an open source, self-hosted monitoring tool. The vulnerability exists due to improper URL handling that allows an authenticated attacker to access sensitive local files on the server by exploiting the file:/// protocol through the "real-browser" request type functionality.

Critical Impact

Authenticated users can read arbitrary local files from the server (e.g., /etc/passwd) by abusing the screenshot functionality, leading to sensitive data exposure.

Affected Products

  • Uptime Kuma versions prior to 1.23.16

Discovery Timeline

  • December 20, 2024 - CVE-2024-56331 published to NVD
  • December 20, 2024 - Last updated in NVD database

Technical Details for CVE-2024-56331

Vulnerability Analysis

This vulnerability is classified as CWE-22 (Path Traversal) and enables authenticated attackers to read sensitive local files from the server hosting Uptime Kuma. The attack is possible because the application fails to properly validate or sanitize user-supplied URL input before processing it through the browser screenshot feature.

The exploitation requires user interaction, as an attacker must be authenticated and manually submit a malicious URL. However, the scope is changed (cross-boundary impact), meaning the vulnerability affects resources beyond its security scope by allowing access to the underlying file system. The confidentiality impact is high, as attackers can exfiltrate sensitive server data.

Root Cause

The root cause of this vulnerability lies in insufficient server-side validation of URL input. The HTML input element accepts URLs with a pattern matching https?://.+, which appears to restrict input to HTTP/HTTPS protocols. However, this client-side validation is not enforced on the server side.

When a user submits a URL using the "real-browser" monitoring type, the application passes the URL directly to a browser instance that renders the content and captures a screenshot. Because there is no server-side validation blocking the file:/// protocol, the browser will happily render local file contents, which are then captured and returned to the attacker.

Attack Vector

The attack vector exploits the real-browser screenshot functionality in Uptime Kuma. An authenticated attacker can perform the following steps:

  1. Log into the Uptime Kuma dashboard
  2. Create a new monitor using the "real-browser" request type
  3. Supply a malicious URL such as file:///etc/passwd in the URL field
  4. Submit the monitor configuration
  5. The application's browser instance fetches and renders the local file content
  6. A screenshot containing the file contents is captured and displayed to the attacker

This allows attackers to read any file accessible to the user running the Uptime Kuma process, including configuration files, credentials, SSH keys, and other sensitive data stored on the server.

Detection Methods for CVE-2024-56331

Indicators of Compromise

  • Monitor logs for URL submissions containing the file:/// protocol scheme
  • Review Uptime Kuma monitor configurations for suspicious file path patterns
  • Check for unusual screenshot requests targeting local system paths like /etc/passwd, /etc/shadow, or application configuration files

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block file:/// protocol patterns in request parameters
  • Monitor Uptime Kuma access logs for authenticated users creating monitors with non-HTTP/HTTPS URL schemes
  • Deploy endpoint detection to identify browser processes reading sensitive system files unexpectedly

Monitoring Recommendations

  • Enable verbose logging in Uptime Kuma to capture all monitor creation and modification events
  • Set up alerts for any file access attempts by the Uptime Kuma process outside of expected directories
  • Regularly audit monitor configurations for suspicious URL patterns

How to Mitigate CVE-2024-56331

Immediate Actions Required

  • Upgrade Uptime Kuma to version 1.23.16 or later immediately
  • Audit existing monitors for any suspicious file:/// URLs that may indicate prior exploitation
  • Review Uptime Kuma logs for evidence of local file access attempts
  • Consider restricting network access to the Uptime Kuma instance to trusted users only

Patch Information

The vulnerability has been addressed in Uptime Kuma version 1.23.16. The fix is available in the GitHub commit 6cfae01a0d3727c517afe512fc8fec1d99acf875. All users are strongly advised to upgrade to the patched version.

For additional details, refer to the GitHub Security Advisory GHSA-2qgm-m29m-cj2h.

Workarounds

  • There are no known workarounds for this vulnerability according to the security advisory
  • Until patching is possible, consider temporarily disabling the "real-browser" monitoring feature if your deployment allows
  • Restrict access to the Uptime Kuma dashboard to only trusted administrative users
  • Implement network segmentation to limit potential data exposure if exploitation occurs

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechUptime Kuma

  • SeverityMEDIUM

  • CVSS Score6.8

  • EPSS Probability41.41%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-2qgm-m29m-cj2h
  • Related CVEs
  • CVE-2026-32230: Uptime Kuma Information Disclosure Flaw

  • CVE-2026-33130: Uptime Kuma Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English