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

This vulnerability exists in Discourse’s handling of PDF uploads. A specially crafted PDF sent to an affected server system commands, giving an attacker the ability to run arbitrary code. The weakness, classified as CWE‑78, allows an attacker to bypass input controls and execute commands, potentially compromising confidentiality, integrity, and availability. The likely attack vector involves an attacker uploading a malicious PDF to the Discourse upload endpoint; this is inferred from the description because the vulnerability is tied to processing PDF uploads.

Affected Systems

Adversaries can target any Discourse installation running a pre‑2026.6.0, 2026.5.1, 2026.4.2, or 2026.1.5 build that has non‑default configurations enabling PDF upload capability. These affected versions are identified by the vendor as vulnerable until the patches in the listed maintenance releases are applied.

Risk and Exploitability

The CVSS score of 7.5 marks this flaw as high severity. The EPSS score is 0.0033 (<1%) indicating a low probability of exploitation, and the vulnerability is not listed in the CISA KEV catalogue. An attacker must be able to upload files to the server, inferred from the nature of the vulnerability, which in many configurations is permitted to regular users or administrators. Once a malicious PDF is processed, command execution can be achieved with the privileges of the Discourse process.

Generated by OpenCVE AI on July 29, 2026 at 12:05 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Discourse installation to version 2026.6 which contains the fix for this PDF upload RCE.
  • If an immediate upgrade is not possible, disable the PDF upload feature in the application configuration to eliminate the attack surface, ensuring no residual upload‑related privileges remain and remove any custom PDF handling plugins that could reintroduce the vulnerability.
  • Configure auditing for PDF uploads and set alerts for anomalous files to detect attempts to exploit the vulnerability early.

Generated by OpenCVE AI on July 29, 2026 at 12:05 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

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T12:15:03Z

Weaknesses
  • CWE-78

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