Skip to main content

mailcow-dockerized CVE-2026-40874

| EUVDEUVD-2026-24256 MEDIUM
Improper Access Control (CWE-284)
2026-04-21 GitHub_M
6.0
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Obtain low-privilege mailcow credentials
  2. Delivery
    Enumerate valid Forwarding Host IDs via API
  3. Exploit
    Send unauthenticated-to-admin DELETE to /api/v1/delete/fwdhost
  4. Execution
    Server skips privilege check
  5. Persist
    Forwarding Host entries removed
  6. Impact
    Mail routing disrupted for affected domains

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

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

Exploitation Conditions

The attacker must hold a valid authenticated session in mailcow-dockerized with at minimum a low-privilege user account (PR:L); no administrator role is required. The target installation must be running mailcow-dockerized prior to version 2026-03b. The API endpoint /api/v1/delete/fwdhost must be network-reachable from the attacker (AV:N). CVSS AT:P indicates a specific attack requirement is present - the attacker must know or enumerate valid Forwarding Host identifiers to target. No non-default configuration is required; the vulnerable endpoint is part of the standard API surface in all pre-2026-03b deployments. Exploitation is strictly limited to authenticated users; unauthenticated exploitation is not possible given PR:L in the CVSS vector.

Impact

The CVSS 4.0 score of 6.0 (AV:N/AC:H/AT:P/PR:L/UI:N/VA:H) reflects moderate risk with meaningful limiting factors. PR:L confirms exploitation requires a valid authenticated session - unauthenticated attackers are excluded. AC:H and AT:P together suggest some complexity and a specific prerequisite (knowledge of valid Forwarding Host IDs to target). The sole impact is high availability disruption (VA:H); there is no confidentiality or integrity exposure. EPSS at 0.04% (12th percentile) indicates negligible observed exploitation in the wild. However, SSVC flags 'Exploitation: poc', meaning proof-of-concept code exists, which partially offsets the low EPSS signal. The vulnerability is not in CISA KEV, and SSVC marks it as non-automatable with partial technical impact, consistent with a targeted disruption attack rather than mass exploitation. Real-world priority should be elevated for mailcow deployments where untrusted or low-trust users hold authenticated accounts.

Exploit ScenarioDerived

An authenticated mailcow user with a standard (non-admin) account enumerates valid Forwarding Host IDs through the API or UI, then issues DELETE requests to /api/v1/delete/fwdhost for each target. The server processes the requests without verifying administrative privilege, removing the forwarding host entries and disrupting outbound mail routing for affected domains. POC code is noted by SSVC, meaning the mechanics of this attack are already documented.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 24, 2026

Missing authorization on the /api/v1/delete/fwdhost endpoint in mailcow-dockerized allows any low-privileged authenticated user to delete Forwarding Hosts, disrupting outbound mail routing and overall service availability. All versions prior to 2026-03b are affected; the flaw is rooted in inconsistent access control - add/edit operations are gated to administrators but the delete pathway is not. EPSS is low (0.04%) and the vulnerability is not in CISA KEV, though SSVC data indicates POC code exists, lowering the exploitation barrier for users with valid credentials.

RemediationAI

Upgrade to mailcow-dockerized version 2026-03b or later, which introduces proper administrator-level authorization checks on the /api/v1/delete/fwdhost endpoint. The fix is confirmed by the vendor in GitHub Security Advisory GHSA-jjxh-rm7p-hjc3 (https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-jjxh-rm7p-hjc3). As a compensating control prior to patching, restrict access to the mailcow API at the network or reverse-proxy layer so that only administrator-level sessions or trusted IP ranges can reach DELETE endpoints; note this may break legitimate integrations that rely on API access for non-admin users. Additionally, audit current mailcow user accounts to minimize the number of non-administrative authenticated users until the patch is applied.

Affected VersionsENISA

mailcow-dockerized < 2026-03b

Affected Packages

