Original description
Discourse is an open-source community discussion platform. In versions 3.5.0 and below, the Discourse AI suggestion endpoints for topic “Title”, “Category”, and “Tags” allowed authenticated users to extract information about topics that they weren’t authorized to access. By modifying the “topic_id” value in API requests to the AI suggestion endpoints, users could target specific restricted topics. The AI model’s responses then disclosed information that the authenticated user couldn’t normally access. This issue is fixed in version 3.5.1. To workaround this issue, users can restrict group access to the AI helper feature through the "composer_ai_helper_allowed_groups" and "post_ai_helper_allowed_groups" site settings.
Affected software
- Discourse < 3.5.1*= 3.6.0< 3.6.0 Fixed in: 3.5.1, 3.6.0 exact match
Details
- Published
- 2025-10-01
- Last modified
- 2026-10-19
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N- CWE
- CWE-284, CWE-639
- EPSS (30-day exploit probability)
- 0.26% (percentile 18)
References
- cve.org/CVE-2025-58055
- nvd.nist.gov/vuln/detail/CVE-2025-58055
- github.com/discourse/discourse/commit/28d569cae9b33cd55d647bf41806106e33d975c9
- github.com/discourse/discourse/security/advisories/GHSA-32v2-x274-vfhr
- www.vicarius.io/vsociety/posts/cve-2025-58055-detect-discourse-vulnerability
- www.vicarius.io/vsociety/posts/cve-2025-58055-mitigate-discourse-vulnerability
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.