RCE in Discourse

CVE-2025-59337

Discourse is an open-source community discussion platform. In versions 3.5.0 and below, malicious meta-commands could be embedded in a backup dump and executed during restore. In multisite setups, this allowed an admin of one site to access data or credentials from other sites. This issue is fixed in version 3.5.1.

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.003 (19.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-59337?
CVE-2025-59337 is a medium-severity vulnerability in Discourse, classified under Command Injection. CVSS score: 6.8/10. Published 2025-10-01.
How severe is CVE-2025-59337?
Medium severity. CVSS v3 base score is 6.8 out of 10.
Is CVE-2025-59337 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.