{"id":"CVE-2026-91133","summary":"Discourse: Escape LIKE metacharacters in upload paths to prevent disclosure","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.","aliases":["GHSA-8hxh-573g-52gx"],"modified":"2026-09-26T03:48:38.722092496Z","published":"2026-09-24T16:53:00.147Z","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"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/discourse/discourse","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"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"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"}]}}],"versions":["v2026.1.7","v2026.7.1","v2026.6.2","v2026.8.0-latest.1","v2026.1.6","v2026.7.0","v2026.6.1","v2026.8.0-latest","_gh-attach-assets","v2026.1.5","v2026.6.0","v2026.7.0-latest","v2026.6.0-latest","v2026.1.4","v2026.1.3","v2026.1.2","v2026.1.1","v2026.1.0","stable","esr","v2026.1.0-latest"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-91133.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}