CVE-2025-68934
JSON

6.5medium

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

Severity
6.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.28% (higher than 21% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
BIT-DISCOURSE-2025-68934GHSA-vwjh-vrx9-9849

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.

Affected

Product or packageVersionsReported by
discourse discourse< 3.5.4, >= 2025.11.0-latest, < 2025.11.2, >= 2025.12.0-latest, 2025.12.1, >= 2026.1.0-latest, < 2026.1.0, before 3.5.4, from 2025.11.0 before 2025.11.2, 2025.12.0, 2026.1.0CVE List, NVD
discourse (Bitnami)before 3.5.4, from 2025.11.0 before 2025.11.2, from 2025.12.0 before 2026.1.0Bitnami Vulnerability Database

All scores

GitHub_M6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasemedium rating

Classification

CWE-770

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

What each source says

CVE List

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.

NVD (es)

Discourse es una plataforma de discusión de código abierto. En versiones anteriores a 3.5.4, 2025.11.2, 2025.12.1 y 2026.1.0, los usuarios autenticados pueden enviar cargas útiles elaboradas a /drafts.json que causan un procesamiento O(n^2) en Base62.decode, ocupando los workers durante 35-60 segundos por solicitud. Esto afecta a todos los usuarios ya que el grupo de workers compartido se agota. Este problema está parcheado en las versiones 3.5.4, 2025.11.2, 2025.12.1 y 2026.1.0. Reducir la configuración del sitio max_draft_length reduce la superficie de ataque, pero no mitiga completamente el problema, ya que las cargas útiles por debajo del límite aún pueden activar la ruta de código lenta.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-68934 changed 2026-01-28CVE Terms of Use
NVDCVE-2025-68934 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-DISCOURSE-2025-68934 changed 2026-09-08Apache-2.0