SQL Injection Vulnerability in Discourse Discussion Platform

Check todaySensitive data exposure over the network by a logged-in user.
7.1HIGH

CVE-2026-72731

Key Information:

Vendor

Discourse

Status
CVE ID
CVE ID:
CVE-2026-72731
Vendor
CVE Published:
10 August 2026
Fixed in
Fixed in:
2026.1.7, 2026.6.0-latest, 2026.6.2, 2026.7.0-latest, 2026.7.1 +1 more

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but needs a login
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Update to a fixed version
discourse < 2026.1.7 to below 2026.1.7 is vulnerable
discourse >= 2026.6.0-latest, < 2026.6.2 to below 2026.6.0-latest, 2026.6.2 is vulnerable
discourse >= 2026.7.0-latest, < 2026.7.1 to below 2026.7.0-latest, 2026.7.1 is vulnerable
discourse >= 2026.8.0-latest, < 2026.8.0-latest.1 to below 2026.8.0-latest, 2026.8.0-latest.1 is vulnerable

Install the discourse release that fixes your version line, or later:

2026.1.72026.6.0-latest, 2026.6.22026.7.0-latest, 2026.7.12026.8.0-latest, 2026.8.0-latest.1
Read the vendor advisory ↗
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach discourse. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Check today"
  • Its CVSS severity is high (7.1).

What is CVE-2026-72731?

Discourse, an open-source discussion platform, contains a vulnerability that allows users to exploit parameterized Data Explorer queries. Versions from 2026.1.0-latest to 2026.1.7, along with several others, are affected. Non-staff users can manipulate parameter values that can escape the intended query, executing arbitrary SQL via specific Ruby files. Although the queries are run in a read-only transaction, this flaw exposes sensitive data as it allows access to any readable table without modification capabilities. This issue has been addressed in the latest releases.

References

Authorization Flaw in Discourse

CVE-2026-44787
DiscourseDiscourse8.2HIGH

HTML Injection Flaw in Discourse Invitation System

CVE-2025-48062
DiscourseDiscourse7.1HIGH
View more Discourse vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

CVSS V3.1

Score:
7.1
Severity:
HIGH
Confidentiality:
High
Integrity:
Low
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged
.