CVE-2026-58408
Deferred Deferred - Pending Action

CSV Data Export Flaw in ChurchCRM

Vulnerability report for CVE-2026-58408, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-13

Last updated on: 2026-07-14

Assigner: GitHub, Inc.

Description

ChurchCRM is an open-source church management system. Prior to version 7.4.0, a low-privileged user can bypass the /admin/export UI and exfiltrate the entire member directory. The POST /CSVCreateFile.php endpoint generates and streams a CSV containing the full Personally Identifiable Information (PII) of every Person/Family record in the database, without performing any feature-level or object-level authorization check beyond the coarse "has any admin permission" gate inherited from the legacy page bootstrap. In other words, any single non-admin permission flag is enough to reach the CSV bulk-export endpoint, even though such users should not have data export rights. The export script is missing a dedicated isAdmin() (or a new bExportData) authorization check of its own. This issue has been fixed in version 7.4.0.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-13
Last Modified
2026-07-14
Generated
2026-08-03
AI Q&A
2026-07-14
EPSS Evaluated
2026-08-01
NVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
churchcrm churchcrm From 7.1.0 (inc) to 7.3.3 (inc)
churchcrm churchcrm 7.4.0
churchcrm churchcrm to 7.4.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-863 The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.
CWE-862 The product does not perform an authorization check when an actor attempts to access a resource or perform an action.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-58408 is a Broken Access Control vulnerability in ChurchCRM, an open-source church management system. It affects versions prior to 7.4.0.

The vulnerability allows a low-privileged user to bypass the intended /admin/export user interface and exfiltrate the entire member directory. This happens because the POST /CSVCreateFile.php endpoint generates and streams a CSV file containing the full Personally Identifiable Information (PII) of every person and family record in the database.

The endpoint does not perform proper feature-level or object-level authorization checks beyond a coarse 'has any admin permission' gate inherited from the legacy page bootstrap. This means any user with even a single non-admin permission flag can access the bulk-export endpoint, even if they should not have data export rights.

The export script is missing a dedicated isAdmin() or similar authorization check, allowing unauthorized users to directly exfiltrate sensitive data via a single POST request.

Detection Guidance

To detect this vulnerability on your network or system, you can check if your ChurchCRM instance is running a vulnerable version (7.1.0 through 7.3.3).

  • Verify the installed version of ChurchCRM by logging into the admin dashboard or checking the version in the application's configuration files.
  • Test for unauthorized access to the vulnerable endpoint by sending a POST request to /CSVCreateFile.php. If a low-privileged user can successfully retrieve a CSV file containing PII, the system is vulnerable.

Example command to test the endpoint (replace <target> with the ChurchCRM URL and <session_cookie> with a valid low-privileged user session):

  • curl -X POST -H "Cookie: PHPSESSID=<session_cookie>" https://<target>/CSVCreateFile.php

If the response contains a CSV file with sensitive data, the vulnerability is confirmed.

Impact Analysis

This vulnerability can impact you in several ways if you are using an affected version of ChurchCRM (7.1.0 through 7.3.3).

  • Unauthorized access to sensitive data: A low-privileged user can export the entire member directory, including full names, addresses, phone numbers, emails, dates of birth, and other PII without proper authorization.
  • Privacy violations: The exposure of PII can lead to privacy breaches, putting members' personal information at risk.
  • Reputational damage: If sensitive data is leaked, it can harm the reputation of the organization using ChurchCRM.
  • Legal and compliance risks: Unauthorized access to PII can result in violations of data protection laws, leading to potential legal consequences.
Compliance Impact

This vulnerability can significantly impact compliance with several common data protection standards and regulations.

  • GDPR (General Data Protection Regulation): The unauthorized access and exfiltration of PII can violate GDPR principles, particularly those related to data protection, confidentiality, and the rights of individuals. Organizations may face fines or legal action if they fail to protect personal data adequately.
  • HIPAA (Health Insurance Portability and Accountability Act): If the exposed PII includes health-related information, this vulnerability could lead to HIPAA violations, as the regulation mandates strict controls over protected health information (PHI).
  • CCPA (California Consumer Privacy Act): The exposure of personal data without proper authorization can violate CCPA requirements, which grant consumers rights over their personal information and impose obligations on businesses to protect it.
  • LGPD (Lei Geral de ProteΓ§Γ£o de Dados): Similar to GDPR, Brazil's LGPD requires organizations to protect personal data. Unauthorized access to PII can result in non-compliance with LGPD, leading to penalties.

Overall, this vulnerability poses significant compliance risks, as it enables unauthorized access to sensitive data that is protected under these regulations.

Mitigation Strategies

Immediate steps to mitigate this vulnerability include:

  • Upgrade ChurchCRM to version 7.4.0 or later, as the issue has been fixed in this release.
  • If upgrading is not immediately possible, restrict access to the /CSVCreateFile.php and /CSVExport.php endpoints by modifying the server configuration (e.g., Apache or Nginx) to block access to these paths for non-admin users.
  • Review and audit user permissions to ensure only authorized administrators have access to data export functionalities.
  • Monitor network traffic for unusual POST requests to /CSVCreateFile.php, which may indicate exploitation attempts.
  • Consider implementing additional authorization checks at the application level for sensitive endpoints until the patch is applied.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-58408. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart