Command injection in Discourse - CVE-2025-59337

 

Command injection in Discourse - CVE-2025-59337

Published: July 1, 2026


Vulnerability identifier: #VU136111
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-59337
CWE-ID: CWE-77
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 user to disclose sensitive information.

The vulnerability exists due to command injection in the backup restore functionality when restoring a crafted backup dump containing malicious meta-commands. A remote user can embed malicious meta-commands in a backup dump to disclose sensitive information.

In multisite environments, exploitation can allow access to data or credentials from other sites.


How to mitigate CVE-2025-59337

Install security update from vendor's website.

Sources