CVE-2025-25198 mailcow: dockerized vulnerable to password reset poisoning
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.
Other vulnerabilities in mailcow-dockerized
- CVE-2025-53909 mailcow: dockerized vulnerable to SSTI in Quota and Quarantine Notification Template
- CVE-2024-24760 Mailcow Docker Container Exposure to Local Network
- CVE-2023-34108 Manipulation of Internal Dovecot Variables in mailcow via crafted Passwords
- CVE-2022-31138 OS Command Injection in mailcow
- CVE-2022-31245 Command injection in n/a
Sources
Also known as GHSA-3mvx-qw4r-fcqf.