CVE-2025-25198 mailcow: dockerized vulnerable to password reset poisoning

High 7.1 Published Updated

Attackers can poison password reset links via Host header manipulation, leading to account takeover if users click the malicious link.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-25198?

CVE-2025-25198 is a high-severity vulnerability in mailcow-dockerized, published on 12 Feb 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

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 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.

Weakness: CWE-601

Which versions are affected by CVE-2025-25198?

It affects 1 product.

Products include Mailcow Mailcow\.

How do I fix CVE-2025-25198?

No fix has been published for CVE-2025-25198 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-25198 being exploited?

There is no known exploitation of CVE-2025-25198 in the wild and no public exploit code.

Public exploit code: 1 Exploit-DB entry and 2 proofs of concept on GitHub.

Sources

Also known as GHSA-3mvx-qw4r-fcqf.

Is CVE-2025-25198 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free