Remote code executionin ChurchCRM CRM.
Weaponized: a Metasploit exploit is public.
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.
- Upgrade CRM to 5.21.0 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 15 Oct 2025CVE ID reserved by GitHub_M.
- 17 Dec 2025Published in the CVE List.
- 17 Dec 2025Metasploit module: ChurchCRM Unauthenticated RCE via Setup Page.
- 17 Dec 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Weaponized (Metasploit). CISA assessment (SSVC): exploitation poc.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other CRM vulnerabilities
Same weakness: Code injection
- github.com x_refsource_CONFIRM
Patchminder. CVE-2025-62521: Remote code execution in ChurchCRM CRM. https://patchminder.com/cve/cve-2025-62521/ (accessed 5 December 2026).