
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-39179 is a SQL injection vulnerability in SOGo (the open-source groupware server maintained by Alinto) affecting all versions before 5.12.7. Authenticated users can execute arbitrary SQL statements by injecting malicious input via the newPassword parameter in the password change functionality. The vulnerability was published on July 8, 2026, with a patch released in SOGo v5.12.7. It carries a CVSS v3.1 base score of 6.3 (Medium), assessed by CISA-ADP (Github Advisory, NVD).
The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), where the changePasswordForLogin method in SoObjects/SOGo/SQLSource.m constructed SQL UPDATE statements using string formatting with unsanitized user input rather than parameterized queries or a proper SQL adaptor (SOGo Commit). The vulnerable code used [NSString stringWithFormat:] to directly embed the newPassword value (after encryption) and the login into the SQL string, allowing an attacker to break out of the string literal context. The fix replaced direct string interpolation with EOKeyValueQualifier objects and the appendSQLToString:withAdaptor: method, which properly escapes values through the database adaptor layer. Exploitation requires a valid authenticated session (low privileges), and no user interaction beyond authentication is needed (Github Advisory).
A successfully exploited vulnerability allows an authenticated attacker to execute arbitrary SQL statements against the SOGo backend database, potentially reading sensitive data (user credentials, calendar entries, contacts, emails metadata), modifying or deleting records, and depending on database permissions, potentially escalating to OS-level command execution via database features (e.g., xp_cmdshell on MSSQL or COPY TO/FROM on PostgreSQL). The confidentiality, integrity, and availability impacts are each rated Low in the CVSS assessment, reflecting that the scope is limited to the SOGo database and exploitation requires authentication (Github Advisory, NVD).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of disclosure (Github Advisory). CISA's SSVC assessment classifies exploitation as "none" and the vulnerability as not automatable, with only partial technical impact (NVD). The EPSS score is approximately 0.149–0.157%, placing it in the lower percentiles for near-term exploitation likelihood. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported.
newPassword parameter to include SQL injection syntax. For example, a payload like newpass' , c_uid = c_uid -- could manipulate the UPDATE statement, or more destructively, newpass'; DROP TABLE users; -- depending on the database backend and permissions.changePasswordForLogin method will incorporate the unsanitized input directly into the SQL UPDATE statement.', double dashes --, semicolons ;, SQL keywords like SELECT, DROP, UNION) in the newPassword field.c_password column; unauthorized changes to other columns or tables; new database objects (tables, stored procedures) created by the SOGo database user.The primary remediation is to upgrade SOGo to version 5.12.7 or later, which replaces the vulnerable string-formatted SQL construction with parameterized queries using the EOKeyValueQualifier adaptor pattern (SOGo Release, SOGo Commit). As a defense-in-depth measure, restrict the database user account used by SOGo to the minimum necessary privileges (SELECT, INSERT, UPDATE on required tables only), which limits the blast radius of any SQL injection. There is no documented configuration-based workaround that mitigates the vulnerability without upgrading.
Fix availability across major Linux distributions and their releases.
bookworm
sogo: 5.8.0-2+deb12u3
sid
sogo: 5.12.7-1
trixie
sogo: 5.12.1-3+deb13u2
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."