Skip to main content

JetBrains PyCharm CVE-2026-123854

| EUVDEUVD-2026-118314 MEDIUM
Inclusion of Functionality from Untrusted Control Sphere (CWE-829)
2026-11-06 JetBrains GHSA-p2w8-wjxp-vp5p
5.5
CVSS 3.1 · Vendor: JetBrains
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious Jupyter notebook widget module
  2. Exploit
    Deliver notebook to target developer
  3. Execution
    Victim opens notebook in PyCharm Safe Mode
  4. Impact
    Widget module executes arbitrary code

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Trusted source inclusion only
Exploitation Conditions

Exploitation requires a victim to open an attacker-crafted Jupyter notebook in PyCharm, where a malicious widget module triggers code execution. The critical condition is that this bypasses Safe Mode - the feature designed to open untrusted notebooks without executing their code - so users who deliberately rely on Safe Mode as a trust boundary are still exposed. Limiting factors: the attack is local (AV:L), requires the attacker to deliver the malicious notebook to the target, and depends on user interaction (UI:R) - the developer must actually open the crafted notebook; there is no remote or autonomous trigger. Only versions before PyCharm 2026.3 are affected.

Impact

This is a moderate-risk, low-urgency issue consistent with its medium severity (CVSS 5.5) and the vuln.today 'this_month' decision label - not an emergency. The provided CVSS vector (AV:L/AC:L/PR:N/UI:R/S:U) describes a local attack requiring victim interaction: the attacker cannot reach the IDE over the network but must get a developer to open a crafted Jupyter notebook. PR:N indicates no authentication is needed on the attacker's side. There is no CISA KEV listing and no EPSS score supplied, so there is no signal of active or widespread exploitation; the single reference is the JetBrains fixed-issues page, not proof-of-concept code, so this should be treated as 'no public exploit identified at time of analysis' rather than exploited. The most notable feature is that execution occurs in Safe Mode - the mode specifically intended to prevent untrusted notebooks from running code - so the real risk is that users relying on Safe Mode as a protective boundary are not actually protected. One inconsistency to verify: the input CVSS marks impact as C:H/I:N/A:N, yet the description states 'code execution was possible,' which normally implies full confidentiality, integrity, and availability impact; the recorded vector likely understates integrity/availability impact.

Exploit ScenarioDerived

An attacker crafts a malicious Jupyter notebook whose widget module triggers code execution and distributes it (e.g., via a shared repository, data-science dataset, or email). A developer opens the notebook in a vulnerable PyCharm, trusting Safe Mode to contain any embedded code, and the crafted widget module executes attacker-controlled code in the developer's context. No public exploit code is identified at time of analysis; only a vendor fixed-issues reference exists.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 06, 2026

Code execution in JetBrains PyCharm versions before 2026.3 can be triggered by opening an attacker-crafted Jupyter notebook whose malicious widget module bypasses Safe Mode, the feature intended to prevent notebook code from running. An attacker who can deliver the notebook to a developer can execute code in the IDE context once the file is opened, so the local access and user-interaction requirements do not remove the Safe Mode trust-boundary failure. No public exploit identified at time of analysis, and the issue is prioritized for this month rather than immediate emergency action.

RemediationAI

Upgrade JetBrains PyCharm to 2026.3 or later; this is the vendor-released patch for the Safe Mode code-execution flaw. Until the upgrade is applied, do not rely on Safe Mode as a trust boundary for untrusted notebooks: avoid opening Jupyter notebooks from external or unverified sources and restrict notebook distribution to trusted channels, accepting that this reduces rather than eliminates exposure because Safe Mode itself is bypassed. The vendor advisory is https://www.jetbrains.com/privacy-security/issues-fixed/.

Affected VersionsENISA

PyCharm 0 <2026.3

Affected Packages

euvd pycharm fix: 2026.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

JetBrains PyCharm is an IDE with Jupyter notebook integration that can load widget modules associated with notebooks. CWE-829 describes inclusion of functionality from an untrusted control sphere; here the crafted notebook is the untrusted sphere, and the widget module is the included functionality that Safe Mode is supposed to suppress. The advisory states code execution was possible in Safe Mode before 2026.3, but the supplied sources do not describe the precise loading or validation defect that lets the widget module escape Safe Mode. The CPE cpe:2.3:a:jetbrains:pycharm:*:*:*:*:*:*:*:* covers pre-2026.3 versions. The assessed vector is local (AV:L), no privileges (PR:N), user interaction required (UI:R), with high confidentiality, integrity and availability impact in the independent assessment, while the published CVSS base score is 5.5.

Know when Pycharm gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (JetBrains) PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
vuln.today AI 7.8 HIGH

Code execution from opening a crafted local notebook: AV:L and UI:R (victim opens file), PR:N, and full C/I/A impact since arbitrary code runs in the user context.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (JetBrains).

CVSS VectorVendor: JetBrains

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch available
Nov 06, 2026 - 17:18 EUVD
CVE Published
Nov 06, 2026 - 16:10 cve.org
MEDIUM 5.5

DescriptionCVE.org

In JetBrains PyCharm before 2026.3 code execution was possible in Safe Mode via a crafted Jupyter notebook widget module

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
High
one of the most widely used Python IDEs among developers
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2020-11694 HIGH POC
7.5 Apr 10

In JetBrains PyCharm 2019.2.5 and 2019.3 on Windows, Apple Notarization Service credentials were included. Rated high se

CVE-2026-65908 HIGH
8.6 Jul 23

Arbitrary code execution in JetBrains PyCharm before 2026.1.4 and 2026.2 lets an attacker who supplies a crafted project

CVE-2026-75060 HIGH
8.4 Aug 17

Code execution in JetBrains PyCharm before 2026.2.1 is possible through Jupyter MCP (Model Context Protocol) tools that

CVE-2024-37051 HIGH
7.5 Jun 10

GitHub access token could be exposed to third-party sites in JetBrains IDEs after version 2023.1 and less than: IntelliJ

CVE-2026-25847 HIGH
8.2 Feb 09

In JetBrains PyCharm before 2025.3.2 a DOM-based XSS on Jupyter viewer page was possible [CVSS 8.2 HIGH]

CVE-2026-118696 HIGH
8.0 Oct 30

The embedded browser in JetBrains desktop IDEs - IntelliJ IDEA, PyCharm, PhpStorm, RubyMine, WebStorm, GoLand, Rider, CL

CVE-2021-30005 HIGH
7.8 May 11

In JetBrains PyCharm before 2020.3.4, local code execution was possible because of insufficient checks when getting the

CVE-2022-29821 HIGH
7.7 Apr 28

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

CVE-2019-14958 HIGH
7.5 Oct 02

JetBrains PyCharm before 2019.2 was allocating a buffer of unknown size for one of the connection processes. Rated high

CVE-2026-49384 MEDIUM
6.1 May 29

Stored XSS in JetBrains PyCharm's Jupyter notebook Markdown cell renderer allows a remote, unauthenticated attacker to e

CVE-2026-75059 MEDIUM
4.4 Aug 17

Cross-site scripting in JetBrains PyCharm's Quick Documentation rendering feature (before version 2026.2.1) enables code

CVE-2022-29820 LOW
3.5 Apr 28

In JetBrains PyCharm before 2022.1 exposure of the debugger port to the internal network was possible. Rated low severit

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy