Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain or compromise admin account on Site A
-
DeliveryIdentify target site's backup directory or filename
-
ExploitCraft HTTP backup download request with path traversal payload
-
ExecutionSubmit authenticated request to Discourse backup endpoint
-
PersistServer resolves traversal to Site B backup path
-
ImpactExfiltrate Site B backup archive containing full database dump
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires three concurrent structural conditions: (1) the attacker must hold an active, valid administrator account on at least one site within the Discourse deployment - this is a high-privilege requirement confirmed by CVSS PR:H; (2) Discourse must be running in multisite mode, where two or more sites share a single application host and filesystem; and (3) Discourse must be configured to store backups locally on the server filesystem, not in a remote object store such as S3. Any deployment missing one of these three conditions - including all single-site Discourse installations globally - is not vulnerable. The CVSS AC:L rating reflects that once these structural conditions are present, no additional exploitation complexity (such as a race condition or specific timing) is required. Exploitation is limited to confidentiality impact only; the attacker cannot modify or delete Site B's data via this vector (I:N, A:N in the CVSS vector). |
| Impact | The CVSS 3.1 score of 6.8 is driven upward by the scope change (S:C) and high confidentiality impact (C:H), reflecting that exploitation crosses a site-isolation boundary to expose another system's sensitive data. However, the PR:H metric is the most operationally significant signal - the attacker must already hold an active administrator account on one of the co-hosted sites, which represents a high-trust position. EPSS of 0.04% at the 12th percentile is consistent with this narrow attack profile and suggests no broad or opportunistic exploitation activity at the time of analysis. There is no CISA KEV listing and no public exploit code has been identified. For the overwhelming majority of Discourse deployments - single-site installations or those using remote object storage - this vulnerability has zero applicability. Real-world risk is concentrated in organizations running multisite Discourse deployments with local backup storage where different site administrators are not fully mutually trusted, a relatively uncommon configuration. The CVSS vector accurately characterizes the technical severity of what an attacker can do once in position, but the prerequisite conditions substantially reduce the realistic threat population. |
| Exploit ScenarioDerived | An attacker who has legitimately or illicitly obtained administrator credentials for Site A in a Discourse multisite deployment submits a crafted backup download request to the Discourse backup endpoint, embedding path traversal sequences such as '../../site_b_backup_dir/latest.tar.gz' in the filename parameter. The unpatched server resolves the traversal without restriction and streams Site B's backup archive - containing its full database dump, user accounts, private messages, and hashed or plaintext credentials - back to the attacker. No public exploit code has been identified, but exploitation requires only a standard HTTP client and knowledge of the target site's backup filename or directory structure. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 12, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Discourse gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
1DescriptionCVE.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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Discourse versions prior to 3.5.0.beta6 contain a reflected cross-site scripting (XSS) vulnerability in social login fun
discourse-bbcode is the official BBCode plugin for Discourse. Rated critical severity (CVSS 9.8), this vulnerability is
Unauthorized information disclosure in Discourse discussion platform versions prior to 2026.3.0-latest.1, 2026.2.1, and
Discourse is an open source platform for community discussion. Rated high severity (CVSS 8.2), this vulnerability is rem
Discourse versions prior to 2025.12.2, 2026.1.1, and 2026.2.0 contain an insecure direct object reference (IDOR) in the
In Discourse 2.7.0 through beta1, a rate-limit bypass leads to a bypass of the 2FA requirement for certain forms. Rated
Unauthenticated attackers can submit forged webhook payloads to multiple email provider integrations in Discourse versio
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 Patreon enables syncronization between Discourse Groups and Patreon rewards. Rated critical severity (CVSS 9.8
EUVD-2026-36559
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB