Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as admin
-
DeliveryUpload crafted backup file with path traversal
-
ExploitOverwrite Apache .htaccess configuration
-
ExecutionExecute arbitrary PHP code
-
ImpactAchieve remote code execution
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires authenticated administrator access to ChurchCRM versions prior to 6.5.3. Attacker exploits path traversal in backup restore functionality (src/ChurchCRM/Backup/RestoreJob.php) by uploading crafted backup files with malicious names to overwrite Apache .htaccess files, achieving remote code execution on the server. |
| Impact | The CVSS 9.1 score accurately reflects severe technical impact with the critical caveat that exploitation requires high-privilege (PR:H) authenticated access - specifically administrator credentials. The attack vector is network-based (AV:N) with low complexity (AC:L), meaning any authenticated admin can exploit this remotely without complex preparation. The changed scope (S:C) indicates the vulnerability allows escape from the application's security boundary to compromise the underlying Apache web server. EPSS data not provided, but the requirement for administrator credentials significantly reduces the real-world attack surface compared to unauthenticated RCE. No public exploit identified at time of analysis and not listed in CISA KEV, suggesting this is not yet actively exploited in the wild. However, the technical simplicity (AC:L) means weaponization is trivial once admin access is obtained through credential theft, social engineering, or chained exploits. Priority assessment depends on organizational context: high priority for public-facing ChurchCRM instances with multiple administrators (insider threat model) or environments where admin credential compromise is plausible; moderate priority for tightly controlled single-administrator deployments. The combination of critical impact but authentication requirement places this as a serious but not emergency-tier vulnerability for most deployments. |
| Exploit ScenarioDerived | An attacker who has compromised administrator credentials through phishing or credential stuffing accesses the ChurchCRM backup restore interface. They craft a malicious backup archive containing a PHP web shell with a filename using path traversal sequences such as '../../../.htaccess' to escape the intended upload directory. Upon upload, the vulnerable RestoreJob.php processes the unsanitized filename and writes the .htaccess file to the Apache document root, reconfiguring Apache to allow PHP execution in directories that should be restricted. The attacker then uploads a second file containing their PHP backdoor, which Apache now executes due to the modified .htaccess configuration, granting the attacker remote code execution with web server privileges and enabling data exfiltration, lateral movement, or complete system compromise. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 07, 2026
Remote code execution in ChurchCRM versions prior to 6.5.3 allows authenticated administrators to upload malicious files via path traversal in the backup restore functionality, overwriting Apache .htaccess files to execute arbitrary code. The vulnerability exploits unsanitized user input in RestoreJob.php, enabling attackers with high-privilege access to bypass intended upload restrictions. No public exploit identified at time of analysis, though CVSS 9.1 reflects the critical impact of complete system compromise through changed security scope.
RemediationAI
Upgrade immediately to ChurchCRM version 6.5.3 or later, which contains fixes for the path traversal vulnerability in the backup restore functionality. The vendor-released patch addresses the unsanitized filename handling in src/ChurchCRM/Backup/RestoreJob.php by implementing proper input validation and path canonicalization. Organizations should obtain the patched version from the official ChurchCRM GitHub repository. As interim mitigation for environments where immediate patching is not feasible, restrict administrator account access through network segmentation, implement strict administrator credential policies, enable comprehensive logging of backup restore operations, and consider temporarily disabling the backup restore functionality if not operationally required. Review Apache access logs for suspicious .htaccess file creation in the tmp_attach/ChurchCRMBackups/ directory or elsewhere in the web root as potential indicators of exploitation attempts. Full remediation guidance and patch details are available in the GitHub Security Advisory at https://github.com/ChurchCRM/CRM/security/advisories/GHSA-r6cr-mvr9-f6wx.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in ChurchCRM's RestoreJob.php backup restoration module, specifically in the handling of the $rawUploadedFile['name'] parameter during file upload operations to /var/www/html/tmp_attach/ChurchCRMBackups/. This is a classic CWE-22 path traversal flaw where insufficient input validation allows directory traversal sequences (../) in filenames. The affected product (cpe:2.3:a:churchcrm:crm:*:*:*:*:*:*:*:*) is a PHP-based church management system running on Apache web servers. By controlling the filename parameter, attackers can escape the intended upload directory and write files to arbitrary locations within the web server's document root. The specific attack technique involves uploading crafted .htaccess files that reconfigure Apache's security directives, enabling execution of uploaded PHP code that would normally be restricted. The PHP file handling functions fail to canonicalize paths or validate that the final resolved path remains within authorized boundaries before writing uploaded content.
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
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
3DescriptionCVE.org
ChurchCRM is an open-source church management system. Prior to 6.5.3, a path traversal vulnerability in ChurchCRM's backup restore functionality allows authenticated administrators to upload arbitrary files and achieve remote code execution by overwriting Apache .htaccess configuration files. The vulnerability exists in src/ChurchCRM/Backup/RestoreJob.php. The $rawUploadedFile['name'] parameter is user-controlled and allows uploading files with arbitrary names to /var/www/html/tmp_attach/ChurchCRMBackups/. This vulnerability is fixed in 6.5.3.
Executive ViewAI
ChurchCRM versions before 6.5.3 contain a critical remote code execution vulnerability in the backup restore feature that allows authenticated administrators to upload malicious files and execute arbitrary code by overwriting Apache configuration files. This affects organizations using ChurchCRM, where a compromised or malicious admin account poses an immediate risk of complete system takeover. Leadership should prioritize this patch to eliminate the risk of unauthorized code execution through administrative access.
Apply vendor patch. If immediate patching is not possible: (1) Restrict admin role membership to essential personnel only and enforce multi-factor authentication for all admin accounts; (2) Disable or isolate the backup restore functionality if not actively used; (3) Monitor RestoreJob.php access logs for suspicious activity; (4) Implement file upload restrictions at the web application firewall level to block .htaccess file uploads.
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
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
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
EUVD-2026-19771
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB