CVE-2025-62521CWE-94

ChurchCRM has unauthenticated RCE in its Install Wizard

Critical · published December 17, 2025

CVSS v3.1
10.0
EPSS
5%
Percentile
91.5
In the wild
Unconfirmed
What it is

🚨 A tiny oversight during setup can open the floodgates to disaster! Before version 5.21.0, ChurchCRM allows unauthenticated attackers to execute remote code with just a clever twist during installation. 🔥 Picture this: you're setting up a new restaurant, and the contractor lets anyone write the menu without checking! If someone sneaks in a recipe for disaster, it could ruin the whole kitchen. That's exactly what happens here when user input is mishandled during ChurchCRM's setup process. An attacker could exploit this vulnerability to inject arbitrary PHP code, leading to complete server compromise — think of a thief walking straight into the vault because the door was left wide open! This could result in unauthorized access to sensitive data, manipulation of server files, and even complete control over the server itself. Absolutely devastating!

Put simply

Picture this: you're setting up a new restaurant, and the contractor lets anyone write the menu without checking! If someone sneaks in a recipe for disaster, it could ruin the whole kitchen. That's exactly what happens here when user input is mishandled during ChurchCRM's setup process. This vulnerability exists in `setup/routes/setup.php`, where user inputs are directly concatenated into a PHP configuration template without any validation or sanitization. This means any parameter in the setup form can become executable PHP code, compromising the server upon every page load.

What to do

An attacker could exploit this vulnerability to inject arbitrary PHP code, leading to complete server compromise — think of a thief walking straight into the vault because the door was left wide open! This could result in unauthorized access to sensitive data, manipulation of server files, and even complete control over the server itself. Absolutely devastating! To protect your installation, immediately upgrade to ChurchCRM version 5.21.0 or later. If you’ve already set up ChurchCRM, consider reviewing your configurations and ensure that unauthorized access controls are in place. Regularly audit your setup processes for security flaws! You've got this! By taking these steps, you'll secure your system and be a true security hero! 🛡️

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.04507 · 91.5th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2025-12-17T19:03Z
EPSS history
Timeline
  • 17 DEC 19:03Z
    ChurchCRM has unauthenticated RCE in its Install Wizard
    cvelistv5