Live threats

All CVEs / Discourse

CVE-2024-53991Discourse

Medium 5.9 No auth needed

Priority
51
CVSS 3.1
5.9
EPSS
2.4%
probability of exploitation in 30 days · percentile 85
Auth required
No
Published
Dec 19, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-200
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Discourse.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
discoursediscourse< 3.3.2
discoursediscourse< 3.4.0
discoursediscourse3.4.0
discoursediscourse3.4.0
discoursediscourse3.4.0

Official sources

References

Links published by the sources. Open them with care.