ChurchCRM CRM
ChurchCRM has unauthenticated RCE in its Install Wizard
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 5.21.0
Fixed in 5.21.0
Mitigation
Upgrade CRM to 5.21.0 or later.
References
- Vendor advisory github.com/ChurchCRM/CRM/security/advisories/G…
Timeline
Days relative to CVE publicationFirst public PoC 48 days after publication; not in CISA KEV. First PoC: Metasploit exploit: ChurchCRM Unauthenticated RCE via Setup Page (exploit/multi/http/churchcrm_install_unauth_rce) (Metasploit, 3 Feb 2026).
PoC repositories
Found on GitHub.No PoC repositories found yet.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Metasploit | Metasploit exploit: ChurchCRM Unauthenticated RCE via Setup Page (exploit/multi/http/churchcrm_install_unauth_rce) | 3 Feb 2026 | 14 Nov 2026 |