Home / discourse / discourse / CVE-2026-33393
CVE-2026-33393: is it exploited, and which versions of discourse are affected and fixed?
CVE-2026-33393 is an improper access control vulnerability in discourse. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: discourse >= 2026.1.0-latest, < 2026.1.2, discourse >= 2026.2.0-latest, < 2026.2.1 and discourse = 2026.3.0-latest (CVE record by GitHub_M). Fixed in 2026.1.2 and 2026.2.1 (NVD). Severity: Medium (4.3, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:12 UTC.
What is CVE-2026-33393?
Discourse fixes loose hostname matching in spam host allowlist
Discourse is an open-source discussion platform. Prior to versions 2026.3.0-latest.1, 2026.2.1, and 2026.1.2, the `allowed_spam_host_domains` check used `String#end_with?` without domain boundary validation, allowing domains like `attacker-example.com` to bypass spam protection when `example.com` was allowlisted. Versions 2026.3.0-latest.1, 2026.2.1, and 2026.1.2 require exact match or proper subdomain match (preceded by `.`) to prevent suffix-based bypass of `newuser_spam_host_threshold`. No known workarounds are available.
From the CVE record by GitHub_M, last updated March 20, 2026, 20:15 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| discourse | discourse | >= 2026.1.0-latest, < 2026.1.2 >= 2026.2.0-latest, < 2026.2.1 = 2026.3.0-latest |
As the CVE record by GitHub_M states it, last updated March 20, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| discourse | discourse | from 2026.1.0 before 2026.1.2 | application |
| discourse | discourse | from 2026.2.0 before 2026.2.1 | application |
| discourse | discourse | 2026.3.0 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 10:37 UTC.
How severe is CVE-2026-33393?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-33393 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, March 20, 2026)
- EPSS
- 0.29% probability of exploitation activity in the next 30 days, percentile 23.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-284 Improper Access Control
Where are the vendor advisories and references?
- https://github.com/discourse/discourse/security/advisories/GHSA-95r5-p6qr-hgw6 x_refsource_CONFIRM
- https://github.com/discourse/discourse/commit/80b19c15fe9c7bc890d1a54f454c8446312ac6d2 x_refsource_MISC
- https://github.com/discourse/discourse/commit/d8467b9fbb3d9ed6047b4e508d3fef88a37b8a02 x_refsource_MISC
- https://github.com/discourse/discourse/commit/f99099cfbc6b76fe39d6fa2daa48efd69497fb8e x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- March 19, 2026
- Published
- March 19, 2026, 22:04 UTC
- CVE record updated
- March 20, 2026, 20:15 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 10:37 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:12 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect discourse?
- Oct 22, 2026CVE-2017-20290 Discourse: cross-site scripting (XSS)
- Oct 14, 2026CVE-2026-91157 discourse: information disclosure
- Oct 14, 2026CVE-2026-91156 discourse: missing authorization
- Oct 14, 2026CVE-2026-91159 discourse: cross-site scripting (XSS)
- Sep 24, 2026CVE-2026-91119 discourse: cross-site scripting (XSS)
- Sep 24, 2026CVE-2026-91121 discourse: cross-site scripting (XSS)
- Sep 24, 2026CVE-2026-91120 discourse: cross-site scripting (XSS)
- Sep 24, 2026CVE-2026-91132 discourse: origin not validated
Questions about CVE-2026-33393
Is CVE-2026-33393 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.29% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of discourse are affected by CVE-2026-33393?
discourse >= 2026.1.0-latest, < 2026.1.2, discourse >= 2026.2.0-latest, < 2026.2.1 and discourse = 2026.3.0-latest, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2026-33393?
2026.1.2 and 2026.2.1, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-33393?
Medium (4.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-33393?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.