CVE-2026-45788
Discourse: Secure uploads exposed by hotlinked image copying
- State
- Published
- Severity
- 6.3 Medium
- Published
- Jul 9, 2026
- Updated
- Jul 10, 2026
- Reserved
- May 13, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.3 Medium | 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 | GitHub_M |
Weaknesses
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
Affected Products
| Product | Versions |
|---|---|
discoursediscourse |
|
References
- https://github.com/discourse/discourse/security/advisories/GHSA-3876-w96v-8v38
- https://github.com/discourse/discourse/commit/5807c426880eadf248006e851604fc9284327ce5
- https://github.com/discourse/discourse/commit/8b4a959b251a856a9c911fb9f2ac34fbc31a7471
- https://github.com/discourse/discourse/commit/eff53af26367ae0dcb3a426954d233e8c7449f95
- https://github.com/discourse/discourse/commit/fa74e0dec7341a858ab83a1977fa52629bced1aa
- https://github.com/discourse/discourse/releases/tag/v2026.1.5
- https://github.com/discourse/discourse/releases/tag/v2026.4.2
- https://github.com/discourse/discourse/releases/tag/v2026.5.1
- https://github.com/discourse/discourse/releases/tag/v2026.6.0
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.