CWE
434
Advisory Published
Updated

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

First published: Thu 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.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Discourse<2.8.9
Discourse=2.9.0-beta1
Discourse=2.9.0-beta2
Discourse=2.9.0-beta3
Discourse=2.9.0-beta4
Discourse=2.9.0-beta5
Discourse=2.9.0-beta6
Discourse=2.9.0-beta7
Discourse=2.9.0-beta8
Discourse=2.9.0-beta9

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203