Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain low-privilege SOGo credentials
-
DeliveryIdentify PostgreSQL-backed SQL auth source
-
ExploitCraft PostgreSQL-specific SQLi payload in login or contact filter
-
InstallSubmit request to SOGo web endpoint
-
C2Injected SQL executes via SQLSource.m
-
ExecuteRead or modify user/password tables
-
ImpactEscalate to broader mailbox and credential compromise
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 (1) a SOGo instance prior to 5.12.7 configured with the SQL authentication source pointed at a PostgreSQL database (the CVE description explicitly scopes the bug to 'when PostgreSQL is used'); (2) network reachability to the SOGo web/login endpoint; and (3) low-privilege authenticated access per CVSS PR:L - typically a valid mailbox account - to reach the vulnerable checkLogin/changePassword/fetchContacts code paths. Limiting factors that reduce real-world risk: deployments using LDAP, MySQL, or SQLite for authentication are not affected; AC:H indicates the attacker must tailor payloads to the PostgreSQL quoting semantics that defeat the legacy single-quote escaping; and no user interaction is needed (UI:N) but credentials are. The pre-auth reachability of the login qualifier in checkLogin is not explicitly confirmed by NVD and should be verified against the patched diff before assuming PR:L is a hard prerequisite. |
| Impact | The CVSS 3.1 vector (AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L, base 7.1) describes a network-reachable but high-complexity attack requiring low-privilege authentication, with high confidentiality and integrity impact - consistent with an authenticated SQLi in login/contact-search flows. Real-world urgency is tempered by a very low EPSS score (0.03%, 8th percentile), CISA SSVC marking Exploitation as 'none' and Automatable as 'no', and the absence of KEV listing or any public PoC, so this is no public exploit identified at time of analysis. Counterweighting that, SSVC rates Technical Impact as 'total' and the upstream diff clearly shows exploitable concatenation, so a motivated attacker with valid (even low-privilege) credentials against a PostgreSQL-backed instance could escalate to full data access. Note one tension worth verifying: PR:L is required, yet the patched code paths include checkLogin and changePasswordForLogin - pre-auth reachability of the login qualifier should be confirmed against the deployment to rule out unauthenticated injection. |
| Exploit ScenarioDerived | An attacker with valid low-privilege SOGo credentials on a PostgreSQL-backed deployment submits a crafted login name or contact-search filter containing PostgreSQL-specific quoting that bypasses the legacy single-quote escaping in SQLSource.m. The injected fragment is concatenated into the UPDATE/SELECT statement issued by checkLogin, changePasswordForLogin, or fetchContactsMatching, allowing the attacker to read other users' password hashes and mailbox metadata or tamper with stored credentials. No public exploit identified at time of analysis, but the patch diff effectively documents the vulnerable sinks for any researcher building one. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 08, 2026
SQL injection in Alinto SOGo versions prior to 5.12.7 allows authenticated remote attackers to manipulate database queries when the groupware is deployed against a PostgreSQL backend. The flaw stems from improper quoting in the SQLSource authentication and contact-lookup paths, which an attacker can leverage to read or modify data with high confidentiality and integrity impact. No public exploit identified at time of analysis and EPSS is very low (0.03%), but a vendor patch and upstream code fix are available.
RemediationAI
Apply the vendor-released patch by upgrading to SOGo 5.12.7 or later, as announced at https://www.sogo.nu/news/2026/sogo-v5127-released.html; the corresponding upstream code change is in Alinto/sogo PR #379 (https://github.com/Alinto/sogo/pull/379) which rewrites SQLSource.m to use EOQualifier/EOAdaptor parameterization. If immediate patching is not possible, compensating controls include switching the authentication source away from the SQL/PostgreSQL backend to LDAP (eliminates the vulnerable code path but requires a directory server and re-provisioning of accounts), restricting network access to the SOGo web interface to trusted management VLANs or via reverse-proxy ACLs (reduces exposure but breaks remote user access), and enforcing strong, unique credentials plus aggressive account lockout on the SOGo login endpoint to raise the cost of obtaining the low-privilege foothold the attack requires. Distribution users should also track the Debian advisory at https://www.mail-archive.com/debian-bugs-dist%40lists.debian.org/msg2100131.html for backported packages.
Affected VersionsENISA
Affected Packages
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, and the affected component is the Objective-C SQLSource module that builds SQL against the configured authentication source. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command): pre-patch code in SoObjects/SOGo/SQLSource.m manually escaped single quotes via stringByReplacingString and concatenated user-controlled login, password, and contact-filter values directly into UPDATE and SELECT statements. The PostgreSQL backend uses different quoting/escaping semantics than MySQL or SQLite (e.g., backslash and dollar-quoting behaviors), so the ad-hoc single-quote doubling does not fully neutralize injection payloads. The fix in PR 379 replaces manual string concatenation with EOQualifier / EOKeyValueQualifier objects rendered through the active EOAdaptor, delegating proper parameter quoting to the database adapter layer.
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
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
Lifecycle Timeline
1DescriptionCVE.org
SOGo before 5.12.7, when PostgreSQL is used, allows SQL injection.
Executive ViewAI
Alinto SOGo groupware deployments using PostgreSQL backends are vulnerable to SQL injection in authentication and contact-lookup functions that allows authenticated users to read or modify sensitive business data including emails and contacts. With CVSS severity of 7.1, this poses significant risk to confidentiality and integrity of organizational communications. A vendor patch is available and should be deployed immediately.
Apply vendor patch.
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.
Cross-site request forgery (CSRF) vulnerability in SOGo before 3.1.0. Rated high severity (CVSS 8.8), this vulnerability
Alinto Sogo 5.12.3 is vulnerable to Cross Site Scripting (XSS) via the theme parameter.
alinto SOGo 5.12.3 is vulnerable to Cross Site Scripting (XSS) via the "userName" parameter. Rated medium severity (CVSS
Password-reset token interception in SOGo before 5.12.11 lets unauthenticated remote attackers redirect account-recovery
Incomplete blacklist in SOGo before 2.3.12 and 3.x before 3.1.1 allows remote authenticated users to obtain sensitive in
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
SQL injection in SOGo versions prior to 5.12.7 allows authenticated users to inject arbitrary SQL when changing their pa
Memory leak in SOGo 2.3.7 allows remote attackers to cause a denial of service (memory consumption) via a large number o
SOGo before version 5.12.5 contains a cross-site scripting (XSS) vulnerability affecting the events, tasks, and contacts
Multiple cross-site scripting (XSS) vulnerabilities in the Web Calendar in SOGo before 2.2.0 allow remote attackers to i
Multiple cross-site scripting (XSS) vulnerabilities in the View Raw Source page in the Web Calendar in SOGo before 3.1.3
Stored XSS in Alinto SOGo's ICS calendar invitation viewer enables a remote unauthenticated attacker to execute arbitrar
EUVD-2026-30212
GHSA-vhv6-3crj-r8jm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB