Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid SOGo user credentials
-
DeliveryAuthenticate to SOGo web or API interface
-
ExploitSend crafted HTTP request to allContactSearch endpoint with SQL payload in search parameter
-
ExecutionBackend SQL query executes attacker-controlled statement
-
ImpactExfiltrate or manipulate contact database records
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 a valid, authenticated SOGo user session (CVSS PR:L confirms this). The vulnerable code path is specifically the search parameter of the allContactSearch endpoint, which must be reachable by the authenticated user - a standard condition for any SOGo user with contact access. No administrator or elevated privilege is needed beyond a basic account. Exploitation is limited by the authentication requirement: unauthenticated external attackers cannot directly reach the endpoint. Scope:Unchanged (S:U) means impact is confined to the database context SOGo runs under and does not automatically propagate to the underlying OS or other application databases. Non-default deployment factors (network isolation, VPN-only access, strict user provisioning) further reduce realistic risk beyond the raw CVSS score. |
| Impact | The CVSS 3.1 vector AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L scores 6.3 (Medium), reflecting a network-reachable, low-complexity flaw requiring only authenticated user access. The partial impact ratings (C:L/I:L/A:L) suggest the injection operates within a bounded database context rather than granting full server compromise. Against these signals, EPSS at 0.15% (5th percentile) is notably low for a SQL injection, indicating minimal observed exploitation activity in telemetry. There is no KEV listing and no POC identified, consistent with the low EPSS. Real-world risk is meaningful for organizations where untrusted but authenticated users exist (shared hosting, multi-tenant SOGo deployments), but lower in environments with strict user vetting. The Scope:Unchanged metric confirms blast radius is limited to the SOGo database. This is a genuine vulnerability warranting routine patching but not emergency response absent evidence of active targeting. |
| Exploit ScenarioDerived | An authenticated SOGo user - for example, a low-privilege shared-tenant account - submits a contact search request to the allContactSearch endpoint with a crafted search value such as a closing quote followed by a UNION SELECT or stacked query. The backend SQL statement incorporates the payload verbatim, allowing the attacker to exfiltrate rows from the contacts database or modify records within the database context SOGo operates under. No public exploit code has been identified at time of analysis, so exploitation currently requires manual crafting rather than use of a ready-made tool. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 09, 2026
SQL injection in SOGo's allContactSearch endpoint permits authenticated users to inject arbitrary SQL via the unsanitized search parameter, affecting all SOGo releases before 5.12.7. An attacker with a valid SOGo account can manipulate backend SQL queries to read, alter, or partially disrupt contact database contents - confirmed by both the upstream fix commit and the vendor's 5.12.7 release announcement. EPSS sits at the 5th percentile (0.15%) and no CISA KEV listing exists, indicating no public exploit identified at time of analysis despite the straightforward CWE-89 root cause.
RemediationAI
Upgrade SOGo to version 5.12.7 or later, as documented in the vendor release announcement at https://www.sogo.nu/news/2026/sogo-v5127-released.html and patched in commit 1f7e5d2b2c2047c44a6a9e05f73c36491cb96d21 on the Alinto/sogo GitHub repository. If an immediate upgrade is not feasible, consider deploying a WAF or reverse-proxy rule on the allContactSearch endpoint to reject requests whose search parameter contains SQL metacharacters (single quotes, semicolons, comment sequences such as '--' or '/*'); note this may block edge-case legitimate search terms and should be tested against real usage patterns. Additionally, ensure SOGo is not exposed to networks where untrusted or anonymous users could obtain credentials, as reducing the authenticated user pool directly limits exploitability. No workaround fully substitutes for the code-level fix.
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 providing calendaring, contacts, and email access over CalDAV, CardDAV, and ActiveSync. The allContactSearch endpoint processes user-supplied search terms against a backend relational database (typically PostgreSQL or MySQL). The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command): the search parameter is concatenated into a SQL query without parameterized binding or sufficient sanitization, allowing an authenticated caller to close the intended query context and append or modify SQL logic. No CPE strings were provided in the input data; affected scope is defined by the vendor as all releases prior to 5.12.7 per the release announcement and the fix commit at github.com/Alinto/sogo.
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 endpoint requires only a standard authenticated user (PR:L); SQL injection yields partial C/I/A impact within unchanged database scope.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
2DescriptionCVE.org
A SQL injection vulnerability in SOGo before 5.12.7 allows authenticated users to execute arbitrary SQL statements via the search parameter of the allContactSearch endpoint.
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-42499
GHSA-5fp2-8g3x-xw93
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB