CVE-2026-39178
Deferred Deferred - Pending Action

SQL Injection in SOGo Webmail Suite

Vulnerability report for CVE-2026-39178, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-08

Last updated on: 2026-07-09

Assigner: MITRE

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-08
Last Modified
2026-07-09
Generated
2026-07-15
AI Q&A
2026-07-09
EPSS Evaluated
2026-07-14
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
inverse sogo to 5.12.7 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Impact Analysis

An attacker who successfully exploits this vulnerability could execute arbitrary SQL commands on the database. This could lead to unauthorized data access, data modification, or even deletion, potentially compromising the integrity and confidentiality of the data managed by SOGo.

Compliance Impact

The SQL injection vulnerabilities in SOGo before version 5.12.7 could lead to database compromise and server-side code execution, which may result in unauthorized access to sensitive personal data.

Such unauthorized access and potential data breaches can negatively impact compliance with data protection regulations like GDPR and HIPAA, which require safeguarding personal and health information against unauthorized access and ensuring data integrity.

Therefore, organizations using vulnerable versions of SOGo with PostgreSQL or MariaDB storing cleartext passwords should update immediately to mitigate risks that could lead to non-compliance with these standards.

Detection Guidance

This vulnerability is a SQL injection in the search parameter of the allContactSearch endpoint in SOGo before version 5.12.7. Detection would involve monitoring or testing this specific endpoint for SQL injection attempts.

Since the vulnerability requires authenticated access, detection can include attempting to inject SQL payloads into the search parameter of the allContactSearch endpoint while authenticated and observing unexpected database behavior or error messages.

No explicit commands or detection scripts are provided in the available resources.

Mitigation Strategies

The immediate and recommended step to mitigate this vulnerability is to upgrade SOGo to version 5.12.7 or later, where the issue has been fixed.

This update addresses the SQL injection vulnerability by properly handling SQL queries using parameterized queries and safe SQL adaptor methods, preventing malicious input from compromising the database.

Users running SOGo with PostgreSQL or MariaDB using cleartext passwords should prioritize this update, as they are affected by this vulnerability.

If immediate upgrade is not possible, restricting authenticated user access to the allContactSearch endpoint and monitoring for suspicious activity may help reduce risk temporarily.

Executive Summary

This vulnerability is a SQL injection issue found in SOGo versions before 5.12.7. It allows authenticated users to execute arbitrary SQL statements by exploiting the search parameter of the allContactSearch endpoint.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-39178. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart