SQL Injection Vulnerability in Discourse Discussion Platform
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
Install the discourse release that fixes your version line, or later:
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
More Discourse Vulnerabilities
Authorization Flaw in Discourse
HTML Injection Flaw in Discourse Invitation System
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction