CVE-2026-91133Discourse: Escape LIKE metacharacters in upload paths to prevent disclosure
Updated under an hour ago ()
Does this affect you?
It affects discourse. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 6.5 MEDIUM (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Weakness (CWE)
- CWE-943
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- GitHub_M
- NVD analysis
- Deferred
- Record last updated
- Sep 24, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
discourse discourse discourse:discourse (from the name) | before 2026.8.0; from 2026.7.0-latest, < 2026.7.2; from 2026.6.0-latest, < 2026.6.3; from 2026.1.0-latest, < 2026.1.8 | CNA record |
References
- https://github.com/discourse/discourse/security/advisories/GHSA-8hxh-573g-52gxx-refsource-confirm
- https://github.com/discourse/discourse/pull/42882x-refsource-misc
- https://github.com/discourse/discourse/commit/113c34d433d564bc69642649d501251a7e820b52x-refsource-misc
- https://github.com/discourse/discourse/commit/20c48bef712ee3edd4f7af58ca1123cb0c16ef6fx-refsource-misc
- https://github.com/discourse/discourse/commit/a04cab107a9f57939456181c4b082d0a34ec39bdx-refsource-misc
- https://github.com/discourse/discourse/commit/cb3ca8420fcc7aba334effd011cf41943a336fa6x-refsource-misc
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.