ChurchCRM CVE-2026-40582
CRITICALAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain credentials via phishing
-
DeliverySend POST to /api/public/user/login
-
ExploitReceive API key (bypassing 2FA/lockout)
-
ExecutionAccess protected API endpoints
-
ImpactExfiltrate member/financial data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Alternate path authentication
|
| Exploitation Conditions | Requires valid username and password credentials for any ChurchCRM user account. The vulnerability bypasses account lockout status and two-factor authentication, meaning an attacker needs only the password itself - not active session tokens, 2FA codes, or access to a non-locked account state. Exploitation succeeds against accounts protected by 2FA or currently locked due to failed login attempts, which would normally block authentication through the standard login interface. Network access to the /api/public/user/login endpoint is required (AV:N), but no special ChurchCRM configuration or non-default settings are necessary - the vulnerable endpoint is present in default installations prior to version 7.2.0. Does require attacker to obtain credentials through external means such as phishing, credential stuffing, password reuse from other breaches, or social engineering, as the endpoint does not itself leak credentials. |
| Impact | Real-world risk is high for environments where ChurchCRM credentials have been compromised through phishing, password reuse, or third-party breaches. The CVSS 9.1 critical score accurately reflects the severity when credentials are available: network-based attack vector (AV:N), low complexity (AC:L), no privileges required beyond stolen credentials (PR:N), high confidentiality and integrity impact (VC:H/VI:H). The AT:P (Attack Requirements: Present) metric suggests the attacker needs valid credentials, which is the primary limiting factor. No CISA KEV listing indicates no confirmed widespread exploitation in the wild, but this is likely due to ChurchCRM's limited deployment scope rather than inherent difficulty. The vulnerability is trivial to exploit once credentials are obtained - a simple API call bypasses lockout and 2FA. EPSS data not provided, but the attack pattern is well-documented and easily automated. Organizations using ChurchCRM should treat this as a high priority if credential theft vectors exist (phishing susceptibility, shared passwords, previous breaches). The vulnerability effectively nullifies two critical security controls (account lockout and 2FA), transforming any credential compromise into full API access. |
| Exploit ScenarioDerived | An attacker obtains a ChurchCRM administrator's username and password through a credential stuffing attack using passwords leaked from an unrelated service breach. Despite the administrator enabling two-factor authentication and the account being temporarily locked after previous failed login attempts, the attacker sends a POST request directly to https://church.example.org/api/public/user/login with the stolen credentials. The endpoint validates only the password, bypasses 2FA and lockout checks, and returns a valid API key. The attacker uses this key to access protected API endpoints, exfiltrating member contact information, donation records, and financial data with full administrator privileges. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 18, 2026
Authentication bypass in ChurchCRM versions prior to 7.2.0 allows remote unauthenticated attackers to obtain valid API keys by submitting credentials directly to the /api/public/user/login endpoint, circumventing account lockout policies and two-factor authentication enforcement. Attackers with stolen or compromised passwords can gain full API access with the victim's privileges even when the account is locked or protected by 2FA. CVSS 9.1 critical severity. Fixed in version 7.2.0 via GitHub commit 214694eb and PR #8607. No CISA KEV listing or public exploit code identified at time of analysis, though the vulnerability class (CWE-288: Authentication Bypass) is well-understood and straightforward to exploit once credentials are obtained through phishing, credential stuffing, or database leaks.
RemediationAI
Upgrade immediately to ChurchCRM version 7.2.0 or later, which implements proper authentication flow validation on the /api/public/user/login endpoint per GitHub PR #8607 and commit 214694eb83778e1f5e52b3dfa2a99d0e965c1850. Full vendor advisory with upgrade instructions at https://github.com/ChurchCRM/CRM/security/advisories/GHSA-8cwr-x83m-mh9x. If immediate upgrade is not feasible, implement compensating controls: (1) Block external network access to /api/public/user/login via web application firewall or reverse proxy rules, restricting API access to trusted internal networks only - this prevents remote exploitation but breaks legitimate external API integrations. (2) Enforce strong unique passwords and deploy anti-phishing training to reduce credential compromise vectors, though this does not fix the underlying bypass. (3) Monitor API key issuance logs for anomalous requests from locked or 2FA-protected accounts. These workarounds reduce attack surface but do not eliminate the vulnerability - upgrading to 7.2.0 is the only complete remediation.
Affected ProductsAI
ChurchCRM versions prior to 7.2.0 are vulnerable. ChurchCRM is an open-source church management system written in PHP, typically self-hosted by religious organizations. The vulnerability affects all deployment configurations that expose the /api/public/user/login endpoint to network access. Official vendor advisory available at https://github.com/ChurchCRM/CRM/security/advisories/GHSA-8cwr-x83m-mh9x confirms the affected version range and remediation details.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ChurchCRM is a PHP-based church management system handling member data, donations, and administrative functions. The vulnerability stems from CWE-288 (Authentication Bypass Using an Alternate Path or Channel). The /api/public/user/login endpoint implements a simplified authentication flow that validates only username/password credentials before issuing an API key, completely bypassing the security controls enforced by the primary authentication system. Standard login flows enforce account lockout after failed attempts and require two-factor authentication token validation before granting access. The vulnerable endpoint skips these checks, treating password validation as sufficient proof of identity. This creates an alternate authentication path that undermines security policies configured elsewhere in the application. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N) indicates network-accessible exploitation with low attack complexity but present attack requirements, likely referring to the need for valid credentials.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Primary rating from Vendor (github) · only source for this CVE.
CVSS VectorVendor: github
DescriptionCVE.org
ChurchCRM is an open-source church management system. In versions prior to 7.2.0, the /api/public/user/login endpoint validates only the username and password before returning the user's API key, bypassing the normal authentication flow that enforces account lockout and two-factor authentication checks. An attacker with knowledge of a user's password can obtain API access even when the account is locked or has 2FA enabled, granting direct access to all protected API endpoints with that user's privileges. This issue has been fixed in version 7.2.0. Note: this issue had a duplicate, GHSA-472m-p3gf-46xp, which has been closed.
Executive ViewAI
ChurchCRM versions before 7.2.0 contain a critical authentication bypass vulnerability that allows attackers with compromised credentials to obtain valid API keys and gain full system access, bypassing account lockout and two-factor authentication protections entirely. This directly exposes any organization using affected ChurchCRM instances to unauthorized data access and system manipulation if credentials are obtained through phishing, credential stuffing, or data breaches. Immediate upgrade to version 7.2.0 is essential to restore authentication integrity.
Until upgrade to 7.2.0 is complete: (1) Disable or restrict network access to the /api/public/user/login endpoint using firewall, WAF, or reverse proxy rules; (2) Implement rate-limiting and credential stuffing detection on authentication endpoints; (3) Enforce mandatory multi-factor authentication at the network or application layer independent of ChurchCRM's 2FA setting; (4) Monitor API key generation and usage logs in real-time for anomalous patterns; (5) Require VPN access for all administrative users to reduce external attack surface. These controls reduce but do not eliminate risk-vendor patch is mandatory.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB