Mailcow Docker Container Exposure to Local Network
mailcow is a dockerized email package, with multiple containers linked in one bridged network. A security vulnerability has been identified in mailcow affecting versions < 2024-01c. This vulnerability potentially allows attackers on the same subnet to connect to exposed ports of a Docker container, even when the port is bound to 127.0.0.1. The vulnerability has been addressed by implementing additional iptables/nftables rules. These rules drop packets for Docker containers on ports 3306, 6379, 8983, and 12345, where the input interface is not `br-mailcow` and the output interface is `br-mailcow`.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-24760
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 13:01 UTC · Revision 1
Source evidence
Mailcow Docker Container Exposure to Local Network
core-osv · Original sourcePublished 2 Feb 2024, 15:28 UTC
mailcow is a dockerized email package, with multiple containers linked in one bridged network. A security vulnerability has been identified in mailcow affecting versions < 2024-01c. This vulnerability potentially allows attackers on the same subnet to connect to exposed ports of a Docker container, even when the port is bound to 127.0.0.1. The vulnerability has been addressed by implementing additional iptables/nftables rules. These rules drop packets for Docker containers on ports 3306, 6379, 8983, and 12345, where the input interface is not `br-mailcow` and the output interface is `br-mailcow`.
osv:CVE-2024-24760
Complete source record
{
"id": "58373228a60815e6622c8d046ddab5044143d9493fa626a5d7b8aed0de7444b5",
"url": "https://osv.dev/vulnerability/CVE-2024-24760",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Mailcow Docker Container Exposure to Local Network",
"summary": "mailcow is a dockerized email package, with multiple containers linked in one bridged network. A security vulnerability has been identified in mailcow affecting versions < 2024-01c. This vulnerability potentially allows attackers on the same subnet to connect to exposed ports of a Docker container, even when the port is bound to 127.0.0.1. The vulnerability has been addressed by implementing additional iptables/nftables rules. These rules drop packets for Docker containers on ports 3306, 6379, 8983, and 12345, where the input interface is not `br-mailcow` and the output interface is `br-mailcow`.",
"evidence": "osv:CVE-2024-24760",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-24760",
"aliases": [
"CVE-2024-24760",
"GHSA-gmpj-5xcm-xxx6"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mailcow/mailcow-dockerized",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "8ae762a8c80ce0d12659e918257fe5dbf78118d7"
},
{
"fixed": "087481ac12bfa5dd715f3630f0b1697be94f7e88"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:mailcow:mailcow\\:_dockerized:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2024-01c"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "087481ac12bfa5dd715f3630f0b1697be94f7e88"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"2024-01d",
"2024-01c",
"2024-01b",
"2024-01a",
"2024-01",
"2023-12a",
"2023-12",
"2023-11a",
"2023-11",
"2023-10a",
"2023-10",
"2023-09",
"2023-08",
"2023-07a",
"2023-07",
"2023-05a",
"2023-05",
"2023-04b",
"2023-04a",
"2023-04",
"2023-03",
"2023-02a",
"2023-02",
"2023-01a",
"2023-01",
"2022-12b",
"2022-12a",
"2022-12",
"2022-11b",
"2022-11a",
"2022-11",
"2022-10a",
"2022-10",
"2022-09a",
"2022-09",
"2022-08b",
"2022-08a",
"2022-08",
"2022-07a",
"2022-07",
"2022-06b",
"2022-06a",
"2022-06",
"2022-05d",
"2022-05c",
"2022-05b",
"2022-05a",
"2022-05",
"2022-03a",
"2022-03",
"2022-01a",
"2022-01"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-24760.json"
}
}
],
"modified": "2026-10-28T02:30:28.861021868Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/24xxx/CVE-2024-24760.json",
"https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-gmpj-5xcm-xxx6",
"https://nvd.nist.gov/vuln/detail/CVE-2024-24760",
"https://github.com/mailcow/mailcow-dockerized/commit/087481ac12bfa5dd715f3630f0b1697be94f7e88"
],
"provider_metadata": {
"cwe_ids": [
"CWE-610"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/24xxx/CVE-2024-24760.json"
}
},
"related_cves": [
{
"value": "CVE-2024-24760",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 495644,
"published_at": "2024-02-02T15:28:22.086+00:00"
}