CVE-2026-39340 ChurchCRM has a SQL Injection in PropertyTypeEditor.php via Incorrect Sanitizer Substitution

High 8.1 Published Updated

Authenticated users with MenuOptions role can perform SQL injection to exfiltrate database data, including password hashes, due to improper input sanitization.

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-39340?

CVE-2026-39340 is a high-severity 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, a SQL injection vulnerability exists in PropertyTypeEditor.php, part of the administration functionality for managing property type categories (People → Person Properties / Family Properties). The vulnerability was introduced when legacyFilterInput() which both strips HTML and escapes SQL — was replaced with sanitizeText(), which strips HTML only. User-supplied values from the Name and Description fields are concatenated directly into raw INSERT and UPDATE queries with no SQL escaping. This allows any authenticated user with the MenuOptions role (a non-admin staff permission) to perform time-based blind injection and exfiltrate any data from the database, including password hashes of all users. This vulnerability is fixed in 7.1.0.

Weakness: CWE-89

Which versions are affected by CVE-2026-39340?

It affects 1 product.

Products include Churchcrm Churchcrm.

How do I fix CVE-2026-39340?

No fix has been published for CVE-2026-39340 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-39340 being exploited?

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

All Churchcrm Churchcrm vulnerabilities

Sources

Also known as GHSA-66f7-4p96-mww9.

Is CVE-2026-39340 in your software?

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

Check your SBOMs for free