CVE-2022-36066
highpriority · track · 30EPSS 0.021 · 81 %ileEUUSEPSS · scored 2026-10-27
Discourse is an open source discussion platform. In versions prior to 2.8.9 on the `stable` branch and prior to 2.9.0.beta10 on the `beta` and `tests-passed` branches, admins can upload a maliciously crafted Zip or Gzip Tar archive to write files at arbitrary locations and trigger remote code execution. The problem is patched in version 2.8.9 on the `stable` branch and version 2.9.0.beta10 on the `beta` and `tests-passed` branches. There are no known workarounds.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 6.6–9.1
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (5)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- BIT-discourse-2022-36066Discourse vulnerable to RCE via admins uploading maliciously zipped file2024-03-06vendor · osvUS
Discourse is an open source discussion platform. In versions prior to 2.8.9 on the `stable` branch and prior to 2.9.0.beta10 on the `beta` and `tests-passed` branches, admins can upload a maliciously crafted Zip or Gzip Tar archive to write files at arbitrary locations and trigger remote code execution. The problem is patched in version 2.8.9 on the `stable` branch and version 2.9.0.beta10 on the `beta` and `tests-passed` branches. There are no known workarounds.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (11)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-36066/cnnvd
- https://github.com/discourse/discourse/commit/b27d5626d208a22c516a0adfda7554b67b493835cnnvd
- https://github.com/discourse/discourse/pull/18421cnnvd
- https://github.com/discourse/discourse/security/advisories/GHSA-grvh-qcpg-hfmvcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2022-36066cnnvd
- https://github.com/discourse/discourse/commit/b27d5626d208a22c516a0adfda7554b67b493835enisa_euvd
- https://github.com/discourse/discourse/pull/18421enisa_euvd
- https://github.com/discourse/discourse/security/advisories/GHSA-grvh-qcpg-hfmvenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan