4.3medium
Discourse AI Suggestions Contain Insecure Direct Object Reference
- Severity
- 4.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.27% (higher than 20% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- BIT-DISCOURSE-2025-58055GHSA-32v2-x274-vfhr
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
| Product or package | Versions | Reported by |
|---|---|---|
| discourse discourse | < 3.5.1, before 3.5.1, before 3.6.0, 3.6.0 | CVE List, NVD |
| discourse (Bitnami) | before 3.5.1 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
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.
NVD (es)
Discourse es una plataforma de discusión comunitaria de código abierto. En las versiones 3.5.0 e inferiores, los puntos finales de sugerencia de IA de Discourse para el 'Título', la 'Categoría' y las 'Etiquetas' del tema permitían a los usuarios autenticados extraer información sobre temas a los que no estaban autorizados a acceder. Al modificar el valor 'topic_id' en las solicitudes de API a los puntos finales de sugerencia de IA, los usuarios podían dirigir temas restringidos específicos. Las respuestas del modelo de IA entonces revelaban información a la que el usuario autenticado no podía acceder normalmente. Este problema está solucionado en la versión 3.5.1. Como solución alternativa a este problema, los usuarios pueden restringir el acceso de grupos a la función de asistente de IA a través de las configuraciones del sitio 'composer_ai_helper_allowed_groups' y 'post_ai_helper_allowed_groups'.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-58055 changed 2025-10-23 | CVE Terms of Use |
| NVD | CVE-2025-58055 changed 2026-10-19 | Public domain |
| Bitnami Vulnerability Database | BIT-DISCOURSE-2025-58055 changed 2026-09-08 | Apache-2.0 |