Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2024-53991 is a high-severity Exposure of Sensitive Information to an Unauthorized Actor (CWE-200) vulnerability in Discourse. Its CVSS base score is 7.5 (High).
Operationally, ranked in the top 2% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-4 (Information Flow Enforcement) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
Discourse, an open source discussion platform, contains an information disclosure vulnerability that affects only instances configured with FileStore::LocalStore for local disk storage of uploads and backups. The flaw allows an unauthenticated remote attacker who knows the name of a backup file to craft a request that causes nginx to serve the file, exposing its contents. The issue carries a CVSS 3.1 score of 7.5 and is tracked under CWE-200.
An attacker can exploit the weakness over the network without authentication or user interaction to retrieve sensitive backup archives, resulting in high-impact confidentiality loss while integrity and availability remain unaffected. Because the attack requires knowledge of the backup filename, the practical risk depends on whether that name can be guessed or discovered through other means.
The GitHub Security Advisory GHSA-567m-82f6-56rv states that the vulnerability is fixed in the latest stable, beta, and tests-passed releases of Discourse. Administrators unable to upgrade immediately are advised either to download all local backups to another location, disable the enable_backups setting, and delete existing backups, or to change the backup_location setting to s3 so that backups are stored and served directly from S3. The EPSS score stands at 0.5312 with no material increase reported after disclosure.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-52229
Vulnerability Data
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,…
more
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.
- CWE(s)
Related Threats
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Access enforcement directly stops unauthorized actors from obtaining sensitive information.
Information flow enforcement structurally prevents sensitive data from reaching unauthorized recipients.
Protection of information at rest prevents unauthorized exposure of stored sensitive data.
Transmission confidentiality mechanisms stop exposure of sensitive data on the wire.
Least privilege reduces the set of actors who can reach sensitive information.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Penetration testing and vulnerability scanning are performed to discover unintended exposure of sensitive data resulting from misconfigurations or coding errors.
Restricting anonymous or unknown access and encrypting high-value information limits the exposure of sensitive data that would otherwise be obtainable by unauthorized actors.
By requiring removal or masking of sensitive operational data before it enters test environments, the control sharply reduces the chance that such data will be exposed to unauthorized actors who have access to those environments.
Data masking hides sensitive data from unauthorized viewers, blocking exploitation of the exposure for masked data, but it only covers data that is explicitly masked and does not address exposures from error messages, debug logs, or indirect information leaks.
By continuously inspecting data flows and blocking transmissions that contain classified sensitive content, the control stops the unauthorized release of information that would otherwise occur through missing or bypassed access-control checks.
A.8.21's mechanisms (authentication, authorization, encryption, network connection controls) block information exposure that would occur through network service access, but CWE-200 is much broader than network-based exposures — it includes error messages, debug logs, code-level disclosures, timing attacks, and application-layer leaks that A.8.21 does not reach, so the control addresses a minority of the weakness's instances.
Hardening callouts derived
DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.