Description
Discourse is an open-source discussion platform. Prior to 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5, secure uploads could be exposed by pull_hotlinked_images when an attacker knew the secured upload URL and the secure_uploads site setting was enabled. This issue is fixed in versions 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5.
Published: 2026-07-09
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Discourse permits secure uploads to be unintentionally exposed when the pull_hotlinked_images feature is used while the secure_uploads setting is enabled. If an attacker knows a secured upload URL, hotlinked image copying can retrieve the file and view its contents, leading to confidentiality loss and satisfying the CWE‑200 information‑exposure weakness.

Affected Systems

Discourse is vulnerable in releases prior to 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5. All earlier Discourse versions using the secure_uploads feature and pull_hotlinked_images can expose guarded uploads.

Risk and Exploitability

The CVSS base score evaluates the vulnerability at 6.3, indicating medium severity. The EPSS score of <1% shows a very low exploitation probability. The vulnerability is not listed in the CISA KEV catalog. Exploitation likely requires standard web access, suggesting a moderate likelihood of attack for environments with exposed Discourse instances.

Generated by OpenCVE AI on July 26, 2026 at 14:33 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Discourse to release 2026.6.0 or later, which removes the hotlinked image copying flaw.
  • Verify that the secure_uploads site setting remains enabled after the upgrade to maintain upload protection.
  • If immediate upgrading is not possible, block the pull_hotlinked_images API call or server hotlinking through configuration changes to prevent unintended exposure of secure uploads.

Generated by OpenCVE AI on July 26, 2026 at 14:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 10 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 09 Jul 2026 23:45:00 +0000

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

Thu, 09 Jul 2026 22:15:00 +0000

Type Values Removed Values Added
Description Discourse is an open-source discussion platform. Prior to 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5, secure uploads could be exposed by pull_hotlinked_images when an attacker knew the secured upload URL and the secure_uploads site setting was enabled. This issue is fixed in versions 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5.
Title Discourse: Secure uploads exposed by hotlinked image copying
Weaknesses CWE-200
References
Metrics cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Discourse Discourse
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-10T14:39:14.267Z

Reserved: 2026-05-13T08:19:32.602Z

Link: CVE-2026-45788

cve-icon Vulnrichment

Updated: 2026-07-10T14:39:09.610Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T14:45:06Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor