Improper access control in Discourse - CVE-2021-37693

 

Improper access control in Discourse - CVE-2021-37693

Published: August 13, 2021 / Updated: July 1, 2026


Vulnerability identifier: #VU136569
CSH Severity: Low
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-37693
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to reset passwords.

The vulnerability exists due to improper access control in email token handling when reusing an unused token generated for an additional email address. A remote user can use a previously generated email token in another context to reset passwords.

Exploitation requires access to an existing account and a previously generated unused email verification token.


Affected software

Discourse

How to mitigate CVE-2021-37693

Install security update from vendor's website.

Discourse - addressed in versions 2.7.8, 2.8.0 beta4

External References

Related Security Bulletins