---
id: "CVE-2026-130066"
page: "https://infrastack.ai/live/CVE-2026-130066"
kind: "vulnerability"
aliases: ["CVE-2026-130066"]
title: "SOGo: SQL injection in contact lookup leaks user password hashes"
severity: "high"
cvss: 7.1
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "SOGo", "fixed": [], "affected": "", "ecosystem": "vendor"}]
ecosystems: ["vendor"]
tags: ["mariadb", "mysql", "package", "self-hosted", "sogo"]
not_affected_if: ["auth-required", "default-config"]
published_at: "2026-11-16T22:18:21+00:00"
first_seen_at: "2026-11-16T22:39:14+00:00"
updated_at: "2026-11-16T22:40:48+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-130066", "first_seen_at": "2026-11-16T22:39:14+00:00"}]
exploit_sources: []
---

# SOGo: SQL injection in contact lookup leaks user password hashes

Link for people: https://infrastack.ai/live/CVE-2026-130066 (this .md is for agents)

SOGo, an open-source groupware server, has an SQL injection flaw in its SQLSource contact lookup that lets a logged-in user inject SQL through a crafted object name. An attacker can read the user-source table, including password hashes, when SOGo uses a MySQL or MariaDB address book.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- vendor:SOGo affected range not listed fixed no fixed version listed

## How to check

- Confirm the SOGo version with `sogod --version` or the package manager, and compare it against `5.12.13`.
- Check whether any SQLSource address book is configured against MySQL or MariaDB in the SOGo configuration file.

## Fix

- SOGo: move to `5.12.13` or later.

## Timeline

- 2026-11-16T22:39:14+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-130066

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/alinto-sogo-before-5.12.13-sql-injection-via-sqlsource-contact-lookup
- [fix] Patch: github.com https://github.com/Alinto/sogo/commit/03ac106c2160bde2640b0400a77a805f8969acd8
- [fix] Patch: github.com https://github.com/Alinto/sogo/commit/328c96cdd62acbb162eae4d0da99c3d1926d5e63
- [fix] Release notes: github.com https://github.com/Alinto/sogo/releases/tag/SOGo-5.12.13

## From the sources

Alinto SOGo before 5.12.13 contains an SQL injection vulnerability in SQLSource contact lookup that allows authenticated users to inject SQL by placing a backslash before a quote in the object name. Attackers can send requests under a SQL-backed address book path on MySQL or MariaDB to perform UNION or boolean-based reads of the user-source table, including password hashes.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
