{"id":"CVE-2026-85749","state":"PUBLISHED","title":"MailWatch: IDOR lets any authenticated user release or delete another tenant's quarantined mail","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.","publishedAt":"2026-10-28T22:37:38.513Z","updatedAt":"2026-10-29T14:46:47.666Z","severity":{"score":8.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["mailwatch MailWatch"],"affected":[{"vendor":"mailwatch","product":"MailWatch","versions":[{"version":"< 1.2.27","status":"affected"}]}],"references":["https://github.com/mailwatch/MailWatch/security/advisories/GHSA-w7v5-7g6w-87r4","https://github.com/mailwatch/MailWatch/commit/bc04f25eb0cec028cbd4ded9c049cfc6f663a15f","https://github.com/mailwatch/MailWatch/releases/tag/v1.2.27"],"weaknesses":["CWE-566","CWE-639"],"ingestedAt":"2026-10-29T20:13:15.269Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/85xxx/CVE-2026-85749.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-85749","state":"PUBLISHED","datePublished":"2026-10-28T22:37:38.513Z","dateUpdated":"2026-10-29T14:46:47.666Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-09-04T14:50:16.720Z"},"containers":{"cna":{"title":"MailWatch: IDOR lets any authenticated user release or delete another tenant's quarantined mail","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"mailwatch","product":"MailWatch","versions":[{"version":"< 1.2.27","status":"affected"}]}],"references":[{"url":"https://github.com/mailwatch/MailWatch/security/advisories/GHSA-w7v5-7g6w-87r4","name":"https://github.com/mailwatch/MailWatch/security/advisories/GHSA-w7v5-7g6w-87r4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mailwatch/MailWatch/commit/bc04f25eb0cec028cbd4ded9c049cfc6f663a15f","name":"https://github.com/mailwatch/MailWatch/commit/bc04f25eb0cec028cbd4ded9c049cfc6f663a15f","tags":["x_refsource_MISC"]},{"url":"https://github.com/mailwatch/MailWatch/releases/tag/v1.2.27","name":"https://github.com/mailwatch/MailWatch/releases/tag/v1.2.27","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-566","lang":"en","description":"CWE-566: Authorization Bypass Through User-Controlled SQL Primary Key","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-639","lang":"en","description":"CWE-639: Authorization Bypass Through User-Controlled Key","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-28T22:37:38.513Z"},"source":{"advisory":"GHSA-w7v5-7g6w-87r4","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/mailwatch/MailWatch/security/advisories/GHSA-w7v5-7g6w-87r4","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-29T14:46:02.708558Z","id":"CVE-2026-85749","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-29T14:46:47.666Z"}}]}}}