{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2026.8.0"
              },
              {
                "introduced": "2026.7.0-latest"
              },
              {
                "fixed": "2026.7.2"
              },
              {
                "introduced": "2026.6.0-latest"
              },
              {
                "fixed": "2026.6.3"
              },
              {
                "introduced": "2026.1.0-latest"
              },
              {
                "fixed": "2026.1.8"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "introduced": "ded677e00beb0e9bae6e70b69582aecfb72b5477"
            },
            {
              "introduced": "06d03da34c4ed09ea59f917f045ba250d2b6320d"
            },
            {
              "introduced": "322d3c0ac6a8f133b3f82875e9dbbe310f638c1b"
            },
            {
              "fixed": "fb9247e04a826ab8e4d91168b3c4c839ec40bccc"
            },
            {
              "fixed": "3ab62a8397926ed934b667a5db06284c45b4c774"
            },
            {
              "fixed": "777cb880553b517bc9ae502e935a160332e48b78"
            },
            {
              "fixed": "e808d0853e013abf90e648e53ebd606c49ccb19f"
            },
            {
              "fixed": "113c34d433d564bc69642649d501251a7e820b52"
            },
            {
              "fixed": "20c48bef712ee3edd4f7af58ca1123cb0c16ef6f"
            },
            {
              "fixed": "a04cab107a9f57939456181c4b082d0a34ec39bd"
            },
            {
              "fixed": "cb3ca8420fcc7aba334effd011cf41943a336fa6"
            }
          ],
          "repo": "https://github.com/discourse/discourse",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-8hxh-573g-52gx"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-943"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/91xxx/CVE-2026-91133.json"
  },
  "details": "Discourse is an open-source discussion platform. Prior to 2026.1.8, 2026.6.3, 2026.7.2, and 2026.8.0, authenticated users could supply unescaped SQL LIKE metacharacters to upload-resolution patterns, causing wildcard input to select unrelated upload records instead of matching a literal identifier. The affected upload metadata, URL-lookup, and cooked-video-placeholder paths could resolve uploads the user was not authorized to access. This allowed disclosure of restricted metadata, including original filenames and secure-upload paths, without modifying the upload records. This issue is fixed in versions 2026.1.8, 2026.6.3, 2026.7.2, and 2026.8.0.",
  "id": "CVE-2026-91133",
  "modified": "2026-09-26T03:30:14.368389039Z",
  "published": "2026-09-24T16:53:00.147Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/91xxx/CVE-2026-91133.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/discourse/discourse/security/advisories/GHSA-8hxh-573g-52gx"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-91133"
    },
    {
      "type": "FIX",
      "url": "https://github.com/discourse/discourse/commit/113c34d433d564bc69642649d501251a7e820b52"
    },
    {
      "type": "FIX",
      "url": "https://github.com/discourse/discourse/commit/20c48bef712ee3edd4f7af58ca1123cb0c16ef6f"
    },
    {
      "type": "FIX",
      "url": "https://github.com/discourse/discourse/commit/a04cab107a9f57939456181c4b082d0a34ec39bd"
    },
    {
      "type": "FIX",
      "url": "https://github.com/discourse/discourse/commit/cb3ca8420fcc7aba334effd011cf41943a336fa6"
    },
    {
      "type": "FIX",
      "url": "https://github.com/discourse/discourse/pull/42882"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Discourse: Escape LIKE metacharacters in upload paths to prevent disclosure"
}