Discourse
cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*
- >= 2026.2.0-latest
- >= 2026.1.0-latest
A type coercion vulnerability has been identified in Discourse, an open-source discussion platform, prior to versions 2026.3.0-latest.1, 2026.2.1, and 2026.1.2. The issue resides in a post actions API endpoint, where non-staff users were able to issue warnings to other users. Warnings are intended for staff-only moderation. This vulnerability required the user to be logged in and to send a specially crafted request. While it allowed the creation of unauthorized user warnings, it did not lead to any data exposure or privilege escalation beyond this.
Exploitation of this vulnerability allowed non-staff users to bypass moderation controls and issue warnings to other users, a capability reserved for staff members.
To reproduce this vulnerability, a logged-in non-staff user can send a request to the post actions API endpoint, including the 'is_warning' parameter. The absence of proper type casting allows the parameter to be interpreted as a boolean true, bypassing authorization checks and enabling the user to issue a warning.
Users can update to Discourse versions 2026.3.0-latest.1, 2026.2.1, or 2026.1.2, all of which include the necessary patch.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.