# CVE-2022-36066: Discourse vulnerable to RCE via admins uploading maliciously zipped file

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.10%, higher than 82% of CVEs (2026-12-02)
- Published: 2022-09-29T19:35:09.000Z
- Modified: 2026-09-10T16:00:44.430Z
- Also known as: BIT-DISCOURSE-2022-36066, GHSA-grvh-qcpg-hfmv
- Weaknesses: CWE-434
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- discourse discourse: < 2.8.9; >= 2.9.0.beta0, < 2.9.0.beta10; before 2.8.9; 2.9.0
- discourse (Bitnami): before 2.8.9

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://github.com/discourse/discourse/security/advisories/GHSA-grvh-qcpg-hfmv> (advisory, third-party-advisory)
- <https://github.com/discourse/discourse/pull/18421> (advisory, patch, third-party-advisory)
- <https://github.com/discourse/discourse/commit/b27d5626d208a22c516a0adfda7554b67b493835> (advisory, patch, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-36066> (web)

## Sources

- CVE List: [CVE-2022-36066](https://www.cve.org/CVERecord?id=CVE-2022-36066), CVE Terms of Use, modified 2025-04-23
- NVD: [CVE-2022-36066](https://nvd.nist.gov/vuln/detail/CVE-2022-36066), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-DISCOURSE-2022-36066](https://osv.dev/vulnerability/BIT-DISCOURSE-2022-36066), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2022-36066 · Whole record: https://cve.day/CVE-2022-36066.json · Rebuilt by cve.day 2026-11-25T22:58:15.376Z
