Description
A SQL injection vulnerability in SOGo before 5.12.7 allows authenticated users to execute arbitrary SQL statements via the search parameter of the allContactSearch endpoint.
Published: 2026-07-08
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in SOGo versions prior to 5.12.7 permits authenticated users to inject arbitrary SQL via the search parameter of the allContactSearch endpoint. The injection can lead to execution of any SQL statement against the underlying database, enabling data exfiltration, tampering, or other destructive actions. Consequently, confidentiality, integrity, and availability of stored data are at risk once an attacker gains authenticated access.

Affected Systems

The SOGo mail and calendar server software in all releases earlier than 5.12.7. Users with valid but ordinary SOGo credentials can trigger the flaw. The fix was implemented in commit 1f7e5d2b2c2047c44a6a9e05f73c36491cb96d21 and shipped in 5.12.7.

Risk and Exploitability

The EPSS score is less than 1%, and the vulnerability is not yet cataloged in CISA KEV. The CVSS score of 6.3 indicates moderate severity. The flaw requires authentication; attackers need valid credentials before exploitation. Once authenticated, the ability to inject arbitrary SQL gives the attacker extensive control over the database, increasing the potential impact. Although exploitation is less likely due to low EPSS, the risk remains high for organizations that have not yet applied the 5.12.7 update.

Generated by OpenCVE AI on July 28, 2026 at 09:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade SOGo to version 5.12.7 or later to apply the SQL injection fix.
  • Limit the database permissions for the SOGo service account to the minimum required for normal operation.
  • Monitor SOGo application logs and database audit logs for unexpected or malicious SQL activity.

Generated by OpenCVE AI on July 28, 2026 at 09:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 28 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
Title Authenticated SQL Injection in SOGo Enabling Arbitrary Database Access

Wed, 22 Jul 2026 12:30:00 +0000

Type Values Removed Values Added
Title Authenticated SQL Injection in SOGo allContactSearch Endpoint

Thu, 16 Jul 2026 22:45:00 +0000

Type Values Removed Values Added
Title Authenticated SQL Injection in SOGo allContactSearch Endpoint

Mon, 13 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
Title Authenticated SQL Injection in SOGo AllContactSearch Endpoint

Sun, 12 Jul 2026 15:15:00 +0000

Type Values Removed Values Added
Title Authenticated SQL Injection in SOGo AllContactSearch Endpoint

Sat, 11 Jul 2026 20:15:00 +0000

Type Values Removed Values Added
Title SQL Injection in SOGo AllContactSearch Enables Authenticated Users to Run Arbitrary SQL

Fri, 10 Jul 2026 15:15:00 +0000

Type Values Removed Values Added
Title SQL Injection in SOGo AllContactSearch Enables Authenticated Users to Run Arbitrary SQL

Fri, 10 Jul 2026 06:30:00 +0000

Type Values Removed Values Added
Title Authenticated SQL Injection in SOGo's allContactSearch Endpoint

Thu, 09 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

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


Thu, 09 Jul 2026 04:45:00 +0000

Type Values Removed Values Added
Title Authenticated SQL Injection in SOGo's allContactSearch Endpoint
Weaknesses CWE-89

Thu, 09 Jul 2026 00:45:00 +0000

Type Values Removed Values Added
First Time appeared Alinto
Alinto sogo
Vendors & Products Alinto
Alinto sogo

Wed, 08 Jul 2026 22:15:00 +0000

Type Values Removed Values Added
Description A SQL injection vulnerability in SOGo before 5.12.7 allows authenticated users to execute arbitrary SQL statements via the search parameter of the allContactSearch endpoint.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-07-09T14:28:33.479Z

Reserved: 2026-04-06T00:00:00.000Z

Link: CVE-2026-39178

cve-icon Vulnrichment

Updated: 2026-07-09T14:28:29.212Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-28T09:30:19Z

Weaknesses
  • CWE-89

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