# CVE-2022-29821: PyCharm Professional Edition and 2 others: Improper Control of Generation of Code ('Code Injection')

CVE-2022-29821 is fixed in 2 products on 1 platform, first by PyCharm Community Edition 2022.1, released April 12, 2022. 2 other affected products have no fix yet. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2022-29821
- Priority: High
- CVSS: 7.7
- EPSS: 0.0023
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 28, 2022
- Weakness: CWE-94: Improper Control of Generation of Code ('Code Injection')
- Vendor advisory: https://nvd.nist.gov/vuln/detail/CVE-2022-29821

## Description

In JetBrains Rider before 2022.1 local code execution via links in ReSharper Quick Documentation was possible

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Windows apps | PyCharm Community Edition | 2022.1 | [PyCharm Community Edition 2022.1](https://patchblox.com/security/data/fix/windows-app/jetbrains.pycharm.community-2022.1.md) | Apr 12, 2022 |
| Windows apps | PyCharm Professional Edition | 2022.1 | [PyCharm Professional Edition 2022.1](https://patchblox.com/security/data/fix/windows-app/jetbrains.pycharm.professional-2022.1.md) | Apr 12, 2022 |

## No fix yet

| Platform | Product | Status |
|---|---|---|
| Windows apps | PyCharm (EAP) | no-fix |
| Windows apps | PyCharm Professional Edition (EAP) | no-fix |

---

Data as of 2026-11-09T13:31:49Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
