SQL injection in Discourse - CVE-2026-91133

 

SQL injection in Discourse - CVE-2026-91133

Published: October 28, 2026


Vulnerability identifier: #VU158248
CSH Severity: Low
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-91133
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to disclose restricted upload metadata, including original filenames and secure-upload paths.

The vulnerability exists due to improper escaping of SQL LIKE metacharacters in Discourse upload-resolution lookups when processing user-supplied upload identifiers. A remote user can supply identifiers containing wildcard characters to match unrelated upload records and disclose metadata for uploads they cannot access through the metadata, URL-lookup, and cooked-video-placeholder paths.


Affected software

Discourse

How to mitigate CVE-2026-91133

Install security update from vendor's website.

Discourse - addressed in versions 2026.1.8, 2026.6.3, 2026.7.2, 2026.8.0

External References

Related Security Bulletins