sogo — security advisory
An Insecure Direct Object Reference (IDOR) vulnerability was discovered in SOGo Webmail thru 5.6.0, allowing an authenticated user to send emails on behalf of other users by manipulating a user-controlled identifier in the email-sending request. The server fails to verify whether the authenticated user is authorized to use the specified sender identity, resulting in unauthorized message delivery as another user. This can lead to impersonation, phishing, or unauthorized communication within the system. NOTE: this is disputed by the Supplier because the only effective way to prevent this sender spoofing is on the SMTP server, not within a client such as SOGo.
- Products
- sogo
- Affected versions
- 2.2.17a-1, 2.2.17a-1.1, 2.2.17a-1.1build1, 2.2.17a-1.1ubuntu0.1~esm1, 3.2.10-1, 3.2.10-1build1, 3.2.10-1ubuntu0.1~esm1, 4.0.8-1, 4.1.0-1, 4.1.1-1, 4.3.0-1, 4.3.0-1ubuntu0.1~esm1, 5.1.0-1, 5.11.2-4, 5.12.1-1, 5.12.1-1build2, 5.12.1-2, 5.12.1-3, 5.12.10-1ubuntu1, 5.12.4-1, 5.12.4-1.1, 5.12.4-1.2, 5.12.4-1.2ubuntu0.1~esm1, 5.12.8-2, 5.12.9-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
- Fixed versions
- Not specified
- CVEs
- CVE-2025-50340
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:29 UTC · Revision 1
Source evidence
An Insecure Direct Object Reference (IDOR) vulnerability was discovered in SOGo Webmail thru 5.6.0, allowing an authenticated user to send emails on behalf of other users by manipulating a user-controlled identifier in the email-sending request. The server fails to verify whether the authenticated user is authorized to use the specified sender identity, resulting in unauthorized message delivery as another user. This can lead to impersonation, phishing, or unauthorized communication within the system. NOTE: this is disputed by the Supplier because the only effective way to prevent this sender spoofing is on the SMTP server, not within a client such as SOGo.
osv:UBUNTU-CVE-2025-50340
sogo
Fixed versions: Not specified
sogo
Fixed versions: Not specified
sogo
Fixed versions: Not specified
sogo
Fixed versions: Not specified
sogo
Fixed versions: Not specified
sogo
Fixed versions: Not specified
sogo
Fixed versions: Not specified
Complete source record
{
"id": "d76354ef2c32c13fdfbf5aec897e1db136f9c170dea25954a9f489adf6807d04",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-50340",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2025-50340",
"summary": "An Insecure Direct Object Reference (IDOR) vulnerability was discovered in SOGo Webmail thru 5.6.0, allowing an authenticated user to send emails on behalf of other users by manipulating a user-controlled identifier in the email-sending request. The server fails to verify whether the authenticated user is authorized to use the specified sender identity, resulting in unauthorized message delivery as another user. This can lead to impersonation, phishing, or unauthorized communication within the system. NOTE: this is disputed by the Supplier because the only effective way to prevent this sender spoofing is on the SMTP server, not within a client such as SOGo.",
"evidence": "osv:UBUNTU-CVE-2025-50340",
"products": [
{
"name": {
"value": "sogo",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.2.17a-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.2.17a-1.1",
"evidence": "/affected/0/versions"
},
{
"value": "2.2.17a-1.1build1",
"evidence": "/affected/0/versions"
},
{
"value": "2.2.17a-1.1ubuntu0.1~esm1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "sogo",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.2.10-1",
"evidence": "/affected/1/versions"
},
{
"value": "3.2.10-1build1",
"evidence": "/affected/1/versions"
},
{
"value": "3.2.10-1ubuntu0.1~esm1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "sogo",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.0.8-1",
"evidence": "/affected/2/versions"
},
{
"value": "4.1.0-1",
"evidence": "/affected/2/versions"
},
{
"value": "4.1.1-1",
"evidence": "/affected/2/versions"
},
{
"value": "4.3.0-1",
"evidence": "/affected/2/versions"
},
{
"value": "4.3.0-1ubuntu0.1~esm1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "sogo",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.1.0-1",
"evidence": "/affected/3/versions"
},
{
"value": "5.2.0-1",
"evidence": "/affected/3/versions"
},
{
"value": "5.2.0-3",
"evidence": "/affected/3/versions"
},
{
"value": "5.3.0-1",
"evidence": "/affected/3/versions"
},
{
"value": "5.3.0-1build2",
"evidence": "/affected/3/versions"
},
{
"value": "5.4.0-1",
"evidence": "/affected/3/versions"
},
{
"value": "5.5.0-1",
"evidence": "/affected/3/versions"
},
{
"value": "5.5.1-1",
"evidence": "/affected/3/versions"
},
{
"value": "5.5.1-1ubuntu0.1~esm1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "sogo",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.11.2-4",
"evidence": "/affected/4/versions"
},
{
"value": "5.12.1-1",
"evidence": "/affected/4/versions"
},
{
"value": "5.12.1-1build2",
"evidence": "/affected/4/versions"
},
{
"value": "5.12.1-2",
"evidence": "/affected/4/versions"
},
{
"value": "5.12.1-3",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "sogo",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.12.4-1.2",
"evidence": "/affected/5/versions"
},
{
"value": "5.12.8-2",
"evidence": "/affected/5/versions"
},
{
"value": "5.12.9-1",
"evidence": "/affected/5/versions"
},
{
"value": "5.12.10-1ubuntu1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "sogo",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.12.1-3",
"evidence": "/affected/6/versions"
},
{
"value": "5.12.4-1",
"evidence": "/affected/6/versions"
},
{
"value": "5.12.4-1.1",
"evidence": "/affected/6/versions"
},
{
"value": "5.12.4-1.2",
"evidence": "/affected/6/versions"
},
{
"value": "5.12.4-1.2ubuntu0.1~esm1",
"evidence": "/affected/6/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2025-50340",
"aliases": [
"UBUNTU-CVE-2025-50340"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sogo",
"purl": "pkg:deb/ubuntu/sogo?arch=source&distro=esm-apps-legacy%2Fxenial",
"ecosystem": "Ubuntu:Pro:16.04:LTS"
},
"versions": [
"2.2.17a-1",
"2.2.17a-1.1",
"2.2.17a-1.1build1",
"2.2.17a-1.1ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-50340.json"
},
"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"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sogo",
"purl": "pkg:deb/ubuntu/sogo?arch=source&distro=esm-apps%2Fbionic",
"ecosystem": "Ubuntu:Pro:18.04:LTS"
},
"versions": [
"3.2.10-1",
"3.2.10-1build1",
"3.2.10-1ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-50340.json"
},
"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"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sogo",
"purl": "pkg:deb/ubuntu/sogo?arch=source&distro=esm-apps%2Ffocal",
"ecosystem": "Ubuntu:Pro:20.04:LTS"
},
"versions": [
"4.0.8-1",
"4.1.0-1",
"4.1.1-1",
"4.3.0-1",
"4.3.0-1ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-50340.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "sogo",
"binary_version": "4.3.0-1ubuntu0.1~esm1"
},
{
"binary_name": "sogo-common",
"binary_version": "4.3.0-1ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sogo",
"purl": "pkg:deb/ubuntu/sogo?arch=source&distro=esm-apps%2Fjammy",
"ecosystem": "Ubuntu:Pro:22.04:LTS"
},
"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"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-50340.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "sogo",
"binary_version": "5.5.1-1ubuntu0.1~esm1"
},
{
"binary_name": "sogo-activesync",
"binary_version": "5.5.1-1ubuntu0.1~esm1"
},
{
"binary_name": "sogo-common",
"binary_version": "5.5.1-1ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sogo",
"purl": "pkg:deb/ubuntu/sogo?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"5.11.2-4",
"5.12.1-1",
"5.12.1-1build2",
"5.12.1-2",
"5.12.1-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-50340.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "sogo",
"binary_version": "5.12.1-3"
},
{
"binary_name": "sogo-activesync",
"binary_version": "5.12.1-3"
},
{
"binary_name": "sogo-common",
"binary_version": "5.12.1-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sogo",
"purl": "pkg:deb/ubuntu/sogo?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"5.12.4-1.2",
"5.12.8-2",
"5.12.9-1",
"5.12.10-1ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-50340.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "sogo",
"binary_version": "5.12.10-1ubuntu1"
},
{
"binary_name": "sogo-activesync",
"binary_version": "5.12.10-1ubuntu1"
},
{
"binary_name": "sogo-common",
"binary_version": "5.12.10-1ubuntu1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sogo",
"purl": "pkg:deb/ubuntu/sogo?arch=source&distro=esm-apps%2Fresolute",
"ecosystem": "Ubuntu:Pro:26.04:LTS"
},
"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"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-50340.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "sogo",
"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",
"binary_version": "5.12.4-1.2ubuntu0.1~esm1"
}
]
}
}
],
"modified": "2026-10-17T12:58:36.414755155Z",
"provider": "osv",
"upstream": [
"CVE-2025-50340"
],
"references": [
"https://ubuntu.com/security/CVE-2025-50340",
"https://www.cve.org/CVERecord?id=CVE-2025-50340",
"https://github.com/millad7/SOGo_web_mail-vulnerability-CVE-2025-50340"
]
},
"related_cves": [
{
"value": "CVE-2025-50340",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 358853,
"published_at": "2025-08-04T20:15:00+00:00"
}