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

Published Sep 29, 2022
·
Updated

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.

Affected Software

10 affected components
Discourse Discourse<2.8.9
Discourse Discourse=2.9.0-beta1
Discourse Discourse=2.9.0-beta2
Discourse Discourse=2.9.0-beta3
Discourse Discourse=2.9.0-beta4
Discourse Discourse=2.9.0-beta5
Discourse Discourse=2.9.0-beta6
Discourse Discourse=2.9.0-beta7
Discourse Discourse=2.9.0-beta8
Discourse Discourse=2.9.0-beta9

Event History

Sep 29, 2022
CVE Published
via MITRE·07:35 PM
Data Sourced
via MITRE·07:35 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2022-36066?

CVE-2022-36066 has a medium severity rating that could potentially allow an attacker to write files at arbitrary locations.

2

How do I fix CVE-2022-36066?

To fix CVE-2022-36066, upgrade Discourse to version 2.8.9 or later on the stable branch or to version 2.9.0.beta10 or later on the beta and tests-passed branches.

3

Which versions of Discourse are affected by CVE-2022-36066?

CVE-2022-36066 affects Discourse versions prior to 2.8.9 on the stable branch and prior to 2.9.0.beta10 on the beta and tests-passed branches.

4

What do I need to be aware of regarding file uploads in CVE-2022-36066?

CVE-2022-36066 allows admins to upload maliciously crafted Zip or Gzip Tar archives that could lead to severe consequences.

5

Is there a patch available for CVE-2022-36066?

Yes, a patch for CVE-2022-36066 is included in the updates for versions 2.8.9 and 2.9.0.beta10 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203