Severity by source
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L
Lifecycle Timeline
3DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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.
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.
More in PostgreSQL
View allPostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows re
Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.
PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allow
The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t
A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra
In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve
## Summary An unauthenticated SQL injection vulnerability exists in the Vendure Shop API. A user-controlled query strin
Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot
Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al
A vulnerability in the FinanceChatLlamaPack of the run-llama/llama_index repository, versions up to v0.12.3, allows for
Same weakness CWE-89 – SQL Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-30213
GHSA-37h6-wqp6-qg5g