Potential Backup file leaked via Nginx in Discourse
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-200.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| discourse | discourse | stable: <= 3.3.2; beta: <= 3.4.0.beta3; tests-passed: <= 3.4.0.beta3 | — | No fix listed | CNA |
- discourse Vendordiscourse Affected stable: <= 3.3.2; beta: <= 3.4.0.beta3; tests-passed: <= 3.4.0.beta3 Fixed in — No fix listed CNA
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:discourse:discourse:*:*:*:*:stable:*:*:* | before 3.3.2 | Vulnerable | discourse |
| cpe:2.3:a:discourse:discourse:*:*:*:*:beta:*:*:* | before 3.4.0 | Vulnerable | discourse |
| cpe:2.3:a:discourse:discourse:3.4.0:beta1:*:*:beta:*:*:* | 3.4.0 beta1 | Vulnerable | discourse |
| cpe:2.3:a:discourse:discourse:3.4.0:beta2:*:*:beta:*:*:* | 3.4.0 beta2 | Vulnerable | discourse |
| cpe:2.3:a:discourse:discourse:3.4.0:beta3:*:*:beta:*:*:* | 3.4.0 beta3 | Vulnerable | discourse |
- cpe:2.3:a:discourse:discourse:*:*:*:*:stable:*:*:* Versions before 3.3.2 Vulnerable ·discourse
- cpe:2.3:a:discourse:discourse:*:*:*:*:beta:*:*:* Versions before 3.4.0 Vulnerable ·discourse
- cpe:2.3:a:discourse:discourse:3.4.0:beta1:*:*:beta:*:*:* Versions 3.4.0 beta1 Vulnerable ·discourse
- cpe:2.3:a:discourse:discourse:3.4.0:beta2:*:*:beta:*:*:* Versions 3.4.0 beta2 Vulnerable ·discourse
- cpe:2.3:a:discourse:discourse:3.4.0:beta3:*:*:beta:*:*:* Versions 3.4.0 beta3 Vulnerable ·discourse
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2024-53991
References
More Discourse vulnerabilities
- TI-2021-19656 Denial of Service in discourse CVSS 3.1MEDIUM 6.8
- TI-2021-18002 RCE via malicious SNS subscription payload CVSS 3.1CRITICAL 10.0
- TI-2026-24651 Discourse: Open redirect via `sso_destination_url` cookie in `enter` CVSS 4.0MEDIUM 5.1
- TI-2026-22278 Discourse leaks private topic title and post excerpt via user action API endpoint CVSS 4.0HIGH 8.7
- TI-2023-24152 Unauthenticated access to new private chat messages in Discourse CVSS 3.1HIGH 7.5
- TI-2024-33232 Bypass of Discourse Connect using other login paths if enabled in Discourse CVSS 3.1CRITICAL 9.1
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences