Skip to main content

SOGo EUVDEUVD-2026-30213

| CVE-2026-46446 HIGH
SQL Injection (CWE-89)
2026-05-14 mitre GHSA-37h6-wqp6-qg5g
7.1
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to SOGo with low-priv account
  2. Delivery
    Open change-password endpoint
  3. Exploit
    Submit password with SQL injection payload
  4. Execution
    Inject into UPDATE c_password statement
  5. Persist
    Execute arbitrary SQL on PostgreSQL/MariaDB
  6. Impact
    Read or modify SOGo user table

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires all of the following: (1) a SOGo deployment prior to 5.12.7 using the SQL user-source backend on PostgreSQL or MariaDB; (2) userPasswordAlgorithm configured to a cleartext mode ('none', 'plain', or 'cleartext') so that passwords are stored without hashing - explicitly called out in the description and confirmed by the commented-out cleartext branch in SQLSource.m; (3) a low-privileged authenticated SOGo account that can reach the changePasswordForLogin flow (CVSS PR:L), with no user interaction needed. LDAP-backed user sources, hashed password schemes, and SOGo 5.12.7+ are not exploitable. CVSS AC:H further reflects that the attacker must craft a payload compatible with the surrounding UPDATE statement and the specific DB engine's quoting/escaping behavior.

Impact

