Vulnerabilities · 2025 · Discourse
CVE-2025-58055
Discourse vulnerability
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 products
Discourse. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Discourse runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/discourse/discourse/security/advisories/GHSA-32v2-x274-vfhr · Vendor Advisory
- github.com/discourse/discourse/commit/28d569cae9b33cd55d647bf41806106e33d975c9 · Patch
- www.vicarius.io/vsociety/posts/cve-2025-58055-detect-discourse-vulnerability
- www.vicarius.io/vsociety/posts/cve-2025-58055-mitigate-discourse-vulnerability
- nvd.nist.gov/vuln/detail/CVE-2025-58055
- cve.org/CVERecord?id=CVE-2025-58055
More vulnerabilities in Discourse products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.