Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as Discourse group owner
-
DeliveryRequest GET /groups/:name/logs.json
-
ExploitExtract plaintext SMTP credentials from response
-
ExecutionConfigure external SMTP client with harvested credentials
-
ImpactSend email impersonating group's identity to external targets
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 | Exploitation requires all of the following specific conditions to be simultaneously true: (1) the Discourse instance must have per-group SMTP credentials explicitly configured on at least one group - this is a non-default feature requiring deliberate administrator setup, and sites using only the global mailer are entirely unaffected; (2) the attacker must hold an authenticated Discourse session with group owner role on the targeted group - unauthenticated users and members without owner role cannot access the logs endpoint; (3) the group owner must not also be an admin or moderator, as the vulnerability is specifically scoped to the trust gap in the owner tier. The primary limiting factor is the non-default per-group SMTP configuration, which reduces the total vulnerable population significantly. Exploitation is further constrained to the history log entries that captured credential changes - groups whose SMTP settings have never been modified after initial setup may have fewer or no log entries exposing credentials. |
| Impact | The vendor-assigned CVSS 6.5 (Medium) with vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N accurately represents the risk profile: network-reachable with low attack complexity, but requiring authenticated access at the group-owner privilege level. The high confidentiality impact is justified by the exposure of reusable SMTP credentials that grant persistent, out-of-band email relay capability. However, the EPSS score of 0.03% at the 11th percentile strongly signals low observed exploitation interest, consistent with the narrow precondition set. The vulnerability is not listed in CISA KEV and no public exploit code has been identified, making this a low-urgency but concrete risk for the subset of Discourse deployments using per-group SMTP with non-admin group owners. The real-world threat is insider-threat or trust-boundary abuse: a legitimately provisioned group owner exploiting the credential exposure to conduct phishing or spam campaigns that impersonate a trusted organizational email identity. Sites using only the global Discourse mailer face zero exposure. No conflicting signals exist in the available data. |
| Exploit ScenarioDerived | An authenticated Discourse user who has been granted group ownership - without admin or moderator status - issues a GET request to /groups/:name/logs.json for a group they own that has per-group SMTP configured. The JSON response includes the plaintext SMTP password alongside server address and port, which the attacker then enters into an external SMTP client (e.g., a scripted curl command or a mail relay tool) to send emails from the group's address to targets outside Discourse, enabling phishing or spam campaigns that abuse the group's trusted sender identity. No exploit code is publicly available and exploitation has not been confirmed in the wild. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 12, 2026
Discourse group owners can retrieve plaintext SMTP credentials - including passwords, usernames, server, port, and SSL mode - from the group history log endpoint (/groups/:name/logs.json), affecting versions 2026.1.0-latest through pre-2026.1.4, 2026.3.0-latest through pre-2026.3.1, and 2026.4.0-latest through pre-2026.4.1. An authenticated group owner who holds no admin or moderator privileges can harvest the exposed SMTP password and use it to send mail impersonating the group's email identity from any external mail client, entirely bypassing Discourse's own sending controls. No public exploit code exists and this vulnerability is not listed in CISA KEV; the EPSS score of 0.03% at the 11th percentile reflects the narrow, configuration-dependent attack surface.
RemediationAI
Upgrade Discourse to patched versions 2026.1.4, 2026.3.1, 2026.4.1, or 2026.5.0-latest.1 as documented in vendor advisory GHSA-94c5-j24g-r99f (https://github.com/discourse/discourse/security/advisories/GHSA-94c5-j24g-r99f). After patching, rotate all per-group SMTP passwords immediately, as any group owner on an affected version may have already accessed the credentials through the history log. If immediate patching is not feasible, revoke group ownership from any user who should not have access to SMTP credentials - this eliminates access to the vulnerable endpoint without disrupting mail flow. Alternatively, restrict the per-group SMTP accounts at the mail server level to accept connections only from the Discourse server's IP address, limiting the blast radius if credentials are extracted; note this does not prevent credential disclosure but contains the credential's abuse potential. Disabling per-group SMTP entirely is the most aggressive workaround but will revert affected groups to the global mailer, disrupting group-specific email branding.
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 supports per-group SMTP configuration, allowing individual groups to send email through dedicated outbound mail accounts rather than the global Discourse mailer. The group history log feature records all administrative changes to group settings - including credential updates - and exposes them through the /groups/:name/logs.json endpoint. CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) identifies the root cause: the log endpoint returns unredacted credential fields (email_password, email_username, smtp_server, smtp_port, smtp_ssl_mode) to group owners without stripping or masking sensitive values. The access control gap exists because group owners are a distinct trust tier below admins and moderators, yet the log API did not enforce differential field visibility based on role. The CPE cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:* covers all affected Discourse application instances regardless of hosting model.
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:L/UI:N/S:U/C:H/I:N/A:N
Requires authenticated group-owner session (PR:L) over the network; confidentiality-only impact as credentials are read from the log with no write or availability consequence.
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, group owners who are not necessarily admins or moderators can view a group's outgoing email/SMTP credentials in plaintext via the group history log (/groups/:name/logs.json). Affected fields: email_password, email_username, smtp_server, smtp_port, smtp_ssl_mode. The most sensitive item is the SMTP password, which an owner could use to send mail as the group from outside Discourse. This impacts sites that have configured per-group SMTP credentials and granted group ownership to users who should not have access to those credentials. 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
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-36587
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB