{"id":"CVE-2022-36066","aliases":["CVE-2022-36066","BIT-DISCOURSE-2022-36066","GHSA-grvh-qcpg-hfmv"],"related":[],"kind":"vulnerability","state":"published","title":"Discourse vulnerable to RCE via admins uploading maliciously zipped file","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Discourse es una plataforma de debate de código abierto. En versiones anteriores a 2.8.9 en la rama \"stable\" y anteriores a 2.9.0.beta10 en las ramas \"beta\" y \"tests-passed\", los administradores pueden descargar un archivo Zip o Gzip Tar diseñado de forma maliciosa para escribir archivos en ubicaciones arbitrarias y desencadenar una ejecución de código remota. El problema está parcheado en versión 2.8.9 en la rama \"stable\" y en versión 2.9.0.beta10 en las ramas \"beta\" y \"tests-passed\". No se presentan mitigaciones conocidas","source":"nvd"}],"published":"2022-09-29T19:35:09.000Z","modified":"2026-09-10T16:00:44.430Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-434"],"affected":[{"ranges":[{"version":"< 2.8.9","status":"affected"},{"version":">= 2.9.0.beta0, < 2.9.0.beta10","status":"affected"}],"vendor":"discourse","product":"discourse","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.8.9"},{"status":"affected","version":"2.9.0"},{"status":"affected","version":"2.9.0"},{"status":"affected","version":"2.9.0"},{"status":"affected","version":"2.9.0"},{"status":"affected","version":"2.9.0"},{"status":"affected","version":"2.9.0"},{"status":"affected","version":"2.9.0"},{"status":"affected","version":"2.9.0"},{"status":"affected","version":"2.9.0"}],"vendor":"discourse","product":"discourse","cpe":"cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.8.9"}],"ecosystem":"Bitnami","package":"discourse","purl":"pkg:bitnami/discourse","source":"bitnami"}],"references":[{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-grvh-qcpg-hfmv","tags":["advisory","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/discourse/discourse/pull/18421","tags":["advisory","patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/discourse/discourse/commit/b27d5626d208a22c516a0adfda7554b67b493835","tags":["advisory","patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36066","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-04-23T15:48:34.586Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-36066","url":"https://www.cve.org/CVERecord?id=CVE-2022-36066","licence":"CVE Terms of Use","modified":"2025-04-23T16:53:48.162Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-36066","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36066","licence":"Public domain","modified":"2026-06-17T04:52:50.757Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-DISCOURSE-2022-36066","url":"https://osv.dev/vulnerability/BIT-DISCOURSE-2022-36066","licence":"Apache-2.0","modified":"2026-09-10T16:00:44.430Z"}],"updatedAt":"2026-11-25T22:58:15.376Z","epss":{"score":0.02104,"percentile":0.8229,"date":"2026-12-02T12:00:21.000Z"}}