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
    • 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-2026-41202

CVE-2026-41202: CI4MS Backup Restore RCE Vulnerability

CVE-2026-41202 is a remote code execution flaw in CI4MS that allows authenticated users to exploit Zip Slip and write malicious files. This post covers technical details, affected versions, impact, and mitigation.

Published: May 7, 2026

CVE-2026-41202 Overview

CVE-2026-41202 is a path traversal vulnerability [CWE-22] in CI4MS, a CodeIgniter 4-based content management system (CMS) skeleton with role-based access control (RBAC) and theme support. The flaw exists in the Backup::restore function, which extracts user-uploaded ZIP archives without validating entry names. An authenticated backend user with the backup create permission can exploit this Zip Slip weakness to write files outside the intended extraction directory. Attackers chain this primitive with a PHP file dropped under the public web root to achieve remote code execution. The issue affects CI4MS versions prior to 0.31.5.0 and is patched in version 0.31.5.0.

Critical Impact

Authenticated attackers with backup permissions can execute arbitrary PHP code on the server, fully compromising the host application.

Affected Products

  • CI4MS versions prior to 0.31.5.0
  • CodeIgniter 4-based deployments using the CI4MS skeleton
  • Backend user accounts holding the backup create permission

Discovery Timeline

  • 2026-05-07 - CVE-2026-41202 published to the National Vulnerability Database (NVD)
  • 2026-05-07 - Last updated in NVD database

Technical Details for CVE-2026-41202

Vulnerability Analysis

The vulnerability resides in the Backup::restore routine of CI4MS. When an authenticated administrator uploads a ZIP archive for restoration, the application iterates through archive entries and writes each file to disk. The extraction logic does not normalize or sanitize entry names before joining them with the destination path. An attacker who controls the ZIP contents can include entries with traversal sequences such as ../../../public/shell.php to escape the backup directory.

Because CI4MS exposes a public web root that executes PHP, dropping a .php payload under that directory results in immediate code execution when the file is requested over HTTP. The attacker requires only a single permission, backup create, rather than full administrative privilege, expanding the population of accounts that can trigger the issue.

Root Cause

The root cause is missing validation of ZIP entry names during archive extraction. The implementation trusts archive metadata and passes entry paths to filesystem write operations without verifying that the resolved destination remains inside the intended extraction directory. This pattern is the canonical Zip Slip vulnerability class, mapped to [CWE-22] Improper Limitation of a Pathname to a Restricted Directory.

Attack Vector

Exploitation proceeds in three steps. First, the attacker authenticates to the CI4MS backend with an account holding the backup create permission. Second, the attacker submits a malicious ZIP archive through the backup restore interface containing a PHP payload with a path traversal entry name targeting the public/ directory. Third, the attacker requests the dropped PHP file through the web server, triggering execution under the PHP-FPM or web server user context.

For implementation details, refer to the GitHub Security Advisory GHSA-xp9f-pvvc-57p4.

Detection Methods for CVE-2026-41202

Indicators of Compromise

  • Unexpected .php files appearing under the CI4MS public/ web root with recent modification timestamps
  • ZIP archive uploads containing entry names with ../ traversal sequences in backup restore logs
  • HTTP requests to PHP files with unusual names located outside expected application directories
  • Backend audit log entries showing backup restore actions followed by anomalous web requests from the same source IP

Detection Strategies

  • Inspect uploaded ZIP archives for entries whose normalized paths resolve outside the configured backup directory
  • Compare the inventory of files under public/ against the known application manifest to identify foreign PHP files
  • Correlate authenticated backend actions on the backup restore endpoint with subsequent web shell access patterns

Monitoring Recommendations

  • Enable file integrity monitoring on the CI4MS public/ and application root directories
  • Log every invocation of Backup::restore with the authenticated user, source IP, and archive checksum
  • Alert on PHP file creation events under web-accessible directories outside scheduled deployments

How to Mitigate CVE-2026-41202

Immediate Actions Required

  • Upgrade CI4MS to version 0.31.5.0 or later, which contains the official fix
  • Audit backend accounts and remove the backup create permission from any user that does not require it
  • Review the public/ directory and application root for unauthorized PHP files and remove any foreign artifacts
  • Rotate credentials and session tokens for any backend account that may have been used to upload untrusted archives

Patch Information

The maintainers patched the vulnerability in CI4MS Release 0.31.5.0. The fix validates ZIP entry names during extraction so that resolved paths cannot escape the destination directory. Administrators should apply this release through their normal deployment process and verify the version after upgrade.

Workarounds

  • Disable the backup restore feature until the patched version is deployed
  • Restrict access to the backup management endpoints with network-level controls such as IP allowlists
  • Configure the web server to deny PHP execution outside explicitly approved directories
  • Run the CI4MS process under a least-privilege user account that cannot write to sensitive system paths
bash
# Configuration example: deny PHP execution in unintended directories (nginx)
location ~* /(writable|backup)/.*\.php$ {
    deny all;
    return 403;
}

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechCi4ms

  • SeverityCRITICAL

  • CVSS Score9.4

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Release 0.31.5.0

  • GitHub Security Advisory GHSA-xp9f-pvvc-57p4
  • Related CVEs
  • CVE-2026-41587: CI4MS Theme Upload RCE Vulnerability

  • CVE-2026-41203: CI4MS Theme Upload RCE Vulnerability

  • CVE-2026-25510: CI4MS CodeIgniter CMS RCE Vulnerability

  • CVE-2026-41891: CI4MS Auth Bypass 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