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 allows users to upload files to secure URLs, intended to be private. An attacker who can guess or obtain a secured upload path can trigger the pull_hotlinked_images function while secure_uploads is enabled, which copies the image from the remote site. Because the upload is secure, the copied image is returned with the same privacy controls, enabling the attacker to download the original file. This results in unintentional exposure of confidential data, corresponding to the CWE‑200 information‑exposure weakness.

Affected Systems

The flaw exists in all Discourse releases before 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5 that use the secure_uploads feature in conjunction with the pull_hotlinked_images API. The affected product is the Discourse discussion platform provided by the Discourse team. Versions 2026.6.0 and newer contain the fix.

Risk and Exploitability

The vulnerability is rated at CVSS 6.3, indicating medium severity. The EPSS score of <1% reflects a very low probability of exploitation in the wild. It is not listed in the CISA KEV catalog. Exploitation requires web access to the Discourse instance and knowledge of a secured upload URL; this condition is inferred from the description but not directly confirmed in the CVE data. Because the flaw relies on a specific user action, the likelihood of widespread use is considered low.

Generated by OpenCVE AI on July 31, 2026 at 13:17 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 31, 2026 at 13:17 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

Status : Analyzed

Published: 2026-07-09T22:17:04.933

Modified: 2026-07-14T20:41:53.070

Link: CVE-2026-45788

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T13:30:17Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor