Skip to main content

Discourse CVE-2026-45775

| EUVDEUVD-2026-36559 MEDIUM
Path Traversal (CWE-22)
2026-06-12 GitHub_M
6.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain or compromise admin account on Site A
  2. Delivery
    Identify target site's backup directory or filename
  3. Exploit
    Craft HTTP backup download request with path traversal payload
  4. Execution
    Submit authenticated request to Discourse backup endpoint
  5. Persist
    Server resolves traversal to Site B backup path
  6. Impact
    Exfiltrate 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

discourse 2026.4.0-latest, < 2026.4.1
discourse 2026.1.0-latest, < 2026.1.4
discourse 2026.3.0-latest, < 2026.3.1

Affected Packages

euvd discourse_2026_1_0_latest fix: 2026.1.4
euvd discourse_2026_3_0_latest fix: 2026.3.1
euvd discourse_2026_4_0_latest fix: 2026.4.1

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

Vendor (GitHub_M) PRIMARY 6.8 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
vuln.today AI 6.8 MEDIUM

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.

3.1 AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Jun 12, 2026 - 22:01 EUVD

DescriptionCVE.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

EPSS Score
0.0%
Top 88% exploitable
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

CVE-2025-48954 HIGH POC
8.1 Jun 25

Discourse versions prior to 3.5.0.beta6 contain a reflected cross-site scripting (XSS) vulnerability in social login fun

CVE-2022-46162 CRITICAL POC
9.8 Nov 30

discourse-bbcode is the official BBCode plugin for Discourse. Rated critical severity (CVSS 9.8), this vulnerability is

CVE-2026-27934 HIGH POC
8.7 Mar 19

Unauthorized information disclosure in Discourse discussion platform versions prior to 2026.3.0-latest.1, 2026.2.1, and

CVE-2024-47773 HIGH POC
8.2 Oct 08

Discourse is an open source platform for community discussion. Rated high severity (CVSS 8.2), this vulnerability is rem

CVE-2026-26265 HIGH POC
7.5 Feb 26

Discourse versions prior to 2025.12.2, 2026.1.1, and 2026.2.0 contain an insecure direct object reference (IDOR) in the

CVE-2021-3138 HIGH POC
7.5 Jan 14

In Discourse 2.7.0 through beta1, a rate-limit bypass leads to a bypass of the 2FA requirement for certain forms. Rated

CVE-2026-26077 MEDIUM POC
6.5 Feb 26

Unauthenticated attackers can submit forged webhook payloads to multiple email provider integrations in Discourse versio

CVE-2023-38706 MEDIUM POC
6.5 Sep 15

Discourse is an open-source discussion platform. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploi

CVE-2024-53991 MEDIUM POC
5.9 Dec 19

Discourse is an open source platform for community discussion. Rated medium severity (CVSS 5.9), this vulnerability is r

CVE-2025-48877 CRITICAL
9.8 Jun 09

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

CVE-2023-47121 CRITICAL
9.8 Nov 10

Discourse is an open source platform for community discussion. Rated critical severity (CVSS 9.8), this vulnerability is

CVE-2022-39355 CRITICAL
9.8 Oct 26

Discourse Patreon enables syncronization between Discourse Groups and Patreon rewards. Rated critical severity (CVSS 9.8

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy