{"id":"CVE-2026-27491","summary":"Discourse has a bypass of official warnings messages by non-staff users","details":"Discourse is an open-source discussion platform. Prior to versions 2026.3.0-latest.1, 2026.2.1, and 2026.1.2, a type coercion issue in a post actions API endpoint allowed non-staff users to issue warnings to other users. Warnings are a staff-only moderation feature. The vulnerability required the attacker to be a logged-in user and to send a specifically crafted request. No data exposure or privilege escalation beyond the ability to create unauthorized user warnings was possible. Versions 2026.3.0-latest.1, 2026.2.1, and 2026.1.2 contain a patch. No known workarounds are available.","aliases":["BIT-discourse-2026-27491","GHSA-xq37-5fvf-4m4j"],"modified":"2026-08-12T03:51:41.204335262Z","published":"2026-03-19T20:47:54.668Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-862"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27491.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27491.json"},{"type":"ADVISORY","url":"https://github.com/discourse/discourse/security/advisories/GHSA-xq37-5fvf-4m4j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27491"},{"type":"FIX","url":"https://github.com/discourse/discourse/commit/60a588f4da4ab0feceb2c44787d4261b4f8757be"},{"type":"FIX","url":"https://github.com/discourse/discourse/commit/d3cb203feabc46d765ecb91f348613a2bd531b89"},{"type":"FIX","url":"https://github.com/discourse/discourse/commit/f5fef73827da7520efc517357bd2a6bab35d7886"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/discourse/discourse","events":[{"introduced":"322d3c0ac6a8f133b3f82875e9dbbe310f638c1b"},{"fixed":"808b2ac23d8ff421563b40203091026732471c60"},{"introduced":"f7cec86997edc21d6074ceb7666f7e2e6e1b1fdf"},{"fixed":"f38464e46df1b8c51f7d60826502476908d6bb2b"},{"introduced":"896e810e1b296478bba91559a8fc89a9926f11fe"},{"fixed":"60a588f4da4ab0feceb2c44787d4261b4f8757be"},{"fixed":"d3cb203feabc46d765ecb91f348613a2bd531b89"},{"fixed":"f5fef73827da7520efc517357bd2a6bab35d7886"}],"database_specific":{"source":["CPE_RANGE","CPE_STRING","REFERENCES"],"cpe":["cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*","cpe:2.3:a:discourse:discourse:2026.3.0:*:*:*:latest:*:*:*"],"extracted_events":[{"introduced":"2026.1.0"},{"fixed":"2026.1.2"},{"introduced":"2026.2.0"},{"fixed":"2026.2.1"},{"introduced":"2026.3.0"},{"last_affected":"2026.3.0"}]}}],"versions":["2026.3.0","= 2026.3.0-latest","v2026.1.1","v2026.2.0","v2026.3.0-latest","v2026.1.0","stable","esr","v2026.2.0-latest","v2026.1.0-latest"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-27491.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}]}