{"id":"CVE-2026-33393","aliases":["CVE-2026-33393","BIT-DISCOURSE-2026-33393","GHSA-95r5-p6qr-hgw6"],"related":[],"kind":"vulnerability","state":"published","title":"Discourse fixes loose hostname matching in spam host allowlist","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Discourse es una plataforma de discusión de código abierto. Antes de las versiones 2026.3.0-latest.1, 2026.2.1 y 2026.1.2, la verificación 'allowed_spam_host_domains' utilizaba 'String#end_with?' sin validación de límites de dominio, lo que permitía que dominios como 'attacker-example.com' eludieran la protección contra el correo no deseado cuando 'example.com' estaba en lista blanca. Las versiones 2026.3.0-latest.1, 2026.2.1 y 2026.1.2 requieren una coincidencia exacta o una coincidencia de subdominio adecuada (precedida por '.') para evitar la elusión basada en sufijos de 'newuser_spam_host_threshold'. No hay soluciones alternativas conocidas disponibles.","source":"nvd"},{"lang":"en","text":"Discourse is an open-source discussion platform. Prior to versions 2026.3.0, 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, 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.","format":"markdown","source":"bitnami"}],"published":"2026-03-19T22:04:26.484Z","modified":"2026-09-08T08:46:30.849Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-284"],"affected":[{"ranges":[{"version":">= 2026.1.0-latest, < 2026.1.2","status":"affected"},{"version":">= 2026.2.0-latest, < 2026.2.1","status":"affected"},{"version":"= 2026.3.0-latest","status":"affected"}],"vendor":"discourse","product":"discourse","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2026.1.0","fixed":"2026.1.2"},{"status":"affected","introduced":"2026.2.0","fixed":"2026.2.1"},{"status":"affected","version":"2026.3.0"}],"vendor":"discourse","product":"discourse","cpe":"cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"2026.1.0","status":"affected","fixed":"2026.1.2"},{"type":"semver","introduced":"2026.2.0","status":"affected","fixed":"2026.2.1"},{"type":"semver","introduced":"2026.3.0","status":"affected","fixed":"2026.3.0"}],"ecosystem":"Bitnami","package":"discourse","purl":"pkg:bitnami/discourse","source":"bitnami"}],"references":[{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-95r5-p6qr-hgw6","tags":["advisory","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/discourse/discourse/commit/80b19c15fe9c7bc890d1a54f454c8446312ac6d2","tags":["fix","patch","x-refsource-misc"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/discourse/discourse/commit/d8467b9fbb3d9ed6047b4e508d3fef88a37b8a02","tags":["fix","patch","x-refsource-misc"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/discourse/discourse/commit/f99099cfbc6b76fe39d6fa2daa48efd69497fb8e","tags":["fix","patch","x-refsource-misc"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33393","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-20T20:15:06.393Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-33393","url":"https://www.cve.org/CVERecord?id=CVE-2026-33393","licence":"CVE Terms of Use","modified":"2026-03-20T20:15:16.294Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-33393","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33393","licence":"Public domain","modified":"2026-06-17T10:37:24.870Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-DISCOURSE-2026-33393","url":"https://osv.dev/vulnerability/BIT-DISCOURSE-2026-33393","licence":"Apache-2.0","modified":"2026-09-08T08:46:30.849Z"}],"updatedAt":"2026-11-25T22:59:16.222Z","epss":{"score":0.00292,"percentile":0.23418,"date":"2026-12-01T12:00:22.000Z"}}