DiscourseApplication

CVE-2026-44784

MEDIUM · 6.5 CVSS v3.1 Published 2026-06-12
Fix available
A fix is available. Upgrade to 2026.1.0 / 2026.1.4 or later.
See remediation →
71/100
Remediation priority · Elevated
Remotely reachable Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

In affected Discourse versions, the group history log endpoint (/groups/:name/logs.json) returns plaintext SMTP/email credentials (email_password, email_username, smtp_server, smtp_port, smtp_ssl_mode) to any group owner, even those without admin or moderator privileges. This exposes sensitive authentication material that could allow unauthorized email sending.

MitigationUpgrade Discourse to version 2026.1.4, 2026.3.1, 2026.4.1, or 2026.5.0-latest.1 to patch the credential exposure in the group history log. Audit group ownership and logs to determine if unauthorized credential access has occurred.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
DiscourseApplication
Affected:< 2026.1.0>= 2026.1.0, < 2026.1.4>= 2026.3.0, < 2026.3.1>= 2026.4.0, < 2026.4.1= 2026.5.0

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check Discourse version
    Run `git describe --tags` in the Discourse install directory, or check the version displayed in the admin dashboard under /about. Compare this version number to the affected ranges: < 2026.1.0, >= 2026.1.0 && < 2026.1.4, >= 2026.3.0 && < 2026.3.1, >= 2026.4.0 && < 2026.4.1, = 2026.5.0
    Affected if The installed version matches any of the affected ranges listed above
  2. Identify group owners without admin or moderator privileges
    Query the Discourse database: `SELECT user_id, group_id FROM group_users WHERE owner = true` and cross-reference with `SELECT user_id FROM admin_roles` and `SELECT user_id FROM moderator_logs` to find owners who lack admin or moderator roles
    Affected if There exist group owners who do not hold admin or moderator privileges
  3. Inspect group history log endpoint response
    As a non-admin, non-moderator group owner, make a GET request to /groups/:name/logs.json (replace :name with an actual group name) and examine the JSON response for the fields: email_password, email_username, smtp_server, smtp_port, smtp_ssl_mode
    Affected if The response contains any of the credential fields (email_password, email_username, smtp_server, smtp_port, smtp_ssl_mode) with plaintext values
  4. Check for email credentials in group settings
    Review the group settings in the Discourse admin panel at /groups/:name/edit or query the groups table in the database for any group that has SMTP configuration stored
    Affected if Any group has SMTP or email credentials configured in its settings

A user is affected if they run a Discourse version within the affected ranges AND have group owners (without admin/moderator privileges) who can access the /groups/:name/logs.json endpoint and see plaintext email/SMTP credentials.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 2026.1.0 / 2026.1.4 / 2026.3.1 or later
Fixed in 2026.1.02026.1.42026.3.1
Interim mitigation

Upgrade Discourse to version 2026.1.4, 2026.3.1, 2026.4.1, or 2026.5.0-latest.1 to patch the credential exposure in the group history log. Audit group ownership and logs to determine if unauthorized credential access has occurred.

Recommended fix High confidence

2026.1.4, 2026.3.1, 2026.4.1, or 2026.5.0-latest

  1. Identify the current Discourse version running in your environment
  2. Plan maintenance window for the upgrade
  3. Upgrade Discourse to version 2026.1.4, 2026.3.1, 2026.4.1, or the latest stable 2026.5.0-latest
  4. After upgrade, verify the group history endpoint (/groups/:name/logs.json) no longer exposes SMTP credentials
  5. Review group ownership assignments to ensure only trusted users have group owner permissions

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Discourse Scoped from the published advisory
  • Consultation4.0 h
  • Implementation4.0 h
  • Testing3.0 h
  • Review / QA2.0 h
13.0 hours of engineering $2,330
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,728.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-44784 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-44784 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data