Live threats

All CVEs / Discourse

CVE-2022-39241Discourse

Medium 4.9

Priority
29
CVSS 3.1
4.9
EPSS
0.7%
probability of exploitation in 30 days · percentile 50
Auth required
Yes
Published
Nov 2, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-918
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

What happens

Discourse is a platform for community discussion. A malicious admin could use this vulnerability to perform port enumeration on the local host or other hosts on the internal network, as well as against hosts on the Internet. Latest `stable`, `beta`, and `test-passed` versions are now patched. As a workaround, self-hosters can use `DISCOURSE_BLOCKED_IP_BLOCKS` env var (which overrides `blocked_ip_blocks` setting) to stop webhooks from accessing private IPs.

Original NVD text.

What to do

  1. Apply the vendor's security update for Discourse.

Affected products (CPE)

VendorProductVersions
discoursediscourse< 2.8.10
discoursediscourse2.9.0
discoursediscourse2.9.0
discoursediscourse2.9.0
discoursediscourse2.9.0
discoursediscourse2.9.0
discoursediscourse2.9.0
discoursediscourse2.9.0
discoursediscourse2.9.0
discoursediscourse2.9.0
discoursediscourse2.9.0

Official sources

References

Links published by the sources. Open them with care.