Technical impact
MailWatch versions prior to 1.2.27 allow any authenticated user to release or permanently delete quarantined mail belonging to other users or domains by submitting an arbitrary message identifier. The vulnerability stems from an insecure direct object reference (CWE‑566) combined with an authorization bypass (CWE‑639) where ownership of the mail is never verified. As a result, attackers can expose sensitive email content, alter the integrity of the mail stream, or deny legitimate users access to quarantined messages.
Affected Systems
Affected product: MailWatch for MailScanner. All installations running any version older than 1.2.27, for all roles (including regular users, domain admins, and host admins), are susceptible. The flaw is specific to the quarantine_action.php endpoint and the accompanying queue handling functions.
Risk and Exploitability
The CVSS score of 8.1 rates this as a high‑severity flaw. The EPSS score is currently unavailable, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires a valid user session and a CSRF token, but the attacker can use their own session’s token. Message identifiers are enumerable, enabling low‑privilege users to enumerate and target arbitrary mail items. These factors combine to make the exploit reasonably straightforward for any authenticated user, elevating the potential for widespread data exposure or denial of quarantine controls.