Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain secure upload URL via side-channel (logs, email, insider)
-
DeliveryEmbed URL as image hotlink in a new post
-
Exploitpull_hotlinked_images background job processes the post
-
ExecutionJob fetches secured URL bypassing access control enforcement
-
ImpactProtected file content exposed outside authorized context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK
2 techniques across 2 tactics: Collection, Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Two specific conditions must both be true for exploitation: (1) the Discourse instance must have the secure_uploads site setting explicitly enabled - this is not the default configuration and must be deliberately activated by an administrator; and (2) the attacker must already know or have obtained the specific secured upload URL for the target file, as the attack does not enumerate or discover files independently. Limiting factors include: the prerequisite of URL knowledge significantly reduces opportunistic exploitation; the attack requires the targeted Discourse instance to be processing posts (the pull_hotlinked_images job must be active); and confidentiality impact is restricted to the specific files whose URLs are already compromised. There is no requirement for authentication to trigger the hotlink pull based on the CVSS PR:N vector, but an actor capable of creating or manipulating posts (even as a regular forum member) is the expected attacker profile. |
| Impact | The CVSS 4.0 base score of 6.3 with vector AV:N/AC:H/AT:P/PR:N/UI:N/VC:L reflects a moderate but conditional risk. The AC:H and AT:P metrics are the critical moderating factors: exploitation requires the attacker to already possess the specific secure upload URL, which represents a significant prerequisite since the secure_uploads feature is specifically designed to prevent URL-based access. VC:L (low confidentiality impact to the vulnerable system) is consistent with the scoped nature of the disclosure - only files whose URLs are already known are at risk. No EPSS score was provided in the input data; prevalence of exploitation cannot be estimated from available signals. This vulnerability is not in CISA KEV. No POC code has been identified. The real-world risk is therefore conditional: instances where secure_uploads is enabled and where secure URLs may have leaked via logs, notification emails, chat exports, or insider access are genuinely at risk, while instances where URL secrecy is maintained are not. This is a real security gap for high-sensitivity deployments (e.g., healthcare, legal, confidential document sharing via Discourse), but not a broad opportunistic exploitation scenario. |
| Exploit ScenarioDerived | An attacker who has obtained a Discourse secure upload URL - for example, from a leaked notification email, a shared post export, server-side logs, or insider access - embeds that URL as an image hotlink in a new post on an affected Discourse instance. When the pull_hotlinked_images background job processes the post, it fetches the content at the secure URL without enforcing the secure_uploads access controls, effectively pulling the protected file into a context where it is exposed. No POC code is publicly available at time of analysis, but the fix commits are public and could allow reconstruction of the vulnerability. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 09, 2026
Secure upload bypass in Discourse exposes protected files through the pull_hotlinked_images feature, which fails to enforce the secure_uploads access control when processing posts containing a known secure URL. Affected instances are those running versions prior to 2026.6.0, 2026.5.1, 2026.4.2, or 2026.1.5 with the secure_uploads site setting enabled. No public exploit has been identified at time of analysis and this vulnerability is not listed in CISA KEV; however, the fix commits are publicly visible on GitHub, potentially aiding reverse-engineering of the flaw.
RemediationAI
The primary fix is to upgrade Discourse to one of the patched releases: v2026.6.0, v2026.5.1, v2026.4.2, or v2026.1.5, all available as tagged GitHub releases (https://github.com/discourse/discourse/releases/tag/v2026.6.0, v2026.5.1, v2026.4.2, v2026.1.5). Four upstream commits address the issue (5807c426880eadf248006e851604fc9284327ce5, 8b4a959b251a856a9c911fb9f2ac34fbc31a7471, eff53af26367ae0dcb3a426954d233e8c7449f95, fa74e0dec7341a858ab83a1977fa52629bced1aa). If immediate upgrade is not possible, a compensating control is to disable the secure_uploads site setting (Admin > Settings), though this removes the upload access-control feature entirely and should be treated as a temporary measure only. Alternatively, administrators can audit and rotate any secure upload URLs that may have been exposed to untrusted parties, reducing the attack surface without disabling the feature. Disabling the pull_hotlinked_images job is theoretically a scoped mitigation but may affect content fidelity and is not officially recommended.
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 an open-source Ruby on Rails discussion platform that offers a secure_uploads site setting designed to restrict direct URL-based access to uploaded files, typically serving them through authenticated, time-limited signed URLs. The pull_hotlinked_images background job is a content-hygiene feature that re-hosts external images referenced in posts to the local Discourse storage, preventing hotlinking and preserving image availability. The vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) arises because this job fetches URLs without properly enforcing the access control layer applied by secure_uploads, meaning a secure upload URL embedded in a post can be fetched and its content exposed by the job outside of the normal authorization flow. No CPE string was provided in the input, but the affected software is identifiable as the Discourse application across multiple tracked stable branches (v2026.1.x, v2026.4.x, v2026.5.x, v2026.6.x).
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
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Network vector with high complexity due to prerequisite URL knowledge; no authentication required per PR:N; limited confidentiality impact with no integrity or availability consequences.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
1DescriptionCVE.org
Discourse is an open-source discussion platform. Prior to 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5, secure uploads could be exposed by pull_hotlinked_images when an attacker knew the secured upload URL and the secure_uploads site setting was enabled. This issue is fixed in versions 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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-42731
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB