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-2026-39340

CVE-2026-39340: ChurchCRM SQL Injection Vulnerability

CVE-2026-39340 is a SQL injection flaw in ChurchCRM's PropertyTypeEditor.php that allows authenticated users to exfiltrate database data. This article covers the technical details, affected versions, and mitigation steps.

Published: April 10, 2026

CVE-2026-39340 Overview

ChurchCRM is an open-source church management system that contains a SQL injection vulnerability in PropertyTypeEditor.php, part of the administration functionality for managing property type categories. The vulnerability was introduced when legacyFilterInput() — which both strips HTML and escapes SQL — was replaced with sanitizeText(), which only strips HTML. User-supplied values from the Name and Description fields are concatenated directly into raw INSERT and UPDATE queries without SQL escaping.

Critical Impact

Any authenticated user with the MenuOptions role (a non-admin staff permission) can perform time-based blind SQL injection to exfiltrate sensitive data from the database, including password hashes of all users.

Affected Products

  • ChurchCRM versions prior to 7.1.0
  • ChurchCRM PropertyTypeEditor.php component
  • ChurchCRM Person Properties / Family Properties administration modules

Discovery Timeline

  • 2026-04-07 - CVE-2026-39340 published to NVD
  • 2026-04-09 - Last updated in NVD database

Technical Details for CVE-2026-39340

Vulnerability Analysis

This SQL injection vulnerability (CWE-89) allows authenticated attackers with limited privileges to extract sensitive data from the ChurchCRM database. The attack exploits improper input sanitization in the PropertyTypeEditor.php file, which handles administration of property type categories accessible through the People → Person Properties / Family Properties menu paths.

The vulnerability is particularly dangerous because it can be exploited by users with only the MenuOptions role, which is intended for non-administrative staff members. This low privilege requirement significantly expands the potential attack surface, as any staff user could potentially exfiltrate the entire database contents.

Root Cause

The root cause of this vulnerability is the replacement of the legacyFilterInput() function with sanitizeText() during code refactoring. While legacyFilterInput() provided dual functionality — stripping HTML entities and escaping SQL special characters — the replacement sanitizeText() function only performs HTML sanitization. This left user-supplied input from the Name and Description fields completely unescaped when incorporated into SQL queries.

The affected code constructs INSERT and UPDATE statements by directly concatenating user input, creating a classic SQL injection condition where malicious payloads can modify query structure.

Attack Vector

The attack is network-based and requires low-complexity exploitation. An attacker with valid authentication credentials and the MenuOptions role can access the vulnerable Property Type Editor functionality through the administrative interface.

The attack works through time-based blind SQL injection, where an attacker injects SQL payloads into the Name or Description fields when creating or editing property types. By crafting conditional time delay statements, the attacker can infer database contents character by character. This technique allows complete exfiltration of database tables including user credentials and password hashes, despite the lack of direct query output visibility.

For detailed technical information about this vulnerability, see the GitHub Security Advisory.

Detection Methods for CVE-2026-39340

Indicators of Compromise

  • Unusual time delays in responses from the PropertyTypeEditor.php endpoint
  • Anomalous property type entries containing SQL syntax characters such as single quotes, UNION statements, or SLEEP/BENCHMARK functions
  • Excessive requests to /PropertyTypeEditor.php from a single authenticated user
  • Database query logs showing malformed or suspicious SQL statements in INSERT/UPDATE operations for property types

Detection Strategies

  • Monitor HTTP request logs for POST parameters to PropertyTypeEditor.php containing SQL injection patterns
  • Implement Web Application Firewall (WAF) rules to detect common SQL injection payloads in form submissions
  • Enable database query logging and alert on queries containing time-based functions like SLEEP(), BENCHMARK(), or WAITFOR DELAY
  • Review ChurchCRM application logs for errors related to SQL syntax in property type operations

Monitoring Recommendations

  • Configure alerting for database queries that exceed normal execution time thresholds
  • Implement user behavior analytics to detect authenticated users accessing PropertyTypeEditor at unusual frequencies
  • Monitor for bulk data access patterns that could indicate ongoing data exfiltration
  • Audit MenuOptions role assignments and limit to essential personnel only

How to Mitigate CVE-2026-39340

Immediate Actions Required

  • Upgrade ChurchCRM to version 7.1.0 or later immediately
  • Audit existing property type entries for suspicious content that may indicate prior exploitation attempts
  • Rotate all user passwords and API keys as a precaution if running a vulnerable version
  • Review database access logs for evidence of time-based injection attacks

Patch Information

ChurchCRM has addressed this vulnerability in version 7.1.0. The fix restores proper SQL escaping for user-supplied input in the PropertyTypeEditor.php file. Organizations should upgrade to this version or later to remediate the vulnerability. For additional details, consult the GitHub Security Advisory.

Workarounds

  • Restrict access to the Property Type Editor functionality by removing MenuOptions role from non-essential users until patching is complete
  • Implement a Web Application Firewall (WAF) with SQL injection detection rules in front of the ChurchCRM application
  • Temporarily disable the PropertyTypeEditor.php page if property type management is not immediately required
  • Place the ChurchCRM instance behind a VPN or IP allowlist to limit network exposure
bash
# Example: Restrict access to PropertyTypeEditor.php via Apache .htaccess
<Files "PropertyTypeEditor.php">
    Require ip 192.168.1.0/24
    # Or deny all access temporarily
    # Require all denied
</Files>

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechChurchcrm

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-89
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-40482: ChurchCRM SQL Injection Vulnerability

  • CVE-2026-39318: ChurchCRM SQL Injection Vulnerability

  • CVE-2026-39342: ChurchCRM SQL Injection Vulnerability

  • CVE-2026-39341: ChurchCRM SQL Injection 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