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-40484

CVE-2026-40484: ChurchCRM RCE Vulnerability

CVE-2026-40484 is a remote code execution flaw in ChurchCRM that allows authenticated administrators to execute arbitrary code via malicious backup archives. This article covers technical details, affected versions, and mitigation.

Published: April 23, 2026

CVE-2026-40484 Overview

CVE-2026-40484 is a critical remote code execution vulnerability affecting ChurchCRM, an open-source church management system. The vulnerability exists in the database backup restore functionality, which extracts uploaded archive contents and copies files from the Images/ directory into the web-accessible document root using recursiveCopyDirectory(). This function performs no file extension filtering, allowing an authenticated administrator to upload a crafted backup archive containing a PHP webshell inside the Images/ directory. The malicious file is then written to a publicly accessible path and becomes executable via HTTP requests, resulting in remote code execution as the web server user.

The vulnerability is further exacerbated by the lack of CSRF token validation on the restore endpoint, enabling exploitation through cross-site request forgery attacks targeting authenticated administrators.

Critical Impact

Authenticated administrators can achieve remote code execution on the underlying web server, potentially compromising the entire system and sensitive church member data. The missing CSRF protection allows attackers to exploit this vulnerability without direct admin credentials by tricking administrators into visiting malicious pages.

Affected Products

  • ChurchCRM versions prior to 7.2.0

Discovery Timeline

  • April 18, 2026 - CVE-2026-40484 published to NVD
  • April 20, 2026 - Last updated in NVD database

Technical Details for CVE-2026-40484

Vulnerability Analysis

This vulnerability represents a dangerous combination of insecure file handling and missing security controls. The core issue lies in the recursiveCopyDirectory() function used during the backup restore process. When an administrator initiates a database restore from an uploaded archive, the system extracts the archive contents and recursively copies files from the Images/ directory into the web-accessible document root.

The critical flaw is the absence of any file extension filtering or validation during this copy operation. This allows executable files such as PHP webshells to be included in the archive's Images/ directory, subsequently placed in a publicly accessible location where they can be executed via direct HTTP requests.

The vulnerability is classified under CWE-269 (Improper Privilege Management), as the backup restore functionality grants excessive file system privileges without proper validation of the content being restored.

Root Cause

The root cause of this vulnerability is the failure to implement proper input validation and file type restrictions in the backup restore functionality. The recursiveCopyDirectory() function blindly copies all files from the extracted archive without checking file extensions, MIME types, or file content. Combined with the missing CSRF token validation on the restore endpoint, this creates a high-severity attack surface.

The absence of defense-in-depth measures—such as restricting executable permissions on the Images/ directory or implementing content-type validation—compounds the issue.

Attack Vector

An attacker can exploit this vulnerability through two primary attack scenarios:

  1. Direct exploitation by authenticated admin: A malicious or compromised administrator can craft a backup archive containing a PHP webshell in the Images/ directory, upload it through the restore functionality, and then access the webshell via HTTP to execute arbitrary commands.

  2. CSRF-based exploitation: Due to the missing CSRF token validation, an attacker can create a malicious webpage that triggers the backup restore operation when visited by an authenticated ChurchCRM administrator. This allows exploitation without requiring direct admin credentials.

The malicious archive structure would include a PHP file within the Images/ directory path. When the restore operation completes, this file becomes accessible at the web root, allowing the attacker to execute arbitrary PHP code with the privileges of the web server user.

For technical details on the exploitation mechanism and patch implementation, refer to the GitHub Security Advisory GHSA-2932.

Detection Methods for CVE-2026-40484

Indicators of Compromise

  • Unexpected PHP files appearing in the Images/ directory or web root after backup restore operations
  • Web server access logs showing requests to unusual PHP files in the Images/ directory
  • Backup restore operations initiated from unexpected IP addresses or during unusual hours
  • Suspicious POST requests to the backup restore endpoint with archive uploads

Detection Strategies

  • Monitor file system changes in the ChurchCRM web directory, particularly for new PHP files in the Images/ folder
  • Implement web application firewall (WAF) rules to detect and block requests to executable files in image directories
  • Review web server access logs for requests to PHP files in directories that should only contain static content
  • Deploy file integrity monitoring to alert on unauthorized modifications to the web application directory

Monitoring Recommendations

  • Enable detailed logging for the ChurchCRM backup and restore functionality
  • Configure alerts for any file creation events in the Images/ directory with executable extensions (.php, .phtml, .phar)
  • Monitor for outbound network connections from the web server that could indicate webshell activity
  • Implement endpoint detection and response (EDR) solutions to identify post-exploitation activities

How to Mitigate CVE-2026-40484

Immediate Actions Required

  • Upgrade ChurchCRM to version 7.2.0 or later immediately
  • Review file system for any unexpected PHP files in the Images/ directory and web root
  • Audit backup restore logs for any suspicious activity
  • Implement CSRF protection if using a custom deployment or awaiting upgrade

Patch Information

This vulnerability has been addressed in ChurchCRM version 7.2.0. The fix implements proper file extension filtering in the backup restore functionality and adds CSRF token validation to the restore endpoint. For detailed patch information, see the GitHub commit and the associated pull request.

Workarounds

  • Restrict access to the backup restore functionality to only essential personnel and trusted network locations
  • Configure web server to deny execution of PHP files in the Images/ directory using directory-specific configuration
  • Implement network-level access controls to limit who can access the ChurchCRM administrative interface
  • Deploy a web application firewall to filter malicious archive uploads
bash
# Apache configuration to prevent PHP execution in Images directory
<Directory "/var/www/churchcrm/Images">
    <FilesMatch "\.php$">
        Require all denied
    </FilesMatch>
    php_flag engine off
</Directory>

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechChurchcrm

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.07%

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

  • GitHub Pull Request Discussion

  • GitHub Security Advisory GHSA-2932
  • Related CVEs
  • CVE-2025-11938: ChurchCRM Deserialization RCE Vulnerability

  • CVE-2026-35573: ChurchCRM Path Traversal RCE Vulnerability

  • CVE-2026-39337: ChurchCRM RCE Vulnerability

  • CVE-2026-40593: ChurchCRM User Editor XSS 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