Description
Discourse is an open-source discussion platform. Prior to 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5, under certain non-default configurations, processing of PDF uploads could be exploited to obtain RCE on the server. This issue is patched in 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5.
Published: 2026-07-09
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw lies in Discourse’s handling of PDF file uploads. When the server parses a specially crafted PDF, the underlying PDF parser can execute operating‑system commands supplied in the document. This is a classic OS command injection (CWE‑78) that yields remote code execution on the machine running the Discourse process. If exploited the attacker can gain full control over the server, compromising confidentiality, integrity, and availability.

Affected Systems

Any Discourse instance running a build older than 2026.6.0, 2026.5.1, 2026.4.2, or 2026.1.5 and configured to accept PDF uploads is vulnerable. The vendor has identified these releases as vulnerable until the patches applied in the corresponding maintenance releases including v2026.6.0 – v2026.1.5.

Risk and Exploitability

The CVSS score of 7.5 classifies the issue as high severity. The EPSS score of less than 1% suggests a low likelihood of exploitation in the wild, and the vulnerability is not listed in the CISA KEV catalog. The attack vector is likely a direct file upload to the Discourse upload endpoint; the vulnerability can be triggered by an attacker who can place a PDF on the server, a capability that in many deployments is granted to basic users or community members.

Generated by OpenCVE AI on August 1, 2026 at 14:09 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Discourse installation to v2026.6.0 or any later patched release such as v2026.5.1, v2026.4.2, or v2026.1.5, which contain the fix for the PDF upload RCE.
  • Disable PDF uploads in the Discourse configuration or remove any third‑party PDF handling plugins until the upgrade is applied.
  • Limit file upload permissions to administrators only, monitor the upload logs for anomalous files, and set alerts for unexpected PDFs.

Generated by OpenCVE AI on August 1, 2026 at 14:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 14 Jul 2026 02:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 09 Jul 2026 19:45:00 +0000

Type Values Removed Values Added
First Time appeared Discourse
Discourse discourse
Vendors & Products Discourse
Discourse discourse

Thu, 09 Jul 2026 18:00:00 +0000

Type Values Removed Values Added
Description Discourse is an open-source discussion platform. Prior to 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5, under certain non-default configurations, processing of PDF uploads could be exploited to obtain RCE on the server. This issue is patched in 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5.
Title Discourse: Remote code execution via pdf uploads
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Discourse Discourse
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-14T01:08:46.909Z

Reserved: 2026-06-16T21:48:43.125Z

Link: CVE-2026-55420

cve-icon Vulnrichment

Updated: 2026-07-14T01:08:42.529Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-09T18:16:54.440

Modified: 2026-07-14T02:16:56.050

Link: CVE-2026-55420

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T14:15:03Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')