Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2026-46445
SOGo vulnerability analysis and mitigation

Overview

CVE-2026-46445 is a SQL injection vulnerability in SOGo, an open-source groupware server developed by Alinto, affecting all versions before 5.12.7 when PostgreSQL is used as the database backend. The vulnerability stems from improper neutralization of user-supplied input in SQL queries (CWE-89), allowing authenticated attackers to inject malicious SQL commands. It was published on May 14, 2026, with a patch committed on March 24, 2026 and released in SOGo 5.12.7. The CVSS v3.1 base score is 7.1 (High) (GitHub Advisory, ENISA EUVD).

Technical details

The root cause is insufficient input sanitization in SoObjects/SOGo/SQLSource.m, where user-controlled input was directly interpolated into SQL query strings without using the appropriate database adaptor's escaping mechanisms. Specifically, functions such as checkLogin, changePasswordForLogin, and fetchContactsMatching constructed raw SQL strings using format specifiers rather than parameterized queries or the EOAdaptor-aware appendSQLToString:withAdaptor: method. The fix (commit 1f7e5d2) replaces direct string formatting with proper EOKeyValueQualifier objects and adaptor-aware SQL generation, ensuring database-specific escaping is applied. Exploitation requires network access and low-level authenticated privileges, with high attack complexity (GitHub PR #379, GitHub Advisory).

Impact

A low-privileged authenticated attacker can inject arbitrary SQL commands into SOGo's PostgreSQL database, enabling unauthorized reading of sensitive data (e.g., user credentials, calendar/contact records), modification or deletion of database records, and — depending on PostgreSQL configuration and privileges — potential execution of operating system commands via database extensions. The confidentiality and integrity impacts are rated High, while availability impact is Low (GitHub Advisory, ENISA EUVD).

Exploitability

No public proof-of-concept exploit code is known to exist, and there is no evidence of in-the-wild exploitation at this time. The EPSS score is approximately 0.031% (10th percentile), indicating a low near-term exploitation probability. No threat actor attribution has been reported, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (GitHub Advisory, ENISA EUVD).

Exploitation steps

  1. Reconnaissance: Identify SOGo instances running versions prior to 5.12.7 with PostgreSQL as the backend, using service banners, version disclosure pages, or network scanning tools.
  2. Authentication: Obtain low-privileged credentials for the SOGo instance (e.g., a standard user account).
  3. Identify injectable endpoints: Target SOGo functionality that interacts with the SQL source, such as login, password change, or contact search endpoints, which were identified as vulnerable in SQLSource.m.
  4. Craft SQL injection payload: Inject SQL metacharacters (e.g., single quotes, SQL keywords) into input fields such as the username/login field or contact search filter to manipulate the underlying PostgreSQL query.
  5. Extract or manipulate data: Use classic or blind SQL injection techniques to enumerate database tables, extract sensitive records (e.g., user credentials, contact data), or modify/delete records.
  6. Escalate if possible: If the PostgreSQL account has elevated privileges, attempt to use COPY TO/FROM, pg_read_file, or CREATE EXTENSION to escalate to OS-level access (GitHub PR #379, GitHub Advisory).

Indicators of compromise

  • Network: Unusual or malformed HTTP requests to SOGo login, password change, or contact search endpoints containing SQL metacharacters (e.g., single quotes, UNION, SELECT, --, OR 1=1).
  • Logs: SOGo application logs or PostgreSQL query logs showing malformed or unexpected SQL syntax; repeated authentication attempts with unusual username formats; PostgreSQL error messages related to SQL syntax errors from the SOGo service account.
  • Database: Unexpected queries in PostgreSQL logs (pg_log) originating from the SOGo database user that include UNION SELECT, information_schema, or other enumeration patterns; unauthorized changes to user records or contact data.
  • Process: Unexpected child processes spawned from the PostgreSQL service (indicative of OS command execution via database extensions).

Mitigation and workarounds

The primary remediation is to upgrade SOGo to version 5.12.7 or later, which includes the fix committed in PR #379 (SOGo Release, GitHub Advisory). If immediate patching is not feasible, restrict network access to the SOGo instance to trusted networks only, and monitor PostgreSQL query logs for anomalous SQL patterns. Additionally, ensure the PostgreSQL account used by SOGo operates with minimal required privileges (principle of least privilege) to limit the impact of any successful injection. Deploying a Web Application Firewall (WAF) with SQL injection detection rules can provide an additional layer of defense.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

sogo: 5.8.0-2+deb12u3

Fixed

sid

sogo: 5.12.7-1

Fixed

trixie

sogo: 5.12.1-3+deb13u2

Fixed

Ubuntu

Fixed

bionic (esm-apps)

sogo: 3.2.10-1ubuntu0.1~esm1

Fixed

devel

sogo

Not Affected

focal (esm-apps)

sogo: 4.3.0-1ubuntu0.1~esm1

Fixed

jammy

sogo

Affected

jammy (esm-apps)

sogo: 5.5.1-1ubuntu0.1~esm1

Fixed

resolute

sogo

Affected

resolute (esm-apps)

sogo: 5.12.4-1.2ubuntu0.1~esm1

Fixed

xenial (esm-apps-legacy)

sogo: 2.2.17a-1.1ubuntu0.1~esm1

Fixed

SourceThis report was generated using AI

Related SOGo vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-93453HIGH8.7
  • SOGo logoSOGo
  • cpe:2.3:a:alinto:sogo
NoYesSep 18, 2026
CVE-2026-8851HIGH8.6
  • SOGo logoSOGo
  • sogo
NoYesMay 18, 2026
CVE-2026-46446HIGH7.1
  • SOGo logoSOGo
  • sogo
NoYesMay 14, 2026
CVE-2026-39179MEDIUM6.3
  • SOGo logoSOGo
  • sogo
NoYesJul 08, 2026
CVE-2026-39178MEDIUM6.3
  • SOGo logoSOGo
  • sogo
NoYesJul 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management