patchminder
Weaponized · Metasploit CVE-2025-62521

Remote code executionin ChurchCRM CRM.

Published 17 Dec 2025 · Updated 17 Dec 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Metasploit exploit is public.

Attack code is public
Severity
Critical 10.0
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 4.8% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 5.21.0 or later
In plain words

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.

What to do now
  • Upgrade CRM to 5.21.0 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
CRM
before 5.21.0
5.21.0
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 15 Oct 2025
    CVE ID reserved by GitHub_M.
  2. 17 Dec 2025
    Published in the CVE List.
  3. 17 Dec 2025
    Metasploit module: ChurchCRM Unauthenticated RCE via Setup Page.
  4. 17 Dec 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Metasploit). CISA assessment (SSVC): exploitation poc.

Metasploit module
1 module
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

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.

Related

Other CRM vulnerabilities

Same weakness: Code injection

All CWE-94 vulnerabilities

References
Cite this page

Patchminder. CVE-2025-62521: Remote code execution in ChurchCRM CRM. https://patchminder.com/cve/cve-2025-62521/ (accessed 5 December 2026).