{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "1.2.27"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "bc04f25eb0cec028cbd4ded9c049cfc6f663a15f"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v1.2.27",
                "range": [
                  {
                    "fixed": "48771e9ad27c720e5c7895ba798024e1274f1278"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "48771e9ad27c720e5c7895ba798024e1274f1278"
            },
            {
              "fixed": "bc04f25eb0cec028cbd4ded9c049cfc6f663a15f"
            }
          ],
          "repo": "https://github.com/mailwatch/mailwatch",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-w7v5-7g6w-87r4"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-566",
      "CWE-639"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85749.json"
  },
  "details": "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.",
  "id": "CVE-2026-85749",
  "modified": "2026-10-31T02:31:04.676524702Z",
  "published": "2026-10-28T22:37:38.513Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/mailwatch/MailWatch/releases/tag/v1.2.27"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85749.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/mailwatch/MailWatch/security/advisories/GHSA-w7v5-7g6w-87r4"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-85749"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mailwatch/MailWatch/commit/bc04f25eb0cec028cbd4ded9c049cfc6f663a15f"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "MailWatch: IDOR lets any authenticated user release or delete another tenant's quarantined mail"
}