Discourse
Discourse: Remote code execution via pdf uploads
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.1high · scored by NVD · CWE-78
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
discourse discourse
- >= 2026.5.0-latest, < 2026.5.1
- >= 2026.4.0-latest, < 2026.4.2
- >= 2026.1.0-latest, < 2026.1.5
Fixed in 2026.5.1, 2026.4.2, 2026.1.5
Mitigation
Upgrade discourse to 2026.5.1 or 2026.4.2 or 2026.1.5 or later.
References
- Vendor advisory github.com/discourse/discourse/security/adviso…
- Patch github.com/discourse/discourse/commit/ca5a7e06…
- Release notes github.com/discourse/discourse/releases/tag/v2…
3 more
- Release notes github.com/discourse/discourse/releases/tag/v2…
- Release notes github.com/discourse/discourse/releases/tag/v2…
- Release notes github.com/discourse/discourse/releases/tag/v2…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.