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

CVE-2026-40482: ChurchCRM SQL Injection Vulnerability

CVE-2026-40482 is a SQL injection vulnerability in ChurchCRM that allows attackers to execute malicious SQL queries through unsanitized input. This article covers technical details, affected versions, and mitigation.

Published: April 23, 2026

CVE-2026-40482 Overview

CVE-2026-40482 is a SQL Injection vulnerability affecting ChurchCRM, an open-source church management system. The vulnerability exists in the FinancialService::getMemberByScanString() function where the $routeAndAccount parameter is directly concatenated into a raw SQL query without proper sanitization. This allows authenticated attackers to manipulate database queries, potentially leading to unauthorized data access and limited data modification.

Critical Impact

Authenticated attackers can exploit this SQL injection flaw to extract sensitive member and financial data from the ChurchCRM database, with potential for limited data manipulation.

Affected Products

  • ChurchCRM versions prior to 7.2.0
  • ChurchCRM Financial Service module
  • Organizations using vulnerable check scanning functionality

Discovery Timeline

  • 2026-04-18 - CVE CVE-2026-40482 published to NVD
  • 2026-04-20 - Last updated in NVD database

Technical Details for CVE-2026-40482

Vulnerability Analysis

This SQL injection vulnerability (CWE-89) affects the financial services component of ChurchCRM. The vulnerable function getMemberByScanString() processes check scan strings to identify family members in the database. The core issue lies in how the $routeAndAccount variable, extracted from user-supplied scan data, is directly interpolated into a SQL query string without any input validation or parameterization.

The vulnerable code constructed a SQL query by concatenating user input directly: the $routeAndAccount value was embedded into a SELECT statement querying the family_fam table. This classic SQL injection pattern allows attackers who can supply crafted check scan strings to inject malicious SQL fragments, breaking out of the intended query structure.

The network-accessible nature of this vulnerability means attackers with low-level privileges on the ChurchCRM application can exploit it remotely. The primary impact is on data confidentiality, with attackers able to extract sensitive member information, financial records, and other data stored in the database. There is also a limited integrity impact, as certain SQL injection techniques could allow data modification.

Root Cause

The root cause is improper input validation (CWE-89: Improper Neutralization of Special Elements used in an SQL Command). The $routeAndAccount parameter was concatenated directly into a raw SQL query string without using parameterized queries or prepared statements. This violates secure coding practices for database interactions.

Attack Vector

An authenticated attacker with access to the financial services functionality can submit a specially crafted check scan string containing SQL metacharacters. When the getMemberByScanString() function processes this input, the malicious SQL fragments are executed against the database. The attack can be performed over the network against any accessible ChurchCRM instance running a vulnerable version.

php
// Vulnerable code (before fix)
$sSQL = 'SELECT fam_ID, fam_Name FROM family_fam WHERE fam_scanCheck="' . $routeAndAccount . '"';
$rsFam = FunctionsUtils::runQuery($sSQL);
$row = mysqli_fetch_array($rsFam);

// Fixed code (after patch)
$family = FamilyQuery::create()->findOneByScanCheck($routeAndAccount);
// Now using Propel ORM which properly handles parameterization

Source: GitHub Commit Update

Detection Methods for CVE-2026-40482

Indicators of Compromise

  • Unusual database query patterns in ChurchCRM logs, particularly involving the family_fam table
  • Web application firewall alerts for SQL injection patterns in requests to financial service endpoints
  • Unexpected database errors or query failures in the check scanning functionality
  • Anomalous data access patterns to member or financial records

Detection Strategies

  • Deploy web application firewall (WAF) rules to detect SQL injection patterns targeting ChurchCRM endpoints
  • Monitor database logs for queries containing SQL injection signatures such as UNION SELECT, OR 1=1, or comment sequences (--, /*)
  • Implement application-level logging to capture all requests to the FinancialService endpoints
  • Review ChurchCRM access logs for unusual activity patterns from authenticated users

Monitoring Recommendations

  • Enable verbose logging for the ChurchCRM financial services module
  • Configure database query logging to capture queries against the family_fam table
  • Set up alerts for failed authentication attempts followed by successful logins and immediate financial service access
  • Monitor for bulk data extraction patterns that may indicate post-exploitation data exfiltration

How to Mitigate CVE-2026-40482

Immediate Actions Required

  • Upgrade ChurchCRM to version 7.2.0 or later immediately
  • Review database access logs for signs of prior exploitation
  • Consider temporarily restricting access to financial service functionality until patching is complete
  • Audit user accounts with access to financial features for any unauthorized activity

Patch Information

ChurchCRM has addressed this vulnerability in version 7.2.0. The fix replaces the vulnerable raw SQL query with Propel ORM's FamilyQuery::create()->findOneByScanCheck() method, which properly handles input parameterization and prevents SQL injection. The patch is available through the GitHub Pull Request #8607 and is documented in the GitHub Security Advisory GHSA-hc37-vx3w-34fg.

Workarounds

  • If immediate patching is not possible, restrict network access to the ChurchCRM instance to trusted IP addresses only
  • Implement WAF rules to block requests containing common SQL injection payloads to financial service endpoints
  • Temporarily disable the check scanning functionality if it is not critical to operations
  • Apply database-level access controls to limit the ChurchCRM database user's permissions to the minimum required
bash
# Example: Restrict database user permissions (MySQL)
# Revoke unnecessary privileges from the ChurchCRM database user
REVOKE ALL PRIVILEGES ON churchcrm.* FROM 'churchcrm_user'@'localhost';
GRANT SELECT, INSERT, UPDATE ON churchcrm.* TO 'churchcrm_user'@'localhost';
# Remove DELETE privilege to limit potential damage from SQL injection
FLUSH PRIVILEGES;

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 Score7.1

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/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
  • AvailabilityNone
  • CWE References
  • CWE-89
  • Technical References
  • GitHub Commit Update

  • GitHub Pull Request #8607

  • GitHub Security Advisory GHSA-hc37-vx3w-34fg
  • Related CVEs
  • CVE-2026-39340: 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