{"id":"CVE-2026-130066","kind":"vulnerability","aliases":["CVE-2026-130066"],"related":[],"title":"SOGo: SQL injection in contact lookup leaks user password hashes","description":"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.","summary":"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.","severity":"high","cvss":7.1,"epss":null,"exploited":false,"exploited_at":null,"products":[{"name":"SOGo","fixed":[],"affected":"","ecosystem":"vendor"}],"ecosystems":["vendor"],"tags":["mariadb","mysql","package","self-hosted","sogo"],"not_affected_if":["auth-required","default-config"],"how_to_check":"- Confirm the SOGo version with `sogod --version` or the package manager, and compare it against `5.12.13`.\n- 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.","status":"open","published_at":"2026-11-16T22:18:21+00:00","first_seen_at":"2026-11-16T22:39:14+00:00","triaged_at":"2026-11-16T22:40:48+00:00","updated_at":"2026-11-16T22:40:48+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-11-16T22:40:48Z","model":"claude-haiku-5-5","output":{"fix":"- SOGo: move to `5.12.13` or later.","reach":"network","title":"SOGo: SQL injection in contact lookup leaks user password hashes","impact":"medium","summary":"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.","audience":"businesses","category":"package","nicknames":[],"who_cares":["sogo","self-hosted","mysql","mariadb"],"confidence":0.8,"fix_status":"available","needs_auth":"yes","worst_case":"logged-in users read password hashes from the user source table","analyst_note":"","how_to_check":"- Confirm the SOGo version with `sogod --version` or the package manager, and compare it against `5.12.13`.\n- Check whether any SQLSource address book is configured against MySQL or MariaDB in the SOGo configuration file.\n- unknown for anything beyond this, as the sources do not say.","plain_action":"","product_name":"SOGo","needs_analyst":false,"not_affected_if":["auth-required","default-config"],"who_is_affected":"Exposed installations are SOGo servers that use an SQLSource-backed address book on MySQL or MariaDB, where an authenticated user can send crafted requests to that address book path. Installations using LDAP or other address book backends, or that do not expose SQL-backed address books, are not described as affected. Teams with no SQL-backed SOGo address book can skip it, but should still upgrade.","user_interaction":"no","product_ecosystem":"vendor","needs_special_setup":"yes","severity_if_unknown":"high"},"cost_usd":0.000769,"input_tokens":4647,"output_tokens":609,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-130066':13A,16A '-2026':12A,15A '5.12.13':80C 'address':75B,117C 'alinto':77C 'allow':91C 'attack':57B,108C 'authent':92C 'back':116C 'backslash':100C 'base':130C 'book':76B,118C 'boolean':129C 'boolean-bas':128C 'contact':5A,40B,88C 'contain':81C 'craft':53B 'cve':11A,14A 'flaw':36B 'groupwar':30B 'hash':10A,67B,140C 'host':23B 'includ':65B,138C 'inject':3A,35B,49B,84C,95C 'leak':7A 'let':43B 'log':46B 'logged-in':45B 'lookup':6A,41B,89C 'mariadb':18B,74B,123C 'mysql':19B,72B,121C 'name':55B,107C 'object':54B,106C 'open':28B 'open-sourc':27B 'packag':20B 'password':9A,66B,139C 'path':119C 'perform':125C 'place':98C 'quot':103C 'read':59B,131C 'request':111C 'self':22B 'self-host':21B 'send':110C 'server':31B 'sogo':1A,17A,24B,25B,69B,78C 'sourc':29B,63B,136C 'sql':2A,34B,50B,83C,96C,115C 'sql-back':114C 'sqlsourc':39B,87C 'tabl':64B,137C 'union':126C 'use':70B 'user':8A,48B,62B,93C,135C 'user-sourc':61B,134C 'vulner':85C","nicknames":[],"mitigations":[],"who_affected":"Exposed installations are SOGo servers that use an SQLSource-backed address book on MySQL or MariaDB, where an authenticated user can send crafted requests to that address book path. Installations using LDAP or other address book backends, or that do not expose SQL-backed address books, are not described as affected. Teams with no SQL-backed SOGo address book can skip it, but should still upgrade.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"pkeys":["sogo"],"ptokens":["sogo"],"labels":["high","mariadb","mysql","package","selfhosted","sogo","vendor"],"campaign_type":null,"search_a":"'-130066':13A,16A '-2026':12A,15A 'contact':5A 'cve':11A,14A 'hash':10A 'inject':3A 'leak':7A 'lookup':6A 'password':9A 'sogo':1A,17A 'sql':2A 'user':8A","search_b":"'address':75B 'attack':57B 'book':76B 'contact':40B 'craft':53B 'flaw':36B 'groupwar':30B 'hash':67B 'host':23B 'includ':65B 'inject':35B,49B 'let':43B 'log':46B 'logged-in':45B 'lookup':41B 'mariadb':18B,74B 'mysql':19B,72B 'name':55B 'object':54B 'open':28B 'open-sourc':27B 'packag':20B 'password':66B 'read':59B 'self':22B 'self-host':21B 'server':31B 'sogo':24B,25B,69B 'sourc':29B,63B 'sql':34B,50B 'sqlsourc':39B 'tabl':64B 'use':70B 'user':48B,62B 'user-sourc':61B","search_c":"'5.12.13':80C 'address':117C 'alinto':77C 'allow':91C 'attack':108C 'authent':92C 'back':116C 'backslash':100C 'base':130C 'book':118C 'boolean':129C 'boolean-bas':128C 'contact':88C 'contain':81C 'hash':140C 'includ':138C 'inject':84C,95C 'lookup':89C 'mariadb':123C 'mysql':121C 'name':107C 'object':106C 'password':139C 'path':119C 'perform':125C 'place':98C 'quot':103C 'read':131C 'request':111C 'send':110C 'sogo':78C 'sourc':136C 'sql':83C,96C,115C 'sql-back':114C 'sqlsourc':87C 'tabl':137C 'union':126C 'user':93C,135C 'user-sourc':134C 'vulner':85C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T22:18:21+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/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_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-130066","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130066","severity":null,"published_at":"2026-11-16T22:18:21+00:00","modified_at":"2026-11-16T22:18:21+00:00","first_seen_at":"2026-11-16T22:39:14+00:00","fetched_at":"2026-11-16T22:39:14+00:00","note":null}],"documents":[{"id":172873,"url":"https://github.com/Alinto/sogo/commit/03ac106c2160bde2640b0400a77a805f8969acd8","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":172874,"url":"https://github.com/Alinto/sogo/commit/328c96cdd62acbb162eae4d0da99c3d1926d5e63","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":136541,"url":"https://github.com/Alinto/sogo/releases/tag/SOGo-5.12.13","title":"Release notes: github.com","kind":"release","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Release notes: github.com"},{"id":172876,"url":"https://www.vulncheck.com/advisories/alinto-sogo-before-5.12.13-sql-injection-via-sqlsource-contact-lookup","title":"Third-party advisory: www.vulncheck.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: www.vulncheck.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}