Severity by source
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
PR:H confirmed by admin-only access requirement; S:C reflects cross-site trust boundary violation; I:N and A:N as no write or availability impact exists.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Discourse is an open-source discussion platform. From versions 2026.1.0-latest to before 2026.1.4, 2026.3.0-latest to before 2026.3.1, and 2026.4.0-latest to before 2026.4.1, a path traversal vulnerability in Discourse backup handling could allow an authenticated administrator on one site in a multisite deployment to access backup files belonging to another site when backups are stored locally. In affected configurations, an admin on Site A could potentially retrieve sensitive backup data from Site B (same host, multisite) by crafting a backup download request with a traversal payload. This issue has been patched in versions 2026.1.4, 2026.3.1, 2026.4.1, and 2026.5.0-latest.1.
AnalysisAI
Path traversal in Discourse's backup download handler allows an authenticated administrator on one site within a multisite deployment to retrieve backup archives belonging to a co-hosted site on the same server. Backup files typically contain full database dumps, private messages, user credentials, and email addresses, making cross-site access a serious trust-boundary violation. No public exploit has been identified and EPSS sits at 0.04% (12th percentile), reflecting the narrow exploitation conditions; vendor-released patches are available across all affected release trains.
Technical ContextAI
Discourse is a Ruby on Rails-based open-source discussion platform that supports multisite deployments, where multiple discrete communities share a single application server and filesystem. The vulnerability maps to CWE-22 (Improper Limitation of a Pathname to a Restricted Directory). In multisite mode with local backup storage enabled, each site's backups are placed in a subdirectory on the shared host. The backup download endpoint fails to sanitize traversal sequences (such as '../') in the requested filename parameter, so a crafted request can resolve to a path outside the requesting site's backup directory and into another site's backup subdirectory. The CPE cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:* covers all Discourse application variants across the three affected release trains (2026.1.x, 2026.3.x, 2026.4.x). The flaw is irrelevant when a remote object store such as S3 is used for backup storage, as there is no shared local filesystem path to traverse.
RemediationAI
Upgrade Discourse to version 2026.1.4 (2026.1.x release train), 2026.3.1 (2026.3.x train), 2026.4.1 (2026.4.x train), or 2026.5.0-latest.1 (latest track) as confirmed by the vendor advisory at https://github.com/discourse/discourse/security/advisories/GHSA-5j6v-4x6g-9pg5. These are vendor-released patches and represent the primary remediation. If immediate patching is not feasible, migrating backup storage from local filesystem to a remote object store (e.g., Amazon S3 or compatible) eliminates the local path traversal attack surface entirely, though it introduces an external storage dependency and associated operational costs. As a secondary compensating control, operators can audit and restrict administrator account grants across all sites in the multisite deployment, minimizing the number of principals capable of mounting this attack - note this may impact legitimate administrative workflows. Generic firewall rules do not mitigate this vulnerability because exploitation occurs through authenticated, application-layer HTTP requests.
Discourse versions prior to 3.5.0.beta6 contain a reflected cross-site scripting (XSS) vulnerability in social login fun
Discourse is an open source platform for community discussion. Rated high severity (CVSS 8.2), this vulnerability is rem
In Discourse 2.7.0 through beta1, a rate-limit bypass leads to a bypass of the 2FA requirement for certain forms. Rated
Discourse is an open-source discussion platform. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploi
Discourse is an open source platform for community discussion. Rated medium severity (CVSS 5.9), this vulnerability is r
Discourse versions prior to 3.4.4 (stable), 3.5.0.beta5 (beta), and 3.5.0.beta6-dev (tests-passed) contain a critical vu
Discourse is an open source platform for community discussion. Rated critical severity (CVSS 9.8), this vulnerability is
Discourse is an open source platform for community discussion. Rated critical severity (CVSS 9.8), this vulnerability is
Discourse is an open source platform for community discussion. Rated critical severity (CVSS 9.1), this vulnerability is
Stored cross-site scripting in the Discourse discussion platform allows a low-privileged registered user to set a malici
Discourse is a platform for community discussion. Rated high severity (CVSS 8.8), this vulnerability is remotely exploit
Unauthorized information disclosure in Discourse discussion platform versions prior to 2026.3.0-latest.1, 2026.2.1, and
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-36559