Improper access control in Discourse - CVE-2024-53991

 

Improper access control in Discourse - CVE-2024-53991

Published: December 19, 2024 / Updated: July 1, 2026


Vulnerability identifier: #VU136100
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2024-53991
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Civilized Discourse Construction Kit, Inc.
Affected software:
Discourse

Detailed vulnerability description

The vulnerability allows a remote attacker to disclose sensitive information.

The vulnerability exists due to improper access control in nginx backup file handling when processing a well crafted request for a backup file. A remote attacker can send a specially crafted request to disclose sensitive information.

Only instances configured to use FileStore::LocalStore for local storage of uploads and backups are affected, and exploitation requires knowledge of the backup file name.


How to mitigate CVE-2024-53991

Install security update from vendor's website.

Sources