Auth bypass in Discourse
CVE-2025-58055
- CVSS v3
- 4.3 Medium
- Public exploits
- None known
- EPSS
- 0.003 · 17.9th percentile
- Published
- 2025-10-01
What to do
- Fixed in
3.5.1- Affected
- 1 affected product
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- Low
C:L - Integrity
- None
I:N - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.003, 17.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Discourse — versions 3.6.0, < 3.5.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/discourse/discourse/security/advisories/GHSA-32v2-x274-vfhr (Vendor Advisory)
- https://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