CVE-2026-45788
Discourse: Secure uploads exposed by hotlinked image copying
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.
INFO
Published Date :
July 9, 2026, 10:17 p.m.
Last Modified :
July 14, 2026, 8:41 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 4.0 | MEDIUM | [email protected] |
Solution
- Update Discourse to version 2026.6.0 or later.
- Ensure secure_uploads site setting is configured properly.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-45788.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-45788 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-45788
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-45788 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-45788 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jul. 14, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Added CPE Configuration OR *cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:* versions from (including) 2026.1.0 up to (excluding) 2026.1.5 *cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:* versions from (including) 2026.4.0 up to (excluding) 2026.4.2 *cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:* versions from (including) 2026.5.0 up to (excluding) 2026.5.1 *cpe:2.3:a:discourse:discourse:2026.6.0:*:*:*:latest:*:*:* Added Reference Type GitHub, Inc.: https://github.com/discourse/discourse/commit/5807c426880eadf248006e851604fc9284327ce5 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/discourse/discourse/commit/8b4a959b251a856a9c911fb9f2ac34fbc31a7471 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/discourse/discourse/commit/eff53af26367ae0dcb3a426954d233e8c7449f95 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/discourse/discourse/commit/fa74e0dec7341a858ab83a1977fa52629bced1aa Types: Patch Added Reference Type GitHub, Inc.: https://github.com/discourse/discourse/releases/tag/v2026.1.5 Types: Release Notes Added Reference Type GitHub, Inc.: https://github.com/discourse/discourse/releases/tag/v2026.4.2 Types: Release Notes Added Reference Type GitHub, Inc.: https://github.com/discourse/discourse/releases/tag/v2026.5.1 Types: Release Notes Added Reference Type GitHub, Inc.: https://github.com/discourse/discourse/releases/tag/v2026.6.0 Types: Release Notes Added Reference Type GitHub, Inc.: https://github.com/discourse/discourse/security/advisories/GHSA-3876-w96v-8v38 Types: Vendor Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jul. 10, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-45788', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-07-10T14:39:07.478798Z'} -
New CVE Received by [email protected]
Jul. 09, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'discourse', 'product': 'discourse', 'versions': [{'status': 'affected', 'version': '>= 2026.1.0-latest, < 2026.1.5'}, {'status': 'affected', 'version': '>= 2026.4.0-latest, < 2026.4.2'}, {'status': 'affected', 'version': '>= 2026.5.0-latest, < 2026.5.1'}]}] 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. Added CVSS V4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CWE CWE-200 Added Reference https://github.com/discourse/discourse/commit/5807c426880eadf248006e851604fc9284327ce5 Added Reference https://github.com/discourse/discourse/commit/8b4a959b251a856a9c911fb9f2ac34fbc31a7471 Added Reference https://github.com/discourse/discourse/commit/eff53af26367ae0dcb3a426954d233e8c7449f95 Added Reference https://github.com/discourse/discourse/commit/fa74e0dec7341a858ab83a1977fa52629bced1aa Added Reference https://github.com/discourse/discourse/releases/tag/v2026.1.5 Added Reference https://github.com/discourse/discourse/releases/tag/v2026.4.2 Added Reference https://github.com/discourse/discourse/releases/tag/v2026.5.1 Added Reference https://github.com/discourse/discourse/releases/tag/v2026.6.0 Added Reference https://github.com/discourse/discourse/security/advisories/GHSA-3876-w96v-8v38