CVE-2021-41163: Discourse - Remote Code Execution
- Cve: CVE-2021-41163
- Name: Discourse - Remote Code Execution
- Description: Discourse is an open source platform for community discussion. In affected versions maliciously crafted requests could lead to remote code execution. This resulted from a lack of validation in subscribe_url values. This issue is patched in the latest stable, beta and tests-passed versions of Discourse. To workaround the issue without updating, requests with a path starting /webhooks/aws path could be blocked at an upstream proxy.
- Impact: Attackers can execute arbitrary code remotely, potentially leading to full system compromise.
- Remediation: Update to the latest stable, beta, or tests-passed versions of Discourse.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.19812
- Epss percentile: 0.9746
- Assignee: [email protected]
- Published at: 2021-10-20T23:15:07Z
- Age in days: 1861
- Modified at: 2026-06-17T04:08:00Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-41163
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component |
Hackerone
- Reports: 21
- Rank: 1816
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/discourse/discourse/commit/fa3c46cf079d28b086fe1025349bb00223a5d5e9 | nvd | Patch, Third Party Advisory |
| https://github.com/discourse/discourse/security/advisories/GHSA-jcjx-pvpc-qgwq | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| discourse:discourse | = 2.8.0 beta6, = 2.8.0 beta5, = 2.8.0 beta4, = 2.8.0 beta3, = 2.8.0 beta1, = 2.8.0 beta2, < 2.7.9 | no | nvd | /v1/products/discourse/discourse |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| discourse/discourse | commit, fix, security_advisory | yes | /v1/repositories/discourse/discourse |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Hackerone reports: 21
- Exposed hosts: 22639
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since