CVE-2026-85749
8.1 HIGHpublic exploit availablePublished 2026-10-28 · Updated 2026-10-29
AI risk analysis
- Summary
- Authenticated low-privilege users can bypass role-based access controls to release or delete any quarantined email by manipulating the message ID parameter, as ownership validation is missing in the quarantine action handler.
- Exploitability
- Exploitation requires a valid session and CSRF token (both obtainable from the attacker's own account), and message IDs are easily enumerable, making exploitation straightforward for authenticated users.
- Blast radius
- An attacker can force-deliver malicious emails to any recipient or permanently delete legitimate emails, disrupting email integrity and availability across users and domains.
- Detection
- Monitor `quarantine_action.php` access logs for requests where the `id` parameter does not correspond to messages associated with the authenticated user's role scope (e.g., U/user seeing only their own messages); log entries showing cross-role message IDs accessed by low-privilege accounts indicate potential exploitation.
- Prioritized remediation
- Upgrade to MailWatch for MailScanner version 1.2.27 or later, which includes the fix that enforces ownership validation for quarantine actions.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Weaknesses
CWE-566, CWE-639
Public exploit & PoC references
- https://github.com/mailwatch/MailWatch/commit/bc04f25eb0cec028cbd4ded9c049cfc6f663a15f
- https://github.com/mailwatch/MailWatch/releases/tag/v1.2.27
- https://github.com/mailwatch/MailWatch/security/advisories/GHSA-w7v5-7g6w-87r4
- https://github.com/mailwatch/MailWatch/security/advisories/GHSA-w7v5-7g6w-87r4
All references
- https://github.com/mailwatch/MailWatch/commit/bc04f25eb0cec028cbd4ded9c049cfc6f663a15f
- https://github.com/mailwatch/MailWatch/releases/tag/v1.2.27
- https://github.com/mailwatch/MailWatch/security/advisories/GHSA-w7v5-7g6w-87r4
- https://github.com/mailwatch/MailWatch/security/advisories/GHSA-w7v5-7g6w-87r4
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-61726PoC
- HIGHCVE-2026-86442
- CRITICALCVE-2026-102940PoC
- HIGHCVE-2026-103002PoC
- HIGHCVE-2026-109141
- CRITICALCVE-2026-117574
- HIGHCVE-2026-122308PoC
- CRITICALCVE-2026-126156
Related by shared AI tags and CWE weakness class. Browse the full archive.