The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-2026-24129

CVE-2026-24129: Runtipi Command Injection Vulnerability

CVE-2026-24129 is a remote code execution vulnerability in Runtipi that allows authenticated users to execute arbitrary commands via malicious backup filenames. This article covers technical details, affected versions, and mitigation.

Published: January 23, 2026

CVE-2026-24129 Overview

CVE-2026-24129 is a command injection vulnerability affecting Runtipi, a Docker-based personal homeserver orchestrator designed to manage multiple services on a single server. Versions 3.7.0 and above are vulnerable to arbitrary system command execution on the host server by authenticated users who inject shell metacharacters into backup filenames. The BackupManager component fails to properly sanitize filenames of uploaded backups, allowing attackers to stage malicious files that execute arbitrary commands during the restore process.

Critical Impact

Authenticated attackers can achieve remote code execution on the host system by exploiting unsanitized backup filenames, potentially leading to complete server compromise.

Affected Products

  • Runtipi versions 3.7.0 through 4.6.x
  • Runtipi homeserver orchestrator with backup/restore functionality
  • Docker-based Runtipi deployments with authenticated user access

Discovery Timeline

  • 2026-01-22 - CVE CVE-2026-24129 published to NVD
  • 2026-01-22 - Last updated in NVD database

Technical Details for CVE-2026-24129

Vulnerability Analysis

This vulnerability stems from insufficient input validation in the backup file upload and restore functionality within Runtipi's BackupManager component. The system persists user-uploaded files directly to the host filesystem using the raw originalname provided in the HTTP request without any sanitization. This design flaw allows an attacker to craft a backup filename containing shell metacharacters such as $(id).tar.gz or similar command substitution patterns.

When an authenticated user uploads a maliciously named backup file, the filename is stored at a predictable path on the filesystem. The critical exploitation occurs during the restore process, where the unsanitized filename is passed to shell commands without proper escaping. This allows the embedded shell metacharacters to be interpreted and executed by the system shell, resulting in arbitrary command execution with the privileges of the Runtipi process.

The attack requires authenticated access to the Runtipi interface, but the changed scope indicated in the vulnerability assessment means successful exploitation can impact resources beyond the vulnerable component itself, potentially affecting other services and containers managed by Runtipi on the host system.

Root Cause

The root cause is a classic CWE-78 (Improper Neutralization of Special Elements used in an OS Command) vulnerability. The BackupManager module directly uses user-supplied filenames in system operations without implementing input sanitization. The originalname from uploaded files is trusted implicitly and passed through to filesystem operations and shell commands during the backup restore workflow.

Attack Vector

The attack is network-accessible and requires high privileges (authenticated user access) but no user interaction. An attacker with valid credentials can:

  1. Craft a backup file with shell metacharacters in the filename (e.g., $(whoami).tar.gz or `id`.tar.gz)
  2. Upload the malicious backup through the Runtipi web interface
  3. The file is stored on the host filesystem at a predictable location with the unsanitized name
  4. Trigger the restore functionality for the uploaded backup
  5. Shell metacharacters in the filename are executed during restore operations
typescript
// Security patch - sanitize backup filenames before manipulation
// Source: https://github.com/runtipi/runtipi/commit/c3aa948885554a370d374692158a3bfe1cfdc85a

// packages/backend/src/common/helpers/exec-helpers.ts
-import { exec } from 'node:child_process';
+import { exec, spawn } from 'node:child_process';
+import type { SpawnOptionsWithoutStdio } from 'node:child_process';
 import { promisify } from 'node:util';

 type ExecAsyncParams = [command: string];

The patch introduces safer process spawning mechanisms alongside the existing exec function.

typescript
// Filename sanitization function added
// Source: https://github.com/runtipi/runtipi/commit/c3aa948885554a370d374692158a3bfe1cfdc85a

// packages/backend/src/common/helpers/file-helpers.ts
 };

 export const notEmpty = <TValue>(value: TValue | null | undefined): value is TValue => value !== null && value !== undefined;
+
+export const sanitizeFilename = (filename: string) => filename.replace(/[^a-zA-Z0-9._:-]/g, '');

The fix implements a sanitizeFilename function that strips all characters except alphanumeric characters, periods, underscores, colons, and hyphens, effectively neutralizing shell metacharacters.

Detection Methods for CVE-2026-24129

Indicators of Compromise

  • Backup files with unusual characters in filenames including $(), backticks, semicolons, or pipe characters
  • Unexpected system commands in process listings or logs correlating with backup restore operations
  • Anomalous files in Runtipi backup directories with shell metacharacter patterns in names
  • Unusual network connections or processes spawned by the Runtipi service

Detection Strategies

  • Monitor backup upload endpoints for filenames containing shell metacharacters such as $, `, ;, |, &, or newlines
  • Implement file integrity monitoring on Runtipi backup directories to detect suspicious file creation
  • Review Runtipi service logs for restore operations with unusual filenames or error patterns indicating command injection attempts
  • Deploy web application firewall rules to detect and block requests with shell metacharacters in file upload parameters

Monitoring Recommendations

  • Enable verbose logging for all backup and restore operations within Runtipi
  • Configure alerts for any shell command errors during restore processes that may indicate exploitation attempts
  • Monitor system process creation for unexpected child processes spawned by the Runtipi backend
  • Implement audit logging for all authenticated actions in the Runtipi administration interface

How to Mitigate CVE-2026-24129

Immediate Actions Required

  • Upgrade Runtipi to version 4.7.0 or later which contains the security fix
  • Audit existing backup files in the backup directory for any filenames containing shell metacharacters
  • Review access logs for suspicious backup upload or restore activity
  • Restrict Runtipi administrative access to trusted users only until patching is complete

Patch Information

The vulnerability has been fixed in Runtipi version 4.7.0. The patch implements filename sanitization through a new sanitizeFilename function that removes all potentially dangerous characters before processing backup files. The fix is available through the GitHub release v4.7.0 and detailed in the GitHub Security Advisory GHSA-vrgf-rcj5-6gv9. The specific commit c3aa948885554a370d374692158a3bfe1cfdc85a contains the security fix.

Workarounds

  • Implement a web application firewall or reverse proxy rule to reject file uploads containing shell metacharacters in filenames
  • Temporarily disable the backup/restore functionality if not critical to operations until patching is complete
  • Restrict network access to the Runtipi management interface to trusted IP addresses only
  • Consider running Runtipi in a more isolated environment with reduced host system privileges
bash
# Configuration example - Restrict Runtipi access via reverse proxy (nginx example)
# Block backup uploads with dangerous characters in filename
location /api/backup {
    # Only allow alphanumeric, dots, underscores, and hyphens in uploaded filenames
    if ($request_body ~* "filename.*[\$\`\;\|\&\(\)\{\}\[\]\<\>]") {
        return 403;
    }
    proxy_pass http://runtipi-backend;
}

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechRuntipi

  • SeverityHIGH

  • CVSS Score8.0

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-78
  • Technical References
  • GitHub Commit Update

  • GitHub Release v4.7.0

  • GitHub Security Advisory GHSA-vrgf-rcj5-6gv9
  • Related CVEs
  • CVE-2026-25116: Runtipi Path Traversal RCE Vulnerability

  • CVE-2026-32729: Runtipi Auth Bypass Vulnerability

  • CVE-2026-31881: Runtipi Auth Bypass Vulnerability
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