9.1
CRITICAL CVSS 3.1
CVE-2022-36066
Discourse vulnerable to RCE via admins uploading maliciously zipped file
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.

INFO

Published Date :

Sept. 29, 2022, 8:15 p.m.

Last Modified :

Nov. 21, 2024, 7:12 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2022-36066 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Discourse discourse
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 CRITICAL [email protected]
CVSS 3.1 HIGH [email protected]
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-36066.

URL Resource
https://github.com/discourse/discourse/commit/b27d5626d208a22c516a0adfda7554b67b493835 Patch Third Party Advisory
https://github.com/discourse/discourse/pull/18421 Patch Third Party Advisory
https://github.com/discourse/discourse/security/advisories/GHSA-grvh-qcpg-hfmv Third Party Advisory
https://github.com/discourse/discourse/commit/b27d5626d208a22c516a0adfda7554b67b493835 Patch Third Party Advisory
https://github.com/discourse/discourse/pull/18421 Patch Third Party Advisory
https://github.com/discourse/discourse/security/advisories/GHSA-grvh-qcpg-hfmv Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-36066 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-36066 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-36066 vulnerability anywhere in the article.

  • Daily CyberSecurity
CVE-2025-48387: Critical tar-fs Vulnerability Exposes Millions to Arbitrary File Writes

A newly disclosed vulnerability in the widely used tar-fs NPM package has raised alarms across the software development community. Security researcher Caleb Brown uncovered a critical flaw, tracked as ... Read more

Published Date: Aug 18, 2025 (2 weeks, 4 days ago)
  • Daily CyberSecurity
Meta’s Q1 2025 Report: Dismantling Covert Influence Campaigns from China, Iran, and Romania

Meta has taken down three covert influence campaigns (CIBs) originating from China, Iran, and Romania, according to its latest Adversarial Threat Report for Q1 2025. The coordinated efforts—designed t ... Read more

Published Date: Jun 02, 2025 (3 months ago)
  • Cybersecurity News
Vim Users Warned: Crafted TAR Files Could Trigger Code Execution (CVE-2025-27423)

A newly discovered vulnerability in the popular text editor Vim could allow malicious actors to execute arbitrary code on unsuspecting users’ systems. The flaw, tracked as CVE-2025-27423, resides with ... Read more

Published Date: Mar 05, 2025 (6 months ago)
  • Cybersecurity News
OpenAI Purges ChatGPT Accounts: China and North Korea Weaponizing AI for Propaganda

OpenAI has confirmed that it has begun blocking accounts linked to Chinese and North Korean users who have been leveraging ChatGPT to monitor and influence social media discourse.While OpenAI has not ... Read more

Published Date: Feb 25, 2025 (6 months, 1 week ago)

The following table lists the changes that have been made to the CVE-2022-36066 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/discourse/discourse/commit/b27d5626d208a22c516a0adfda7554b67b493835
    Added Reference https://github.com/discourse/discourse/pull/18421
    Added Reference https://github.com/discourse/discourse/security/advisories/GHSA-grvh-qcpg-hfmv
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Oct. 06, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/discourse/discourse/commit/b27d5626d208a22c516a0adfda7554b67b493835 No Types Assigned https://github.com/discourse/discourse/commit/b27d5626d208a22c516a0adfda7554b67b493835 Patch, Third Party Advisory
    Changed Reference Type https://github.com/discourse/discourse/pull/18421 No Types Assigned https://github.com/discourse/discourse/pull/18421 Patch, Third Party Advisory
    Changed Reference Type https://github.com/discourse/discourse/security/advisories/GHSA-grvh-qcpg-hfmv No Types Assigned https://github.com/discourse/discourse/security/advisories/GHSA-grvh-qcpg-hfmv Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:* versions up to (excluding) 2.8.9 *cpe:2.3:a:discourse:discourse:2.9.0:beta1:*:*:*:*:*:* *cpe:2.3:a:discourse:discourse:2.9.0:beta2:*:*:*:*:*:* *cpe:2.3:a:discourse:discourse:2.9.0:beta3:*:*:*:*:*:* *cpe:2.3:a:discourse:discourse:2.9.0:beta4:*:*:*:*:*:* *cpe:2.3:a:discourse:discourse:2.9.0:beta5:*:*:*:*:*:* *cpe:2.3:a:discourse:discourse:2.9.0:beta6:*:*:*:*:*:* *cpe:2.3:a:discourse:discourse:2.9.0:beta7:*:*:*:*:*:* *cpe:2.3:a:discourse:discourse:2.9.0:beta8:*:*:*:*:*:* *cpe:2.3:a:discourse:discourse:2.9.0:beta9:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 9.1
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

1.26 }} -0.24%

score

0.78531

percentile