Impact
Missing authentication on the PATCH /api/v1/token/<id> endpoint allows an unauthenticated attacker to remove any IP restrictions or modify the comment field of existing user tokens in Mailu, a Docker‑based mail server. This is an access‑control weakness (CWE‑306) that can lead to loss of network‑level restrictions, potentially enabling broader internal access or service disruption.
Affected Systems
The affected product is Mailu. Versions earlier than 2024.06.52 are vulnerable; the REST API must be enabled for the issue to be exploitable.
Risk and Exploitability
The CVSS score is 7.5, indicating high severity. The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog. Because the REST API is reachable over the network and no authentication is required, the likelihood of exploitation is moderate to high for exposed deployments. The flaw is most likely to be triggered by a network attacker who can issue the PATCH request, making it a classic unauthenticated access‑control bypass.
OpenCVE Enrichment