# CVE-2026-45788: Discourse: Secure uploads exposed by hotlinked image copying

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2026-07-09T21:59:27.495Z
- Modified: 2026-09-10T16:00:58.757Z
- Also known as: BIT-DISCOURSE-2026-45788, GHSA-3876-w96v-8v38
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- discourse discourse: >= 2026.1.0-latest, < 2026.1.5; >= 2026.4.0-latest, < 2026.4.2; >= 2026.5.0-latest, < 2026.5.1; from 2026.1.0 before 2026.1.5; from 2026.4.0 before 2026.4.2; from 2026.5.0 before 2026.5.1; 2026.6.0
- discourse (Bitnami): from 2026.1.0 before 2026.1.5; from 2026.4.0 before 2026.4.2; from 2026.5.0 before 2026.5.1

## Every score

- GitHub_M: CVSS: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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/discourse/discourse/security/advisories/GHSA-3876-w96v-8v38> (advisory, vendor-advisory)
- <https://github.com/discourse/discourse/commit/5807c426880eadf248006e851604fc9284327ce5> (fix, patch)
- <https://github.com/discourse/discourse/commit/8b4a959b251a856a9c911fb9f2ac34fbc31a7471> (fix, patch)
- <https://github.com/discourse/discourse/commit/eff53af26367ae0dcb3a426954d233e8c7449f95> (fix, patch)
- <https://github.com/discourse/discourse/commit/fa74e0dec7341a858ab83a1977fa52629bced1aa> (fix, patch)
- <https://github.com/discourse/discourse/releases/tag/v2026.1.5> (article, release-notes)
- <https://github.com/discourse/discourse/releases/tag/v2026.4.2> (article, release-notes)
- <https://github.com/discourse/discourse/releases/tag/v2026.5.1> (article, release-notes)
- <https://github.com/discourse/discourse/releases/tag/v2026.6.0> (article, release-notes)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-45788> (web)

## Sources

- CVE List: [CVE-2026-45788](https://www.cve.org/CVERecord?id=CVE-2026-45788), CVE Terms of Use, modified 2026-07-10
- NVD: [CVE-2026-45788](https://nvd.nist.gov/vuln/detail/CVE-2026-45788), Public domain, modified 2026-07-14
- Bitnami Vulnerability Database: [BIT-DISCOURSE-2026-45788](https://osv.dev/vulnerability/BIT-DISCOURSE-2026-45788), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-45788 · Whole record: https://cve.day/CVE-2026-45788.json · Rebuilt by cve.day 2026-11-25T22:59:27.560Z