euvd mailcow_dockerized fix: 2026-03b

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

mailcow-dockerized (CPE: cpe:2.3:a:mailcow:mailcow-dockerized) is a Docker-composed open-source groupware and email suite exposing a REST API for administrative operations. The vulnerability is classified as CWE-284 (Improper Access Control): the /api/v1/delete/fwdhost API endpoint performs no privilege verification before executing deletion, despite the functionally equivalent add and edit endpoints enforcing admin-only access. Forwarding Hosts are configuration entries that control mail relay and routing; their unauthorized removal can halt or misdirect mail delivery. The Docker-based deployment model means the API surface is typically reachable across internal networks and, in internet-exposed deployments, externally.

Know when Mailcow gets its next vulnerability

  • 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 (GitHub_M) PRIMARY 6.0 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Network-reachable API requires only low-privilege authentication; deletion yields pure availability impact with no confidentiality or integrity exposure.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Patch released
Apr 22, 2026 - 21:02 nvd
Patch available
Patch available
Apr 21, 2026 - 21:02 EUVD
CVSS changed
Apr 21, 2026 - 20:22 NVD
6.0 (MEDIUM)
CVE Published
Apr 21, 2026 - 19:17 nvd
MEDIUM 6.0

DescriptionCVE.org

mailcow: dockerized is an open source groupware/email suite based on docker. In versions prior to 2026-03b, no administrator verification takes place when deleting Forwarding Hosts with /api/v1/delete/fwdhost. Any authenticated user can call this API. Checks are only applied for edit/add actions, but deletion can still significantly disrupt the mail service. Version 2026-03b fixes the vulnerability.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Prevalence
Medium
popular self-hosted Docker email suite with active community
Data Quality
6 sources
Confidence: High

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.0%
Patch available Yes
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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2017-8928 HIGH POC
8.8 May 14

mailcow 0.14, as used in "mailcow: dockerized" and other products, has CSRF. Rated high severity (CVSS 8.8), this vulner

CVE-2023-26490 HIGH POC
8.8 Mar 04

mailcow is a dockerized email package, with multiple containers linked in one bridged network. Rated high severity (CVSS

CVE-2022-31138 HIGH POC
8.8 Jul 11

mailcow is a mailserver suite. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, low attack co

CVE-2022-31245 HIGH POC
8.8 May 20

mailcow before 2022-05d allows a remote authenticated user to inject OS commands and escalate privileges to domain admin

CVE-2022-39258 HIGH POC
8.2 Sep 27

mailcow is a mailserver suite. Rated high severity (CVSS 8.2), this vulnerability is remotely exploitable, no authentica

CVE-2025-25198 HIGH POC
7.1 Feb 12

mailcow: dockerized is an open source groupware/email suite based on docker. Rated high severity (CVSS 7.1), this vulner

CVE-2024-30270 MEDIUM POC
6.2 Apr 04

mailcow: dockerized is an open source groupware/email suite based on docker. Rated medium severity (CVSS 6.2), this vuln

CVE-2024-31204 MEDIUM POC
6.1 Apr 04

mailcow: dockerized is an open source groupware/email suite based on docker. Rated medium severity (CVSS 6.1). Public ex

CVE-2026-125757 CRITICAL
9.4 Nov 10

Stored server-side template injection in mailcow: dockerized releases before 2026-11 lets an authenticated domain admini

CVE-2026-40872 CRITICAL
9.3 Apr 21

Stored cross-site scripting in mailcow dockerized versions before 2026-03b enables remote attackers to execute arbitrary

CVE-2026-40873 HIGH
8.9 Apr 21

Stored cross-site scripting (XSS) in mailcow: dockerized (versions prior to 2026-03b) allows remote unauthenticated atta

CVE-2023-34108 HIGH
8.8 Jun 07

mailcow is a mail server suite based on Dovecot, Postfix and other open source software, that provides a modern web UI f

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