{"id":"CVE-2026-45788","summary":"Discourse: Secure uploads exposed by hotlinked image copying","details":"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.","aliases":["BIT-discourse-2026-45788","GHSA-3876-w96v-8v38"],"modified":"2026-07-16T03:48:35.037195842Z","published":"2026-07-09T21:59:27.495Z","database_specific":{"cwe_ids":["CWE-200"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45788.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/discourse/discourse/releases/tag/v2026.1.5"},{"type":"WEB","url":"https://github.com/discourse/discourse/releases/tag/v2026.4.2"},{"type":"WEB","url":"https://github.com/discourse/discourse/releases/tag/v2026.5.1"},{"type":"WEB","url":"https://github.com/discourse/discourse/releases/tag/v2026.6.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45788.json"},{"type":"ADVISORY","url":"https://github.com/discourse/discourse/security/advisories/GHSA-3876-w96v-8v38"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45788"},{"type":"FIX","url":"https://github.com/discourse/discourse/commit/5807c426880eadf248006e851604fc9284327ce5"},{"type":"FIX","url":"https://github.com/discourse/discourse/commit/8b4a959b251a856a9c911fb9f2ac34fbc31a7471"},{"type":"FIX","url":"https://github.com/discourse/discourse/commit/eff53af26367ae0dcb3a426954d233e8c7449f95"},{"type":"FIX","url":"https://github.com/discourse/discourse/commit/fa74e0dec7341a858ab83a1977fa52629bced1aa"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/discourse/discourse","events":[{"introduced":"322d3c0ac6a8f133b3f82875e9dbbe310f638c1b"},{"fixed":"c06899647d758493d95a5b301e573ffa3db1e878"},{"introduced":"fdd750d960e603415db62242eca3c30d68e366db"},{"fixed":"4bbdddfc6700ca23604242111d4fa0e00347af97"},{"introduced":"640840d818f4ee9375829ece0ef452923bb0c012"},{"fixed":"598586ccf2e046a25d4b54132e4e1feb47f24e98"},{"introduced":"06d03da34c4ed09ea59f917f045ba250d2b6320d"},{"fixed":"5807c426880eadf248006e851604fc9284327ce5"},{"fixed":"8b4a959b251a856a9c911fb9f2ac34fbc31a7471"},{"fixed":"eff53af26367ae0dcb3a426954d233e8c7449f95"},{"fixed":"fa74e0dec7341a858ab83a1977fa52629bced1aa"},{"fixed":"06d03da34c4ed09ea59f917f045ba250d2b6320d"}],"database_specific":{"cpe":["cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*","cpe:2.3:a:discourse:discourse:2026.6.0:*:*:*:latest:*:*:*"],"extracted_events":[{"introduced":"2026.1.0"},{"fixed":"2026.1.5"},{"introduced":"2026.4.0"},{"fixed":"2026.4.2"},{"introduced":"2026.5.0"},{"fixed":"2026.5.1"},{"introduced":"2026.6.0"},{"last_affected":"2026.6.0"}],"source":["CPE_RANGE","CPE_STRING","REFERENCES"]}}],"versions":["2026.6.0","v2026.5.0","v2026.6.0-latest","v2026.1.4","v2026.4.1","v2026.5.0-latest.1","v2026.4.0","v2026.5.0-latest","v2026.1.3","v2026.4.0-latest","v2026.1.2","v2026.1.1","v2026.1.0","stable","esr","v2026.1.0-latest"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45788.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}