Skip to main content

SOGo CVE-2026-39179

| EUVDEUVD-2026-42500 MEDIUM
SQL Injection (CWE-89)
2026-07-08 cve@mitre.org GHSA-7hjm-3p3p-89wx
6.3
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with valid SOGo user credentials
  2. Delivery
    Submit crafted newPassword containing SQL payload via password change endpoint
  3. Exploit
    Injected SQL executes within raw UPDATE statement context
  4. Execution
    Overwrite other users' password hashes in credential table
  5. Persist
    Authenticate as victim user with attacker-set password
  6. Impact
    Access victim account data

Vulnerability Assessment

Weakness
CWE
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a valid authenticated SOGo user session (CVSS PR:L confirmed); unauthenticated exploitation is not possible. The vulnerability is specific to SOGo deployments configured with SQL-backed authentication sources (SQLSource); deployments using LDAP-only authentication are not affected, as the vulnerable code path is in SQLSource.m only. The password change feature must be enabled and accessible - if the endpoint is administratively disabled or restricted by network policy, exploitation is blocked. Impact is further constrained by the database permissions of the SOGo service account: if the account holds only UPDATE/SELECT on the SOGo credential table, an attacker can manipulate that table but cannot read unrelated schemas or execute DDL statements.

Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L, score 6.3 Medium) reflects a network-reachable, low-complexity attack requiring only a standard user credential. EPSS at 0.15% (5th percentile) and SSVC exploitation:none both consistently indicate no known active or automated exploitation at time of analysis. SSVC automatable:no further limits mass-exploitation risk, meaning spray-and-pray campaigns are unlikely. Real-world impact is bounded by the database permissions of the SOGo service account - if scoped tightly to the SOGo schema, an attacker can manipulate credential records but cannot pivot to unrelated databases. The primary threat model is a malicious insider or compromised account escalating privileges by overwriting other users' passwords. The unchanged scope (S:U) prevents lateral movement to external systems. This is a genuine medium-priority issue warranting patching but not emergency response, particularly given low EPSS and no exploitation signals.

Exploit ScenarioDerived

An authenticated SOGo user submits a password change request with a newPassword value containing SQL syntax such as a quote followed by additional UPDATE clauses or subqueries. Because the encryptedPassword value is interpolated directly into the UPDATE statement without parameterization, the injected SQL executes in the database context of the SOGo service account, potentially allowing the attacker to overwrite other users' password hashes and hijack their accounts. No public exploit code has been identified, but the vulnerable code pattern is clearly visible in the public commit diff and is straightforward for a researcher to reproduce.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 22, 2026

SQL injection in SOGo's password change functionality allows authenticated users to execute arbitrary SQL against the backend database by supplying crafted values in the newPassword parameter. Versions before 5.12.7 are confirmed affected when using SQL-backed authentication sources; the fix is available in SOGo 5.12.7 as confirmed by the vendor release announcement. No public exploit code has been identified at time of analysis, and EPSS places exploitation probability at 0.15% (5th percentile), consistent with SSVC exploitation status of 'none.'

RemediationAI

Upgrade to SOGo 5.12.7 or later as confirmed by the vendor release at https://www.sogo.nu/news/2026/sogo-v5127-released.html; this version replaces raw SQL string interpolation with EOKeyValueQualifier-based parameterized queries, eliminating the injection surface. If an immediate upgrade is not feasible, restrict access to the password-change endpoint via reverse proxy ACLs or network controls to limit it to trusted network segments - note this degrades self-service password management for remote users. Additionally, reviewing and tightening the database service account's permissions to the minimum required schema can reduce the blast radius of a successful injection. Deploying WAF rules to detect SQL metacharacters in password change request bodies may provide partial detection coverage but is not a reliable standalone control given potential bypass techniques.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SOGo is an open-source groupware server (calendaring, contacts, email) developed by Alinto, implemented in Objective-C using the GNUstep/SOPE framework. The vulnerability (CWE-89) resides in SoObjects/SOGo/SQLSource.m within the changePasswordForLogin: method, which constructs a raw SQL UPDATE statement using NSString stringWithFormat: to interpolate the encryptedPassword value directly into the query string - specifically the pattern 'UPDATE %@ SET c_password = ''%@'' WHERE c_uid = ''%@'''. While the login parameter received apostrophe-escaping, the password value did not, creating the injection surface. The fix replaces this pattern with EOKeyValueQualifier-based parameterized query construction via the EOAdaptor layer, which properly handles quoting across database backends. The NVD CPE field lists 'n/a n/a,' so no formal CPE string is available; affected products are identified from the vendor advisory and commit diff.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 6.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
vuln.today AI 6.3 MEDIUM

Network-accessible password change endpoint requires an authenticated user (PR:L); SQL injection impact bounded to the SOGo database schema with no scope change (S:U, C:L/I:L/A:L).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

DescriptionCVE.org

A SQL injection vulnerability in SOGo before 5.12.7 allows authenticated users to execute arbitrary SQL statements via the newPassword parameter in the password change functionality.

Threat Intelligence Overview

EPSS Score
0.1%
Top 95% exploitable
Prevalence
Low
niche open-source groupware, limited enterprise market share
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy