CVE-2026-72731
Last modified
CVE-2026-72731 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. Discourse is an open-source discussion platform. From 2026.1.0-latest until 2026.1.7, 2026.6.2, 2026.7.1, and 2026.8.0-latest.1, anyone able to run a parameterized Data Explorer query, including non-staff members of a group a query is shared with, could craft parameter values that escaped the intended query and executed arbitrary SQL through plugins/discourse-data-explorer/lib/discourse_data_explorer/data_explorer.rb and plugins/discourse-data-explorer/lib/discourse_data_explorer/workflows/sql_action/v1.rb.
Description
Discourse is an open-source discussion platform. From 2026.1.0-latest until 2026.1.7, 2026.6.2, 2026.7.1, and 2026.8.0-latest.1, anyone able to run a parameterized Data Explorer query, including non-staff members of a group a query is shared with, could craft parameter values that escaped the intended query and executed arbitrary SQL through plugins/discourse-data-explorer/lib/discourse_data_explorer/data_explorer.rb and plugins/discourse-data-explorer/lib/discourse_data_explorer/workflows/sql_action/v1.rb. Recursive parameter interpolation allowed one parameter value to introduce another parameter, and parameter declarations in SQL comments could be used to inject a statement. Queries run in a read-only transaction, so data could not be modified, but any table could be read. This issue is fixed in versions 2026.1.7, 2026.6.2, 2026.7.1, and 2026.8.0-latest.1.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| discourse | discourse | < 2026.1.7; >= 2026.6.0-latest, < 2026.6.2; >= 2026.7.0-latest, < 2026.7.1; >= 2026.8.0-latest, < 2026.8.0-latest.1 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-72731?
How severe is CVE-2026-72731?
How do I fix CVE-2026-72731?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-72726Discourse is an open-source discussion platform. Prior to 20…6.5
- CVE-2026-72727Discourse is an open-source discussion platform. Prior to 02…4.8
- CVE-2026-72728Discourse is an open-source discussion platform. Prior to 20…6.3
- CVE-2026-72729Discourse is an open-source discussion platform. Prior to 20…2
- CVE-2026-7273A stack-based buffer overflow vulnerability in the CGI progr…8.8
- CVE-2026-72730Discourse is an open-source discussion platform. Prior to 20…8.7
- CVE-2026-72732Discourse is an open-source discussion platform. Prior to 20…4.3
- CVE-2026-72733Dokploy is a free, self-hostable Platform as a Service (PaaS…9.9
- CVE-2026-72734Dokploy is a free, self-hostable Platform as a Service (PaaS…8.4
- CVE-2026-72735Dokploy is a free, self-hostable Platform as a Service (PaaS…9.9
- CVE-2026-72736Dokploy is a free, self-hostable Platform as a Service (PaaS…9.9
- CVE-2026-72737Dokploy is a free, self-hostable Platform as a Service (PaaS…9.6
Are you affected by CVE-2026-72731?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
