CVE-2026-8851
SOGo < 5.12.8 SQL Injection via addUserInAcls endpoint
SOGo versions 5.12.7 and prior contains a SQL injection vulnerability in the Access Control List management functionality that allows authenticated users to extract arbitrary data from the database by injecting SQL subqueries through the uid parameter of the addUserInAcls endpoint. Attackers can inject malicious SQL code to write extracted data into the sogo_acl table and retrieve it through the /acls API, establishing an out-of-band data exfiltration channel.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
8.6
SOGo < 5.12.8 SQL Injection via addUserInAcls endpoint
SOGo versions 5.12.7 and prior contains a SQL injection vulnerability in the Access Control List management functionality that allows authenticated users to extract arbitrary data from the database by injecting SQL subqueries through the uid parameter of the addUserInAcls endpoint. Attackers can inject malicious SQL code to write extracted data into the sogo_acl table and retrieve it through the /acls API, establishing an out-of-band data exfiltration channel.
- Record
CVE-2026-8851- CVSS 4.0
- 8.6 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N - CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-89
- Updated
- 2026-11-02
EUVDEUVD-2026-30804
8.6
SOGo versions 5.12.7 and prior contains a SQL injection vulnerability in the Access Control List management functionality that allows authenticated users to extract arbitrary data from the database by injecting SQL subqueries through the uid parameter of the addUserInAcls endpoint. Attackers can inject malicious SQL code to write extracted data into the sogo_acl table and retrieve it through the /acls API, establishing an out-of-band data exfiltration channel.
- Record
EUVD-2026-30804- CVSS 4.0
- 8.6 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-7vv4-j48f-wcx7
8.6
SOGo 5.12.7 contains a SQL injection vulnerability in the Access Control List management...
SOGo 5.12.7 contains a SQL injection vulnerability in the Access Control List management functionality that allows authenticated users to extract arbitrary data from the database by injecting SQL subqueries through the uid parameter of the addUserInAcls endpoint. Attackers can inject malicious SQL code to write extracted data into the sogo_acl table and retrieve it through the /acls API, establishing an out-of-band data exfiltration channel.
- Record
GHSA-7vv4-j48f-wcx7- CVSS 4.0
- 8.6 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-89
- Updated
- 2026-11-02
NVD
8.6
SOGo versions 5.12.7 and prior contains a SQL injection vulnerability in the Access Control List management functionality that allows authenticated users to extract arbitrary data from the database by injecting SQL subqueries through the uid parameter of the addUserInAcls endpoint. Attackers can inject malicious SQL code to write extracted data into the sogo_acl table and retrieve it through the /acls API, establishing an out-of-band data exfiltration channel.
- Record
CVE-2026-8851- CVSS 4.0
- 8.6 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-89
- Updated
- 2026-11-02
OSV
8.6
SOGo < 5.12.8 SQL Injection via addUserInAcls endpoint
SOGo versions 5.12.7 and prior contains a SQL injection vulnerability in the Access Control List management functionality that allows authenticated users to extract arbitrary data from the database by injecting SQL subqueries through the uid parameter of the addUserInAcls endpoint. Attackers can inject malicious SQL code to write extracted data into the sogo_acl table and retrieve it through the /acls API, establishing an out-of-band data exfiltration channel.
- Record
CVE-2026-8851- CVSS 4.0
- 8.6 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N - Weakness
- CWE-89
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2026-8851
8.6
SOGo versions 5.12.7 and prior contains a SQL injection vulnerability in the Access Control List management functionality that allows authenticated users to extract arbitrary data from the database by injecting SQL subqueries through the uid parameter of the addUserInAcls endpoint. Attackers can inject malicious SQL code to write extracted data into the sogo_acl table and retrieve it through the /acls API, establishing an out-of-band data exfiltration channel.
- Record
DEBIAN-CVE-2026-8851- CVSS 4.0
- 8.6 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-8851
8.6
SOGo versions 5.12.7 and prior contains a SQL injection vulnerability in the Access Control List management functionality that allows authenticated users to extract arbitrary data from the database by injecting SQL subqueries through the uid parameter of the addUserInAcls endpoint. Attackers can inject malicious SQL code to write extracted data into the sogo_acl table and retrieve it through the /acls API, establishing an out-of-band data exfiltration channel.
- Record
UBUNTU-CVE-2026-8851- CVSS 4.0
- 8.6 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N - CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N - Updated
- 2026-11-02
OSVUSN-8504-1 No score
sogo vulnerabilities
It was discovered that SOGo did not properly sanitize categories used for events, tasks, and contacts. A remote authenticated attacker could possibly use this issue to perform cross-site scripting attacks. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 26.04 LTS. (CVE-2025-71276)
It was discovered that SOGo did not properly sanitize the hint query parameter. A remote attacker could possibly use this issue to perform cross-site scripting attacks. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-3054)
It was discovered that SOGo did not renew the one-time password when a user disabled and re-enabled it, and used a shorter length than recommended. A remote attacker could possibly use this issue to bypass authentication. This issue only affected Ubuntu 22.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-33550)
It was discovered that SOGo did not properly use the SQL adaptor for the user source, resulting in SQL injection when certain databases were used. A remote authenticated attacker could possibly use this issue to obtain sensitive information or execute arbitrary SQL commands. (CVE-2026-46445, CVE-2026-46446)
It was discovered that SOGo did not properly sanitize mail containing ICS calendar invitations. A remote attacker could possibly use this issue to perform cross-site scripting attacks. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-8496)
It was discovered that SOGo did not properly validate identifiers when managing access control lists. A remote authenticated attacker could possibly use this issue to perform SQL injection attacks and obtain sensitive information. (CVE-2026-8851)
It was discovered that SOGo did not properly sanitize the theme parameter. A remote attacker could possibly use this issue to perform cross-site scripting attacks. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2025-63499)
It was discovered that SOGo did not properly sanitize the userName parameter on the login page. A remote attacker could possibly use this issue to perform cross-site scripting attacks. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2025-63498)
It was discovered that SOGo did not properly sanitize attachments when previewing them. A remote attacker could possibly use this issue to perform cross-site scripting attacks. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2024-34462)
It was discovered that SOGo did not validate the signatures of SAML assertions it received when SAML was used for authentication. A remote attacker could possibly use this issue to impersonate other users. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 20.04 LTS. (CVE-2021-33054)
- Record
USN-8504-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
sogoDebian:12 |
before 5.8.0-2+deb12u3, plus listed versions 5.8.0-15.8.0-2+deb12u15.8.0-2+deb12u2 |
5.8.0-2+deb12u3 |
sogoDebian:13 |
before 5.12.1-3+deb13u2, plus listed versions 5.12.1-35.12.1-3+deb13u1 |
5.12.1-3+deb13u2 |
sogoUbuntu:Pro:16.04:LTS |
before 2.2.17a-1.1ubuntu0.1~esm1, plus listed versions 2.2.17a-12.2.17a-1.12.2.17a-1.1build1 |
2.2.17a-1.1ubuntu0.1~esm1 |
sogoUbuntu:Pro:18.04:LTS |
before 3.2.10-1ubuntu0.1~esm1, plus listed versions 3.2.10-13.2.10-1build1 |
3.2.10-1ubuntu0.1~esm1 |
sogoUbuntu:Pro:20.04:LTS |
before 4.3.0-1ubuntu0.1~esm1, plus listed versions 4.0.8-14.1.0-14.1.1-14.3.0-1 |
4.3.0-1ubuntu0.1~esm1 |
sogoUbuntu:Pro:22.04:LTS |
before 5.5.1-1ubuntu0.1~esm1, plus listed versions 5.1.0-15.2.0-15.2.0-35.3.0-15.3.0-1build25.4.0-15.5.0-15.5.1-1 |
5.5.1-1ubuntu0.1~esm1 |
sogoUbuntu:25.10 |
All versions, plus listed versions 5.11.2-45.12.1-15.12.1-1build25.12.1-25.12.1-3 |
None known |
sogoUbuntu:Pro:26.04:LTS |
before 5.12.4-1.2ubuntu0.1~esm1, plus listed versions 5.12.1-35.12.4-15.12.4-1.15.12.4-1.2 |
5.12.4-1.2ubuntu0.1~esm1 |
sogoUbuntu:Pro:16.04:LTS From an advisory covering 11 CVEs |
before 2.2.17a-1.1ubuntu0.1~esm1, plus listed versions 2.2.17a-12.2.17a-1.12.2.17a-1.1build1 |
2.2.17a-1.1ubuntu0.1~esm1 |
sogoUbuntu:Pro:18.04:LTS From an advisory covering 11 CVEs |
before 3.2.10-1ubuntu0.1~esm1, plus listed versions 3.2.10-13.2.10-1build1 |
3.2.10-1ubuntu0.1~esm1 |
sogoUbuntu:Pro:20.04:LTS From an advisory covering 11 CVEs |
before 4.3.0-1ubuntu0.1~esm1, plus listed versions 4.0.8-14.1.0-14.1.1-14.3.0-1 |
4.3.0-1ubuntu0.1~esm1 |
sogoUbuntu:Pro:22.04:LTS From an advisory covering 11 CVEs |
before 5.5.1-1ubuntu0.1~esm1, plus listed versions 5.1.0-15.2.0-15.2.0-35.3.0-15.3.0-1build25.4.0-15.5.0-15.5.1-1 |
5.5.1-1ubuntu0.1~esm1 |
sogoUbuntu:Pro:26.04:LTS From an advisory covering 11 CVEs |
before 5.12.4-1.2ubuntu0.1~esm1, plus listed versions 5.12.1-35.12.4-15.12.4-1.15.12.4-1.2 |
5.12.4-1.2ubuntu0.1~esm1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-8851 is a high vulnerability (CVSS 8.6) in Alinto Sogo Webmail, published May 18, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.32%, the 24th percentile. Fixed in sogo 5.8.0-2+deb12u3.
References
github.com/Alinto/sogo/releases/tag/SOGo-5.12.8
sogo.nu/news/2026/sogo-v5128-released.html
vulncheck.com/advisories/sogo-sql-injection-via-adduserinacls-endpoint
nvd.nist.gov/vuln/detail/CVE-2026-8851
github.com/advisories/GHSA-7vv4-j48f-wcx7
github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8851.json
Show 15 moreShow less
security-tracker.debian.org/tracker/CVE-2026-8851
ubuntu.com/security/CVE-2026-8851
cve.org/CVERecord?id=CVE-2026-8851
github.com/Alinto/sogo/commit/f9b71059f4f382d7b337d16ce1257443ade43d02
ubuntu.com/security/notices/USN-8504-1
ubuntu.com/security/CVE-2021-33054
ubuntu.com/security/CVE-2024-34462
ubuntu.com/security/CVE-2025-63498
ubuntu.com/security/CVE-2025-63499
ubuntu.com/security/CVE-2025-71276
ubuntu.com/security/CVE-2026-3054
ubuntu.com/security/CVE-2026-8496
ubuntu.com/security/CVE-2026-33550
ubuntu.com/security/CVE-2026-46445
ubuntu.com/security/CVE-2026-46446