CVE-2026-85749 Details
Description
MailWatch for MailScanner is a web-based front-end to MailScanner. Prior to 1.2.27, any authenticated MailWatch user, including the U/user, D/domain-admin, and H/host roles, can release to inbox or permanently delete the quarantined mail of any other user or domain by supplying an arbitrary message `id` to `mailscanner/quarantine_action.php`. The action path calls `quarantine_list_items()` in `mailscanner/functions.php`, which selects from `maillog` by the supplied identifier without the per-role `global_filter` applied by listing and read views. The action requires a valid session and CSRF token, but the caller can submit a token from the caller's own session; ownership of the requested message is never checked. Message identifiers are enumerable, allowing a low-privilege user to invoke `quarantine_release()` or `quarantine_delete()` for other users' or domains' quarantined messages, force-delivering mail held by the quarantine or permanently deleting it. This issue is fixed in version 1.2.27.
A vulnerability in MailWatch for MailScanner prior to version 1.2.27 allows any authenticated user, regardless of role, to release or delete quarantined emails belonging to other users or domains. This is achieved by sending an arbitrary message ID to the 'quarantine_action.php' script. The vulnerability arises because the 'quarantine_list_items' function, which retrieves the quarantined messages, does not apply the necessary role-based filters to ensure that users can only manage their own messages. Instead, the function selects messages based on ID alone, without verifying ownership or applying tenant-specific filters. As a result, low-privilege users can exploit this oversight to manipulate the email quarantine of others, either by force-delivering held messages or permanently deleting them.
Users can upgrade to MailWatch version 1.2.27, which applies the necessary tenant scoping filters to the quarantine management functions, ensuring that users can only act on their own messages.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 28, 2026CISA-ADP
Assessed Oct 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/mailwatch/MailWatch/security/advisories/GHSA-w7v5-7g6w-87r4 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/mailwatch/MailWatch/commit/bc04f25eb0cec028cbd4ded9c049cfc6f663a15f | [email protected] | Source CodeVendor |
| https://github.com/mailwatch/MailWatch/releases/tag/v1.2.27 | [email protected] | Release NotesVendor |
| https://github.com/mailwatch/MailWatch/security/advisories/GHSA-w7v5-7g6w-87r4 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-566 | Authorization Bypass Through User-Controlled SQL Primary Key | [email protected] |
| CWE-639 | Authorization Bypass Through User-Controlled Key | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| MailWatch | <= 1.2.26 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 29, 2026 | CVE Modified | CISA-ADP |
| Oct 28, 2026 | New CVE Received | [email protected] |
Volerion