CVE-2026-45788
JSON

6.3medium

Discourse: Secure uploads exposed by hotlinked image copying

Severity
6.3medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.46% (higher than 41% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
BIT-DISCOURSE-2026-45788GHSA-3876-w96v-8v38

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.

Affected

Product or packageVersionsReported by
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.0CVE List, NVD
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.1Bitnami Vulnerability Database

All scores

GitHub_M6.3medium CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Bitnami Vulnerability Databasehigh rating

Classification

CWE-200

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

https://github.com/discourse/discourse/security/advisories/GHSA-3876-w96v-8v38advisory, vendor-advisory
https://github.com/discourse/discourse/commit/5807c426880eadf248006e851604fc9284327ce5fix, patch
https://github.com/discourse/discourse/commit/8b4a959b251a856a9c911fb9f2ac34fbc31a7471fix, patch
https://github.com/discourse/discourse/commit/eff53af26367ae0dcb3a426954d233e8c7449f95fix, patch
https://github.com/discourse/discourse/commit/fa74e0dec7341a858ab83a1977fa52629bced1aafix, patch
https://github.com/discourse/discourse/releases/tag/v2026.1.5article, release-notes
https://github.com/discourse/discourse/releases/tag/v2026.4.2article, release-notes
https://github.com/discourse/discourse/releases/tag/v2026.5.1article, release-notes
https://github.com/discourse/discourse/releases/tag/v2026.6.0article, release-notes
https://nvd.nist.gov/vuln/detail/CVE-2026-45788web

Sources

SourceRecordLicence
CVE ListCVE-2026-45788 changed 2026-07-10CVE Terms of Use
NVDCVE-2026-45788 changed 2026-07-14Public domain
Bitnami Vulnerability DatabaseBIT-DISCOURSE-2026-45788 changed 2026-09-10Apache-2.0