CVE-2025-58055
published medium CVSS 3.1 · 4.3Discourse AI Suggestions Contain Insecure Direct Object Reference
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| discourse | — | discourse< 3.5.1 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| discourse | discourse | < 3.5.1 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-284 CWE-284: Improper Access Control
- CWE-639 CWE-639: Authorization Bypass Through User-Controlled Key
References
4- https://github.com/discourse/discourse/commit/28d569cae9b33cd55d647bf41806106e33d975c9
- https://github.com/discourse/discourse/security/advisories/GHSA-32v2-x274-vfhr
- https://www.vicarius.io/vsociety/posts/cve-2025-58055-detect-discourse-vulnerability
- https://www.vicarius.io/vsociety/posts/cve-2025-58055-mitigate-discourse-vulnerability
Provider assertions
3GitHub_M · cna
Discourse AI Suggestions Contain Insecure Direct Object Reference
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 058425aacfe4dba121ba90a4483771053d53654373f656ffe1f5fc37ea870cc2
- Ingested
- 23 Sep 2026, 08:53:54 UTC
- Source record
- Official CVE record