CVE-2026-39342: ChurchCRM SQL injection in QueryView.php searchwhat parameter

CVE-2026-39342 · Severity: high · CVSS 8.8 · Published 2026-04-07

ChurchCRM, an open-source church management system, is vulnerable to a security flaw in its reporting module. An authorized user with access to the advanced search features can execute unauthorized database commands. This could allow an attacker to steal sensitive member data, modify records, or disrupt the organization's operations.

Technologies: ChurchCRM. Vendors: ChurchCRM.

Quick answers

Is CVE-2026-39342 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-39342 being exploited in the wild.
How severe is CVE-2026-39342?
High severity, with a CVSS score of 8.8, published 7 April 2026.
Which products and versions are affected?
ChurchCRM CRM < 7.1.0.
Is there a fix for CVE-2026-39342?
A patch was published on 2026-04-07: Fixed in version 7.1.0 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-39342 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-39342?
Check whether you run ChurchCRM. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A SQL injection vulnerability exists in ChurchCRM prior to version 7.1.0 within the 'searchwhat' parameter of the QueryView.php component. The flaw is specifically exploitable when the QueryID is set to 15 (Advanced Search). An authenticated attacker with permissions to access the Data/Reports Query Menu can inject malicious SQL commands to bypass security controls. This can lead to full database extraction, data modification, or denial of service via time-based payloads. The issue is resolved in version 7.1.0 by improving input validation and parameter handling.

Affected products

  • ChurchCRM CRM < 7.1.0

Timeline

  • 2026-04-05: advisory: GitHub security advisory published by researcher
  • 2026-04-07: disclosed: CVE-2026-39342 published
  • 2026-04-07: patched: Fixed in version 7.1.0

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.