{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:freescout:freescout:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.8.213"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "acf57a7a4b19544641523c6f7e51b1035c03c9b6"
            },
            {
              "fixed": "dbdf8f2260b43a21818255c70f0b61b9de9cd555"
            }
          ],
          "repo": "https://github.com/freescout-help-desk/freescout",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-2783-wxmm-wmwr"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-330",
      "CWE-340"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40496.json"
  },
  "details": "FreeScout is a free self-hosted help desk and shared mailbox. Prior to version 1.8.213, attachment download tokens are generated using a weak and predictable formula: `md5(APP_KEY + attachment_id + size)`. Since attachment_id is sequential and size can be brute-forced in a small range, an unauthenticated attacker can forge valid tokens and download any private attachment without credentials. Version 1.8.213 fixes the issue.",
  "id": "CVE-2026-40496",
  "modified": "2026-07-15T01:48:57.069540628Z",
  "published": "2026-04-21T01:38:50.117Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/freescout-help-desk/freescout/releases/tag/1.8.213"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40496.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/freescout-help-desk/freescout/security/advisories/GHSA-2783-wxmm-wmwr"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40496"
    },
    {
      "type": "FIX",
      "url": "https://github.com/freescout-help-desk/freescout/commit/dbdf8f2260b43a21818255c70f0b61b9de9cd555"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:P",
      "type": "CVSS_V4"
    }
  ],
  "summary": "FreeScout has Predictable Attachment Token that Allows Unauthenticated Private File Download via Brute Force"
}