CVE-2022-36066 json
Discourse vulnerable to RCE via admins uploading maliciously zipped file
published 4y ago modified last mo. also BIT-discourse-2022-36066 , EUVD-2022-38828 , GHSA-grvh-qcpg-hfmv
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 81%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami discourse 2.8.9
- discourse discourse 2.8.9
- github.com/discourse/discourse@b27d562 commit
- github.com/discourse/discourse#18421 pull request
Is CVE-2022-36066 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- last yr.
Exploit prediction
2.08% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | discourse | <2.8.9 |
2.8.9 |
Affected products
- discourse discourse
Classification
- Weakness
-
- CWE-434 Unrestricted Upload of File with Dangerous Type
References
-
github.com
/discourse/discourse/pull/18421
patch, third-party-advisory, advisory
-
github.com
/discourse/discourse/commit/b27d5626d208a22c516a0adfda7554b67b493835
patch, third-party-advisory, advisory
-
github.com
/discourse/discourse/security/advisories/GHSA-grvh-qcpg-hfmv
third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-36066
web
Sources
- CVE List CVE-2022-36066
- NVD CVE-2022-36066
- OSV BIT-discourse-2022-36066
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.