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.
Published: 2026-08-11
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

References
History

Tue, 11 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
First Time appeared Civicrm
Civicrm civicrm
Vendors & Products Civicrm
Civicrm civicrm

Tue, 11 Aug 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 11 Aug 2026 11:30:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: TuranSec

Published:

Updated: 2026-08-11T12:23:07.453Z

Reserved: 2026-08-10T10:32:49.081Z

Link: CVE-2026-72558

cve-icon Vulnrichment

Updated: 2026-08-11T12:23:02.717Z

cve-icon NVD

Status : Received

Published: 2026-08-11T12:17:41.697

Modified: 2026-08-11T13:19:03.143

Link: CVE-2026-72558

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-11T18:15:07Z

Weaknesses
  • CWE-89

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