CVE-2026-39342 ChurchCRM has a SQL injection searchwhat parameter via QueryView.php

Critical 9.4 Published Updated

Authenticated users with specific report access can exploit SQL injection in ChurchCRM to read or modify database contents.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-39342?

CVE-2026-39342 is a critical SQL injection vulnerability in Churchcrm Churchcrm, published on 7 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

ChurchCRM is an open-source church management system. Prior to 7.1.0, the searchwhat parameter via QueryView.php with the QueryID=15 is vulnerable to a SQL injection. The authenticated user requires access to Data/Reports > Query Menu and access to the "Advanced Search" query. This vulnerability is fixed in 7.1.0.

Weakness: CWE-89

Which versions are affected by CVE-2026-39342?

It affects 1 product.

Products include Churchcrm Churchcrm.

How do I fix CVE-2026-39342?

No fix has been published for CVE-2026-39342 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2026-39342 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-39342 exists.

All Churchcrm Churchcrm vulnerabilities

Sources

Also known as GHSA-7fr4-mvfm-cxfx.

Is CVE-2026-39342 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free