Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Alinto | SOGo Webmail | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 13 | sogo | 5.12.1-3+deb13u2 | — |
| Debian 12 | sogo | 5.8.0-2+deb12u3 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | sogo | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | sogo | 5.12.4-1.2ubuntu0.1~esm1 | USN-8504-1 |
| Ubuntu Pro 22.04 LTS | sogo | 5.5.1-1ubuntu0.1~esm1 | USN-8504-1 |
| Ubuntu Pro 20.04 LTS | sogo | 4.3.0-1ubuntu0.1~esm1 | USN-8504-1 |
| Ubuntu Pro 18.04 LTS | sogo | 3.2.10-1ubuntu0.1~esm1 | USN-8504-1 |
| Ubuntu Pro 16.04 LTS | sogo | 2.2.17a-1.1ubuntu0.1~esm1 | USN-8504-1 |
Advisories 1
- USN-8504-1 sogo vulnerabilities Ubuntu Security Notices (USN) · Jul 6, 2026
References
- SOGo Webmail SOGo-5.12.8 Release Notes issue-tracking release-notes
- https://www.sogo.nu/news/2026/sogo-v5128-released.html patch
- https://www.vulncheck.com/advisories/sogo-sql-injection-via-adduserinacls-endpoint third-party-advisory