Description
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.
Published: 2026-09-24
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Information Disclosure
Action: Immediate Patch
AI Analysis

Impact

This vulnerability arises from the failure to escape SQL LIKE metacharacters in upload resolution patterns. An attacker who is authenticated can provide characters such as % and _ so that the database pattern matching expands beyond the intended record. As a result, the system can return data about uploads that the user is not authorized to see, exposing original filenames and secure upload URLs.

Affected Systems

The affected platform is Discourse, the open‑source discussion forum software. Versions earlier than 2026.1.8, 2026.6.3, 2026.7.2, and 2026.8.0 are vulnerable. All earlier releases that use the same upload path resolution logic are at risk.

Risk and Exploitability

The CVSS score of 6.5 marks the vulnerability as medium severity. No EPSS score is currently available, and the issue is not listed in CISA's KEV catalog, suggesting no documented real‑world exploitation for now. Attackers need valid authentication to trigger the bypass, so the vulnerability is mitigated by the existing login process, but once authenticated they can read sensitive upload metadata. The exploit requires only normal user privileges and typical HTTP requests to the upload API, making it relatively straightforward for any logged‑in user to take advantage if no patch is applied.

Generated by OpenCVE AI on September 25, 2026 at 06:20 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Discourse to version 2026.1.8, 2026.6.3, 2026.7.2, 2026.8.0 or later.
  • If an immediate upgrade is not feasible, restrict access to the upload‑metadata and upload‑resolution endpoints so that only users with explicit permissions can query them.
  • Review the application’s input handling for the upload API and apply temporary sanitization that escapes LIKE metacharacters to prevent unintended wildcard expansion until the official patch is deployed.

Generated by OpenCVE AI on September 25, 2026 at 06:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 24 Sep 2026 19:30:00 +0000

Type Values Removed Values Added
First Time appeared Discourse
Discourse discourse
Vendors & Products Discourse
Discourse discourse

Thu, 24 Sep 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 24 Sep 2026 17:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Discourse: Escape LIKE metacharacters in upload paths to prevent disclosure
Weaknesses CWE-943
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}


Subscriptions

Discourse Discourse
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-24T17:12:50.099Z

Reserved: 2026-09-14T19:36:48.844Z

Link: CVE-2026-91133

cve-icon Vulnrichment

Updated: 2026-09-24T17:12:45.650Z

cve-icon NVD

Status : Deferred

Published: 2026-09-24T17:17:08.893

Modified: 2026-09-24T18:19:07.003

Link: CVE-2026-91133

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-25T06:30:06Z

Weaknesses
  • CWE-943

    Improper Neutralization of Special Elements in Data Query Logic