---
id: CVE-2026-8851
title: >-
  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…
summary: >-
  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…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'
cwe:
  - CWE-89
published: '2026-05-18'
updated: '2026-07-23'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-8851'
references:
  - url: 'https://github.com/Alinto/sogo/releases/tag/SOGo-5.12.8'
    label: disclosure@vulncheck.com
  - url: 'https://www.sogo.nu/news/2026/sogo-v5128-released.html'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/sogo-sql-injection-via-adduserinacls-endpoint
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.00422
epssPercentile: 0.33865
ingestedAt: '2026-07-23T20:19:18.718Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
