Skip to main content

Discourse CVE-2026-44784

| EUVDEUVD-2026-36587 MEDIUM
Information Exposure (CWE-200)
2026-06-12 GitHub_M
6.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as Discourse group owner
  2. Delivery
    Request GET /groups/:name/logs.json
  3. Exploit
    Extract plaintext SMTP credentials from response
  4. Execution
    Configure external SMTP client with harvested credentials
  5. Impact
    Send 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.

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

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

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

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

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

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.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
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, 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

EPSS Score
0.0%
Top 89% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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