CVE-2025-58055
JSON

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 packageVersionsReported by
discourse discourse< 3.5.1, before 3.5.1, before 3.6.0, 3.6.0CVE List, NVD
discourse (Bitnami)before 3.5.1Bitnami Vulnerability Database

All scores

GitHub_M4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
NVD4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-284CWE-639

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

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

SourceRecordLicence
CVE ListCVE-2025-58055 changed 2025-10-23CVE Terms of Use
NVDCVE-2025-58055 changed 2026-10-19Public domain
Bitnami Vulnerability DatabaseBIT-DISCOURSE-2025-58055 changed 2026-09-08Apache-2.0