CVE-2025-68934

Discourse Has Denial of Service (DoS) Vulnerability in Drafts Creation Endpoint

State
Published
Severity
6.5 Medium
Published
Jan 28, 2026
Updated
Jan 28, 2026
Reserved
Dec 24, 2025

Read the record on cve.org

Description

Discourse is an open source discussion platform. In versions prior to 3.5.4, 2025.11.2, 2025.12.1, and 2026.1.0, authenticated users can submit crafted payloads to /drafts.json that cause O(n^2) processing in Base62.decode, tying up workers for 35-60 seconds per request. This affects all users as the shared worker pool becomes exhausted. This issue is patched in versions 3.5.4, 2025.11.2, 2025.12.1, and 2026.1.0. Lowering the max_draft_length site setting reduces attack surface but does not fully mitigate the issue, as payloads under the limit can still trigger the slow code path.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HGitHub_M

Weaknesses

  • CWE-770 Allocation of Resources Without Limits or Throttling

Affected Products

ProductVersions
discoursediscourse
  • < 3.5.4Affected
  • >= 2025.11.0-latest, < 2025.11.2Affected
  • >= 2025.12.0-latest, 2025.12.1Affected
  • >= 2026.1.0-latest, < 2026.1.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.