ChurchCRM has unauthenticated RCE in its Install Wizard
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-94.
Summary
ChurchCRM is an open-source church management system. Prior to version 5.21.0, a pre-authentication remote code execution vulnerability in ChurchCRM's setup wizard allows unauthenticated attackers to inject arbitrary PHP code during the initial installation process, leading to complete server compromise. The vulnerability exists in `setup/routes/setup.php` where user input from the setup form is directly concatenated into a PHP configuration template without any validation or sanitization. Any parameter in the setup form can be used to inject PHP code that gets written to `Include/Config.php`, which is then executed on every page load. This is more severe than typical authenticated RCE vulnerabilities because it requires no credentials and affects the installation process that administrators must complete. Version 5.21.0 patches the issue.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA CRM (ChurchCRM) Fixed in 5.21.0
Timeline
- 2026-10-02 Threatist record created from CVE-2025-62521
References
More Churchcrm vulnerabilities
- TI-2026-28325 ChurchCRM Affected by Unauthenticated RCE in Install Wizard CVSS 3.1CRITICAL 10.0
- TI-2024-35802 EventAttendance.php in ChurchCRM 5.7.0 is vulnerable to SQL injection. CVSS 3.1CRITICAL 9.8
- TI-2024-16997 ChurchCRM 5.5.0 /EventEditor.php is vulnerable to Blind SQL Injection (Time-based) via the EventCount POST parameter. CVSS 3.1CRITICAL 9.8
- TI-2025-41969 ChurchCRM vulnerable to time-based blind SQL Injection in ConfirmReportEmail.php CVSS 4.0CRITICAL 9.3
- TI-2025-00963 SQL Injection in ChurchCRM CurrentFundraiser Parameter via BatchWinnerEntry.php CVSS 4.0CRITICAL 9.3
- TI-2025-00962 SQL Injection in ChurchCRM CurrentFundraiser Parameter via DonatedItemEditor.php CVSS 4.0CRITICAL 9.3
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences