Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with valid SOGo user credentials
-
DeliverySubmit crafted newPassword containing SQL payload via password change endpoint
-
ExploitInjected SQL executes within raw UPDATE statement context
-
ExecutionOverwrite other users' password hashes in credential table
-
PersistAuthenticate as victim user with attacker-set password
-
ImpactAccess victim account data
Vulnerability Assessment
| Weakness |
CWE
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 a valid authenticated SOGo user session (CVSS PR:L confirmed); unauthenticated exploitation is not possible. The vulnerability is specific to SOGo deployments configured with SQL-backed authentication sources (SQLSource); deployments using LDAP-only authentication are not affected, as the vulnerable code path is in SQLSource.m only. The password change feature must be enabled and accessible - if the endpoint is administratively disabled or restricted by network policy, exploitation is blocked. Impact is further constrained by the database permissions of the SOGo service account: if the account holds only UPDATE/SELECT on the SOGo credential table, an attacker can manipulate that table but cannot read unrelated schemas or execute DDL statements. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L, score 6.3 Medium) reflects a network-reachable, low-complexity attack requiring only a standard user credential. EPSS at 0.15% (5th percentile) and SSVC exploitation:none both consistently indicate no known active or automated exploitation at time of analysis. SSVC automatable:no further limits mass-exploitation risk, meaning spray-and-pray campaigns are unlikely. Real-world impact is bounded by the database permissions of the SOGo service account - if scoped tightly to the SOGo schema, an attacker can manipulate credential records but cannot pivot to unrelated databases. The primary threat model is a malicious insider or compromised account escalating privileges by overwriting other users' passwords. The unchanged scope (S:U) prevents lateral movement to external systems. This is a genuine medium-priority issue warranting patching but not emergency response, particularly given low EPSS and no exploitation signals. |
| Exploit ScenarioDerived | An authenticated SOGo user submits a password change request with a newPassword value containing SQL syntax such as a quote followed by additional UPDATE clauses or subqueries. Because the encryptedPassword value is interpolated directly into the UPDATE statement without parameterization, the injected SQL executes in the database context of the SOGo service account, potentially allowing the attacker to overwrite other users' password hashes and hijack their accounts. No public exploit code has been identified, but the vulnerable code pattern is clearly visible in the public commit diff and is straightforward for a researcher to reproduce. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 22, 2026
SQL injection in SOGo's password change functionality allows authenticated users to execute arbitrary SQL against the backend database by supplying crafted values in the newPassword parameter. Versions before 5.12.7 are confirmed affected when using SQL-backed authentication sources; the fix is available in SOGo 5.12.7 as confirmed by the vendor release announcement. No public exploit code has been identified at time of analysis, and EPSS places exploitation probability at 0.15% (5th percentile), consistent with SSVC exploitation status of 'none.'
RemediationAI
Upgrade to SOGo 5.12.7 or later as confirmed by the vendor release at https://www.sogo.nu/news/2026/sogo-v5127-released.html; this version replaces raw SQL string interpolation with EOKeyValueQualifier-based parameterized queries, eliminating the injection surface. If an immediate upgrade is not feasible, restrict access to the password-change endpoint via reverse proxy ACLs or network controls to limit it to trusted network segments - note this degrades self-service password management for remote users. Additionally, reviewing and tightening the database service account's permissions to the minimum required schema can reduce the blast radius of a successful injection. Deploying WAF rules to detect SQL metacharacters in password change request bodies may provide partial detection coverage but is not a reliable standalone control given potential bypass techniques.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
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 (calendaring, contacts, email) developed by Alinto, implemented in Objective-C using the GNUstep/SOPE framework. The vulnerability (CWE-89) resides in SoObjects/SOGo/SQLSource.m within the changePasswordForLogin: method, which constructs a raw SQL UPDATE statement using NSString stringWithFormat: to interpolate the encryptedPassword value directly into the query string - specifically the pattern 'UPDATE %@ SET c_password = ''%@'' WHERE c_uid = ''%@'''. While the login parameter received apostrophe-escaping, the password value did not, creating the injection surface. The fix replaces this pattern with EOKeyValueQualifier-based parameterized query construction via the EOAdaptor layer, which properly handles quoting across database backends. The NVD CPE field lists 'n/a n/a,' so no formal CPE string is available; affected products are identified from the vendor advisory and commit diff.
Know when the next one hits your stack
- 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
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Network-accessible password change endpoint requires an authenticated user (PR:L); SQL injection impact bounded to the SOGo database schema with no scope change (S:U, C:L/I:L/A:L).
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
A SQL injection vulnerability in SOGo before 5.12.7 allows authenticated users to execute arbitrary SQL statements via the newPassword parameter in the password change functionality.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
EUVD-2026-42500
GHSA-7hjm-3p3p-89wx
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB