CVE-2026-72558

CiviCRM CiviCRM - SQL Injection

Published Aug 11, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
Description
An SQL injection vulnerability in CiviCRM through 6.18.alpha1 allows authenticated staff to read the entire database via the contact search RLIKE clause. The clause concatenates a user-supplied value into the SQL query without sanitization. An attacker with staff-level access can exfiltrate all database contents including donor and member records.

Analysis

AI-generated

Technical impact

The vulnerability is an SQL injection flaw in the contact search functionality of CiviCRM, where the RLIKE clause is constructed by directly concatenating unsanitized user input into the SQL query. An attacker who has logged in with a staff role can inject arbitrary SQL, allowing them to read the entire database, including donor and member records. The weakness stems from lack of input validation and is classified as CWE‑89.

Affected Systems

CiviCRM installations of any version up through and including 6.18.alpha1 are vulnerable. The flaw exists in the core contact search module and requires an authenticated staff account with search permissions. Any deployment of CiviCRM prior to the release that contains the RLIKE injection fix is considered affected until updated.

Risk and Exploitability

The CVSS score of 8.8 denotes high severity, reflecting the potential to compromise confidentiality and integrity. The EPSS score is not available, so exact exploit likelihood cannot be quantified, but the requirement of only staff credentials and the ubiquity of staff accounts suggest that the attacker window is wide. Because the issue is not listed in CISA KEV, large‑scale exploitation has not been observed yet, but the high score and lack of enumeration means timely patching is advised. The attack vector is likely an authenticated staff login followed by entry of a malicious RLIKE expression in the search interface.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade CiviCRM to a version that includes the RLIKE injection fix for the contact search module.
  • Disable or restrict the use of the RLIKE search filter for staff accounts that do not require it; consider using the platform’s parameterized queries if available.
  • Apply stricter role‑based access controls to limit staff privileges to only those necessary for search operations.
  • Monitor database query logs for unusually large or repeated SELECT statements triggered by staff accounts, and investigate any anomalies.

Generated by OpenCVE AI on August 11, 2026 at 18:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
References
History
Type Values Removed Values Added
First Time appeared Civicrm
Civicrm civicrm
Vendors & Products Civicrm
Civicrm civicrm
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description An SQL injection vulnerability in CiviCRM through 6.18.alpha1 allows authenticated staff to read the entire database via the contact search RLIKE clause. The clause concatenates a user-supplied value into the SQL query without sanitization. An attacker with staff-level access can exfiltrate all database contents including donor and member records.
Title CiviCRM CiviCRM - SQL Injection
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
TuranSec
Published
Updated
Aug 11, 2026, 12:23 PM
Reserved
Aug 10, 2026, 10:32 AM
Status
Deferred
Published
Aug 11, 2026, 12:17 PM
Modified
Oct 24, 2026, 3:10 PM