Security Resilience

CVE-2025-25198

Open Redirect in Mailcow\ _dockerized

Published
12 February 2025
Modified
01 October 2025
Patch / advisory
CVSS Score v3.1 7.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N
EPSS Score 0.014 73th percentile
Risk Priority 61 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-25198 is a high-severity Open Redirect (CWE-601) vulnerability in Mailcow\. Its CVSS base score is 7.1 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Input Capture (T1056); ranked in the top 27% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) and AC-4 (Information Flow Enforcement) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

mailcow: dockerized, an open source groupware and email suite, is affected by an open redirect vulnerability in its password reset functionality prior to version 2025-01a. The flaw allows manipulation of the Host HTTP header during reset requests, causing the generated link to point to an arbitrary domain instead of the legitimate mailcow instance. The issue is tracked as CWE-601 with a CVSS 3.1 score of 7.1.

An unauthenticated attacker can supply a crafted Host header to produce a poisoned password reset email. If a legitimate user follows the link, the attacker can capture the reset token and complete account takeover. The attack requires user interaction but no other privileges on the target system.

The GitHub Security Advisory for GHSA-3mvx-qw4r-fcqf states that version 2025-01a contains the fix. As a workaround, administrators can disable the password reset feature entirely by clearing the Notification email sender and Notification email subject fields under System -> Configuration -> Options -> Password Settings.

EPSS remains low, with a current score of 0.0581 and a peak of 0.0584.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

mailcow: dockerized is an open source groupware/email suite based on docker. Prior to version 2025-01a, a vulnerability in mailcow's password reset functionality allows an attacker to manipulate the `Host HTTP` header to generate a password reset link pointing to an…

more

attacker-controlled domain. This can lead to account takeover if a user clicks the poisoned link. Version 2025-01a contains a patch. As a workaround, deactivate the password reset functionality by clearing `Notification email sender` and `Notification email subject` under System -> Configuration -> Options -> Password Settings.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1056 Input Capture Collection
Adversaries may use methods of capturing user input to obtain credentials or collect information.
T1189 Drive-by Compromise Initial Access
Adversaries may gain access to a system through a user visiting a website over the normal course of browsing.
T1204.001 Malicious Link Execution
An adversary may rely upon a user clicking a malicious link in order to gain execution.
T1534 Internal Spearphishing Lateral Movement
After they already have access to accounts or systems within the environment, adversaries may use internal spearphishing to gain access to additional information or compromise other users within the same organization.
T1566 Phishing Initial Access
Adversaries may send phishing messages to gain access to victim systems.
T1566.002 Spearphishing Link Initial Access
Adversaries may send spearphishing emails with a malicious link in an attempt to gain access to victim systems.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-41960Same product: Mailcow Mailcow\
CVE-2024-41959Same product: Mailcow Mailcow\
CVE-2024-31204Same product: Mailcow Mailcow\
CVE-2023-49077Same product: Mailcow Mailcow\
CVE-2024-30270Same product: Mailcow Mailcow\
CVE-2024-24760Same product: Mailcow Mailcow\
CVE-2024-41958Same product: Mailcow Mailcow\
CVE-2023-26490Same product: Mailcow Mailcow\
CVE-2025-53909Same product: Mailcow Mailcow\
CVE-2023-34108Same product: Mailcow Mailcow\

Affected Assets

mailcow
mailcow\
_dockerized

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V3.7.2

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Input validation directly checks and rejects untrusted redirect targets before they are used in a response.

Information flow enforcement can restrict redirects to only approved/trusted destinations, stopping untrusted user-supplied URLs from being followed.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require input validation and untrusted-redirect controls that prevent CWE-601.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

A.8.29's programme (SAST, code review, vulnerability scanning, penetration testing) reaches open redirects through both SOURCE and RUNTIME: SAST flags redirect calls fed by user input, code review catches unvalidated URL parameters, and pen testing observes the redirect by following crafted URLs. The remainder is bounded and nameable -- conditional or chained redirects, redirects in third-party components not covered by the test plan, and cases where the malicious URL is constructed through non-obvious paths that a single test cycle misses.

prevents

A.8.28 mandates secure coding practices (peer review, secure coding standards, training, threat modelling, SAST) that address input validation and redirect handling, so a system under it sees fewer open redirect instances; the practice is fallible and the clause mandates a practice rather than a mechanism, leaving a nameable remainder of instances that slip through, consistent with the A.8.28 -> CWE-502 and A.8.28 -> CWE-79 anchors.

finds

A.8.8's reach is DISCLOSURE — it identifies vulnerabilities through vendor advisories, vulnerability scanning, and tracking third-party libraries. CWE-601 (Open Redirect) does surface as CVEs (CVE-2005-4206, CVE-2008-2951, CVE-2008-2052, CVE-2020-11053), so the disclosed share exists, but open redirects are predominantly a first-party web application code defect, and A.8.8's scanning reaches only the third-party components in its inventory where a published advisory exists — the same logic that graded A.8.8 finds CWE-89 = partial.

References