{"id":"UBUNTU-CVE-2026-39178","details":"A SQL injection vulnerability in SOGo before 5.12.7 allows authenticated users to execute arbitrary SQL statements via the search parameter of the allContactSearch endpoint.","modified":"2026-07-15T17:50:40Z","published":"2026-07-08T22:17:00Z","upstream":["CVE-2026-39178"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-39178"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-39178"},{"type":"REPORT","url":"https://github.com/Alinto/sogo/commit/1f7e5d2b2c2047c44a6a9e05f73c36491cb96d21"},{"type":"REPORT","url":"https://www.sogo.nu/news/2026/sogo-v5127-released.html"}],"affected":[{"package":{"name":"sogo","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/sogo?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.17a-1","2.2.17a-1.1","2.2.17a-1.1build1","2.2.17a-1.1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"sogo","binary_version":"2.2.17a-1.1ubuntu0.1~esm1"},{"binary_name":"sogo-common","binary_version":"2.2.17a-1.1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39178.json"}},{"package":{"name":"sogo","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/sogo?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.2.10-1","3.2.10-1build1","3.2.10-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"sogo","binary_version":"3.2.10-1ubuntu0.1~esm1"},{"binary_name":"sogo-common","binary_version":"3.2.10-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39178.json"}},{"package":{"name":"sogo","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/sogo?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.0.8-1","4.1.0-1","4.1.1-1","4.3.0-1","4.3.0-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.3.0-1ubuntu0.1~esm1","binary_name":"sogo"},{"binary_name":"sogo-common","binary_version":"4.3.0-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39178.json"}},{"package":{"name":"sogo","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/sogo?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.1.0-1","5.2.0-1","5.2.0-3","5.3.0-1","5.3.0-1build2","5.4.0-1","5.5.0-1","5.5.1-1","5.5.1-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"sogo","binary_version":"5.5.1-1ubuntu0.1~esm1"},{"binary_version":"5.5.1-1ubuntu0.1~esm1","binary_name":"sogo-activesync"},{"binary_name":"sogo-common","binary_version":"5.5.1-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39178.json"}},{"package":{"name":"sogo","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/sogo?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.11.2-4","5.12.1-1","5.12.1-1build2","5.12.1-2","5.12.1-3"],"ecosystem_specific":{"binaries":[{"binary_version":"5.12.1-3","binary_name":"sogo"},{"binary_name":"sogo-activesync","binary_version":"5.12.1-3"},{"binary_version":"5.12.1-3","binary_name":"sogo-common"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39178.json"}},{"package":{"name":"sogo","ecosystem":"Ubuntu:Pro:26.04:LTS","purl":"pkg:deb/ubuntu/sogo?arch=source&distro=esm-apps%2Fresolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.12.1-3","5.12.4-1","5.12.4-1.1","5.12.4-1.2","5.12.4-1.2ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"sogo","binary_version":"5.12.4-1.2ubuntu0.1~esm1"},{"binary_version":"5.12.4-1.2ubuntu0.1~esm1","binary_name":"sogo-activesync"},{"binary_version":"5.12.4-1.2ubuntu0.1~esm1","binary_name":"sogo-common"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39178.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"},{"type":"Ubuntu","score":"medium"}]}