CVE-2026-45788 Discourse: Secure uploads exposed by hotlinked image copying
MediumCVSS 6.3
EPSS 0.63%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| discourse | = 2026.6.0; = >= 2026.1.0-latest, < 2026.1.5; = >= 2026.4.0-latest, < 2026.4.2; = >= 2026.5.0-latest, < 2026.5.1 +3 more | 2026.1.5, 2026.4.2, 2026.5.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| discourse | = >= 2026.1.0-latest, < 2026.1.5 | No fix listed |
| discourse | = >= 2026.4.0-latest, < 2026.4.2 | No fix listed |
| discourse | = >= 2026.5.0-latest, < 2026.5.1 | No fix listed |
| discourse | >= 2026.1.0, < 2026.1.5 | 2026.1.5 |
| discourse | >= 2026.4.0, < 2026.4.2 | 2026.4.2 |
| discourse | >= 2026.5.0, < 2026.5.1 | 2026.5.1 |
| discourse | = 2026.6.0 | No fix listed |
References
- https://github.com/discourse/discourse/security/advisories/GHSA-3876-w96v-8v38 vendor-advisory
- https://github.com/discourse/discourse/commit/5807c426880eadf248006e851604fc9284327ce5 patch
- https://github.com/discourse/discourse/commit/8b4a959b251a856a9c911fb9f2ac34fbc31a7471 patch
- https://github.com/discourse/discourse/commit/eff53af26367ae0dcb3a426954d233e8c7449f95 patch
- https://github.com/discourse/discourse/commit/fa74e0dec7341a858ab83a1977fa52629bced1aa patch
- https://github.com/discourse/discourse/releases/tag/v2026.1.5 release-notes
- https://github.com/discourse/discourse/releases/tag/v2026.4.2 release-notes
- https://github.com/discourse/discourse/releases/tag/v2026.5.1 release-notes
- https://github.com/discourse/discourse/releases/tag/v2026.6.0 release-notes