Signals are largely consistent and point to moderate, not urgent, risk. CVSS 7.1 with vector AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L reflects network reach but high attack complexity and required low-privilege authentication (a valid SOGo account able to invoke the password-change flow). EPSS is 0.03% (8th percentile) and SSVC reports Exploitation: none and Automatable: no, while Technical Impact is total - meaning successful exploitation is impactful (full DB read/write of the SOGo schema, potentially other tenants' credentials) but unlikely to be mass-exploited. There is no CISA KEV listing and no public exploit identified. One nuance worth flagging: the vulnerability only manifests when cleartext password storage is configured with PostgreSQL or MariaDB - non-default for security-conscious deployments - so real-world exposure should be assessed against that configuration rather than treating every SOGo install as vulnerable.

Exploit ScenarioDerived

An attacker with valid SOGo credentials (their own account or a phished one) visits the change-password page and submits a new password containing a crafted single-quote-terminated SQL fragment; because the cleartext branch interpolates the value directly into UPDATE sogo_users SET c_password = '<input>' WHERE c_uid = '...', the appended SQL is executed against PostgreSQL/MariaDB. Depending on DB privileges, this can be used to read or modify other rows in the SOGo schema (including other users' cleartext passwords) or chain into broader DB compromise. No public PoC is identified, but the patch diff in PR #379 essentially documents the injection point.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 08, 2026

SQL injection in SOGo versions prior to 5.12.7 allows authenticated users to inject arbitrary SQL when changing their password, provided the deployment uses PostgreSQL or MariaDB as the user backend and stores cleartext passwords. The flaw resides in the changePasswordForLogin routine where the new password value is interpolated directly into an UPDATE statement (c_password = '%@'). No public exploit identified at time of analysis, EPSS is very low (0.03%), and SSVC marks exploitation as 'none' - but the patched upstream code (PR #379, fixed in 5.12.7) confirms the vulnerability.

RemediationAI

Vendor-released patch: upgrade to SOGo 5.12.7 or later, per the release notes at https://www.sogo.nu/news/2026/sogo-v5127-released.html and the upstream fix in https://github.com/Alinto/sogo/pull/379. Debian users should track the bug thread at https://www.mail-archive.com/debian-bugs-dist%40lists.debian.org/msg2100131.html for distribution updates. If immediate upgrade is not possible, switch userPasswordAlgorithm away from cleartext ('none'/'plain'/'cleartext') to a hashed scheme such as ssha512 (which forces SOGo down a non-vulnerable code path; trade-off: existing cleartext passwords must be migrated or users will need a reset), or temporarily disable the user-facing password-change endpoint in the SOGo web UI and force admin-mediated resets (trade-off: helpdesk load). Restricting network access to the SOGo web interface to trusted ranges reduces but does not eliminate exposure because the precondition is an authenticated account.

Affected VersionsENISA

SOGo 0 <5.12.7

Affected Packages

euvd sogo fix: 5.12.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SOGo is an open-source groupware server (calendar, address book, webmail) developed by Alinto. The affected code lives in SoObjects/SOGo/SQLSource.m, which implements user-source lookups and password operations against a relational database via the EOAdaptor abstraction. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command): in changePasswordForLogin, the cleartext-mode branch built the UPDATE statement with NSString stringWithFormat and the @'%@' placeholder for the encrypted/new password, bypassing the EOKeyValueQualifier/appendSQLToString:withAdaptor: parameterization used elsewhere. The fix (commit referenced in PR #379) rewrites the path to use EOKeyValueQualifier objects for both c_password and c_uid with adaptor-aware SQL emission, removes the ad-hoc quote-doubling, and applies the same pattern to checkLogin and fetchContactsMatching. The flaw is database-engine-specific because exploitation depends on backend SQL semantics that accept the injected payload, hence the explicit PostgreSQL/MariaDB scoping.

Know when Sogo gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 7.1 HIGH
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L

Primary rating from Vendor (mitre) · only source for this CVE.

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
Low

Lifecycle Timeline

1
Patch available
May 14, 2026 - 04:16 EUVD

DescriptionCVE.org

SOGo before 5.12.7, when PostgreSQL or MariaDB is used, and cleartext passwords are stored, allows SQL injection. This is related to c_password = '%@' in changePasswordForLogin.

Executive ViewAI

Why It Matters

SOGo versions before 5.12.7 contain a SQL injection vulnerability in the password change function affecting authenticated users on PostgreSQL or MariaDB backends storing plaintext passwords, with no public exploit identified at time of analysis. Attackers with valid credentials can manipulate database records to compromise user accounts and access sensitive data. Vendor patch 5.12.7 is available and should be deployed immediately to eliminate this injection vector.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate patching is delayed: restrict password change operations to authorized administrators only, enable database audit logging on UPDATE statements targeting credential fields, and enforce encrypted database connections.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

More in Sogo

View all
CVE-2015-5395 HIGH POC
8.8 Sep 20

Cross-site request forgery (CSRF) vulnerability in SOGo before 3.1.0. Rated high severity (CVSS 8.8), this vulnerability

CVE-2025-63499 MEDIUM POC
6.1 Dec 04

Alinto Sogo 5.12.3 is vulnerable to Cross Site Scripting (XSS) via the theme parameter.

CVE-2025-63498 MEDIUM POC
6.1 Nov 24

alinto SOGo 5.12.3 is vulnerable to Cross Site Scripting (XSS) via the "userName" parameter. Rated medium severity (CVSS

CVE-2026-93453 HIGH
8.7 Sep 18

Password-reset token interception in SOGo before 5.12.11 lets unauthenticated remote attackers redirect account-recovery

CVE-2016-6189 MEDIUM POC
4.3 Feb 17

Incomplete blacklist in SOGo before 2.3.12 and 3.x before 3.1.1 allows remote authenticated users to obtain sensitive in

CVE-2021-33054 HIGH
7.5 Jun 04

SOGo 2.x before 2.4.1 and 3.x through 5.x before 5.1.1 does not validate the signatures of any SAML assertions it receiv

CVE-2026-46445 HIGH
7.1 May 14

SQL injection in Alinto SOGo versions prior to 5.12.7 allows authenticated remote attackers to manipulate database queri

CVE-2016-6188 MEDIUM
6.5 Feb 03

Memory leak in SOGo 2.3.7 allows remote attackers to cause a denial of service (memory consumption) via a large number o

CVE-2025-71276 MEDIUM
6.4 Mar 22

SOGo before version 5.12.5 contains a cross-site scripting (XSS) vulnerability affecting the events, tasks, and contacts

CVE-2014-9905 MEDIUM
6.1 Feb 17

Multiple cross-site scripting (XSS) vulnerabilities in the Web Calendar in SOGo before 2.2.0 allow remote attackers to i

CVE-2016-6191 MEDIUM
6.1 Feb 17

Multiple cross-site scripting (XSS) vulnerabilities in the View Raw Source page in the Web Calendar in SOGo before 3.1.3

CVE-2026-8496 MEDIUM
6.1 May 13

Stored XSS in Alinto SOGo's ICS calendar invitation viewer enables a remote unauthenticated attacker to execute arbitrar

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy