# CVE-2024-53991: Potential Backup file leaked via Nginx in Discourse

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A: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): 29.9%, higher than 98% of CVEs (2026-12-01)
- Published: 2024-12-19T19:11:20.590Z
- Modified: 2026-09-10T16:01:30.770Z
- Also known as: BIT-DISCOURSE-2024-53991, GHSA-567m-82f6-56rv
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Discourse is an open source platform for community discussion. This vulnerability only impacts Discourse instances configured to use `FileStore::LocalStore` which means uploads and backups are stored locally on disk. If an attacker knows the name of the Discourse backup file, the attacker can trick nginx into sending the Discourse backup file with a well crafted request. This issue is patched in the latest stable, beta and tests-passed versions of Discourse. Users are advised to upgrade. Users unable to upgrade can either 1. Download all local backups on to another storage device, disable the `enable_backups` site setting and delete all backups until the site has been upgraded to pull in the fix. Or  2. Change the `backup_location` site setting to `s3` so that backups are stored and downloaded directly from S3.

(As written by CVE List.)

## Affected

- discourse discourse: stable: <= 3.3.2; beta: <= 3.4.0.beta3; tests-passed: <= 3.4.0.beta3; before 3.3.2; before 3.4.0; 3.4.0
- discourse (Bitnami): before 3.3.3

## Every score

- GitHub_M: 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`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/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-567m-82f6-56rv> (advisory, mitigation, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-53991> (web)

## Sources

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

---

Page: https://cve.day/CVE-2024-53991 · Whole record: https://cve.day/CVE-2024-53991.json · Rebuilt by cve.day 2026-11-25T22:58:50.274Z
