ChurchCRM
CVE-2026-58409
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as ChurchCRM administrator
-
DeliveryHost malicious plugin ZIP with PHP webshell
-
ExploitSubmit URL and SHA-256 to /plugins/install-url
-
ExecutionServer extracts webshell into web root
-
PersistRequest webshell over HTTP
-
ImpactExecute OS commands as web server user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a valid, authenticated ChurchCRM administrator session (CVSS PR:H) with access to the plugin management feature. The concrete prerequisite is the plugin-install capability: the /plugins/install-url API route in management.php, reachable by an administrator, which accepts an attacker-controlled HTTPS URL for the plugin ZIP and validates it only against an attacker-supplied SHA-256 hash. The archive must contain a .php file, which is exploitable because 'php' is present in ALLOWED_EXTENSIONS and DENIED_EXTENSIONS does not block standard .php files, and because extracted files land in a web-root directory served by the PHP interpreter. Limiting factors: administrator authentication is mandatory, so this cannot be triggered by anonymous remote attackers; it applies only to ChurchCRM versions prior to 7.4.0; and it presumes the extraction directory executes PHP under the deployed web server configuration. |
| Impact | The CVSS 3.1 base score is 9.1 (AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H), reflecting network reach, low complexity, no user interaction, and full compromise with a scope change from web application to operating-system command execution. The critical mitigating signal is PR:H: exploitation requires an existing authenticated administrator account, so this is a post-authentication RCE / privilege-escalation-to-OS issue rather than a pre-auth internet-wide risk. There is no EPSS score, no SSVC decision, and no KEV listing in the provided data, and no POC is referenced, so real-world exploitation pressure appears low despite the high base score. The practical threat model is an insider admin, a compromised admin credential, or an admin tricked into installing a supplied plugin - genuine but bounded scenarios. Net assessment: high technical severity but real-world urgency is moderate and gated by administrator access; prioritize patching where admin accounts are numerous, shared, or weakly protected. |
| Exploit ScenarioDerived | An attacker who has obtained or been granted ChurchCRM administrator access crafts a ZIP containing a small PHP webshell, hosts it on an HTTPS server, and submits its URL and matching SHA-256 hash to the /plugins/install-url endpoint. ChurchCRM downloads and extracts the archive into the web root, and the attacker then browses directly to the webshell over HTTP to execute operating-system commands as the web server user - no plugin activation step required. No public exploit is identified at time of analysis, though the technique is straightforward given the low attack complexity. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 13, 2026
Remote code execution in ChurchCRM before 7.4.0 lets an authenticated administrator run arbitrary PHP on the server by installing a plugin ZIP that contains a webshell. Because 'php' is explicitly whitelisted in ALLOWED_EXTENSIONS and the DENIED_EXTENSIONS denylist fails to catch standard .php files, any PHP file inside the archive is extracted directly under the web root and becomes immediately executable over HTTP without the plugin ever being enabled. The /plugins/install-url route additionally allows the archive to be sourced from any attacker-controlled HTTPS URL, validated only against an attacker-supplied SHA-256 hash. No public exploit identified at time of analysis and it is not on CISA KEV.
RemediationAI
Vendor-released patch: upgrade to ChurchCRM 7.4.0, which corrects the plugin extension handling; this is the primary and recommended fix (see GHSA-37mf-vq43-5qp9 at https://github.com/ChurchCRM/CRM/security/advisories/GHSA-37mf-vq43-5qp9). Where immediate upgrade is not possible, reduce exposure by restricting who holds administrator accounts and enforcing strong, unique credentials plus MFA on the admin panel, since exploitation requires admin access. As a compensating control, block or restrict access to the plugin management functionality (the /plugins/install-url and plugin-install routes in management.php) at the web server or reverse proxy so plugins cannot be installed from remote URLs - the trade-off is that legitimate plugin installation is disabled until re-enabled. Additionally, configure the web/application server so the plugin extraction directory under the web root cannot execute PHP (for example, disable the PHP handler for that path) - the trade-off is that any plugin legitimately relying on server-side PHP in that location will stop functioning. Egress filtering to prevent the server from fetching arbitrary attacker HTTPS URLs further limits the install-url vector.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ChurchCRM is a PHP-based open-source church management application (CPE cpe:2.3:a:churchcrm:crm). The flaw is a classic CWE-434 Unrestricted Upload of File with Dangerous Type: the plugin installer's extension-filtering logic is inverted in effect - the allow-list intentionally contains 'php' and the corresponding deny-list does not neutralize ordinary .php files, so the two controls that should block executable content instead permit it. The plugin ZIP is unpacked into a directory beneath the document root that the PHP interpreter serves and executes, meaning extracted code runs in the web server's request context. The install-url path (management.php → /plugins/install-url) compounds this by fetching the ZIP from an arbitrary HTTPS location and checking integrity only against a hash the same actor supplies, so the hash check provides no security value against a malicious operator.
Know when Churchcrm gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Network-reachable admin endpoint (AV:N/AC:L/UI:N) but requires administrator privileges (PR:H); web-app admin escalating to an OS shell crosses an authority boundary (S:C) with full C/I/A impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
DescriptionCVE.org
ChurchCRM is an open-source church management system. Prior to version 7.4.0, an authenticated administrator can achieve Remote Code Execution (RCE) on the server by installing a malicious plugin ZIP archive containing a PHP webshell. The application explicitly includes 'php' in its ALLOWED_EXTENSIONS list, while the dangerous extensions denylist (DENIED_EXTENSIONS) fails to block standard .php files. Because php is explicitly included in the allowed extension list for plugin archives, and extracted files are placed directly under the web root, any PHP file inside the ZIP becomes immediately executable via HTTP - without even needing to "enable" the plugin through the application UI. The /plugins/install-url API route (management.php) allows an administrator to source the malicious ZIP from any attacker-controlled HTTPS URL, validating it only against an attacker-supplied SHA-256 hash. This issue has been fixed in version 7.4.0.
Articles & Coverage 1
Executive ViewAI
ChurchCRM versions before 7.4.0 contain a critical vulnerability allowing authenticated administrators to achieve full server compromise through malicious plugin installation. Any organization using ChurchCRM faces immediate risk of data breach and operational disruption. Urgent containment measures required pending patch release.
No vendor-released patch identified at time of analysis. Immediate mitigations: restrict administrative user access to network VPN or specific IP ranges; implement file upload filtering to reject PHP files; remove write permissions from /plugins directory; enable audit logging of administrator actions; scan existing plugin directories for unauthorized PHP files; consider containerized deployment with read-only filesystem for application code.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Affected Products (CPE)CVE.org
Remote code execution in ChurchCRM versions prior to 6.5.3 allows an authenticated administrator to upload a web shell t
ChurchCRM 5.5.0 FRCatalog.php is vulnerable to Blind SQL Injection (Time-based) via the CurrentFundraiser GET parameter.
ChurchCRM 5.5.0 /EventEditor.php is vulnerable to Blind SQL Injection (Time-based) via the EventCount POST parameter. Ra
A vulnerability exists in ChurchCRM 5.13.0 and prior that allows an attacker to execute arbitrary SQL queries by exploit
A vulnerability exists in ChurchCRM 5.13.0. Rated critical severity (CVSS 9.3), this vulnerability is remotely exploitab
A vulnerability exists in ChurchCRM 5.13.0 and prior that allows an attacker to execute arbitrary SQL queries by exploit
A vulnerability exists in ChurchCRM 5.13.0 and prior that allows an attacker to execute arbitrary SQL queries by exploit
A time-based blind SQL Injection vulnerability exists in the ChurchCRM 5.13.0 and prior EditEventAttendees.php within th
Authentication bypass in ChurchCRM API middleware enables unauthenticated remote attackers to access all protected endpo
ChurchCRM 5.5.0 FRCertificates.php is vulnerable to Blind SQL Injection (Time-based) via the CurrentFundraiser GET param
Authenticated SQL injection in ChurchCRM's PaddleNumEditor.php endpoint prior to version 6.7.2 allows any logged-in user
ChurchCRM is an open-source church management system. Rated high severity (CVSS 8.8), this vulnerability is remotely exp
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB