CVE-2026-49217 Mailu missing authentication on PATCH /api/v1/token/<id>, which allows unauthenticated removal of IP restrictions
Unauthenticated attackers can remove IP restrictions from user tokens via the admin REST API, bypassing security controls.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-49217?
CVE-2026-49217 is a high-severity missing authorization vulnerability in Mailu, published on 20 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Mailu is a mail server as a set of Docker images. Prior to version 2024.06.52, a missing authorization check in the Mailu admin REST API allows any unauthenticated attacker to remove any potential IP restriction or update the comment field from any existing user token provided the REST API is enabled. Upgrade to Mailu 2024.06.52 to receive a patch or, as a workaround, turn the REST API off.
Weakness: CWE-306
Which versions are affected by CVE-2026-49217?
How do I fix CVE-2026-49217?
No fix has been published for CVE-2026-49217 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2026-49217 being exploited?
There is no known exploitation of CVE-2026-49217 in the wild and no public exploit code.
Sources
Also known as GHSA-2w8v-6xr5-g9gh.