CVE-2026-123854

PyCharm Safe Mode Code Execution via Jupyter Widget Module

Published Nov 6, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In JetBrains PyCharm before 2026.3 code execution was possible in Safe Mode via a crafted Jupyter notebook widget module

Analysis

AI-generated

Technical impact

In JetBrains PyCharm versions prior to 2026.3, a crafted Jupyter notebook widget module could be loaded while the IDE was running in Safe Mode, allowing an attacker to execute arbitrary code on the host machine. The vulnerability is a form of insecure code loading, classified as CWE‑829. The impact is that any user running the vulnerable PyCharm instance with Safe Mode enabled could run malicious code with the privileges of the user.

Affected Systems

Based on the CVE description, JetBrains PyCharm installations with a release date earlier than 2026.3 are affected. Users of the 2026.2 edition or any earlier version are potentially vulnerable if they use Safe Mode to open notebooks containing a malicious widget module.

Risk and Exploitability

The CVSS score of 5.5 indicates a medium level of severity. No EPSS score is available, and the issue is not listed in the CISA KEV catalog, suggesting it is a known but not widely exploited vulnerability. The likely attack would involve tricking a user into opening a specially crafted Jupyter notebook while Safe Mode is active, which would require local or social engineering access to a user’s environment. The vulnerability is therefore best viewed as a local code execution risk that could lead to data exposure or system compromise on the affected machine.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade PyCharm to version 2026.3 or later to remove the insecure widget loading in Safe Mode.
  • Disable Safe Mode when opening notebooks from untrusted sources to prevent malicious widget modules from being executed.
  • Avoid importing or enabling Jupyter widget modules from untrusted notebooks until the IDE has been updated to a patched version.

Generated by OpenCVE AI on November 6, 2026 at 18:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Jetbrains
Jetbrains pycharm
Vendors & Products Jetbrains
Jetbrains pycharm
Type Values Removed Values Added
Title PyCharm Safe Mode Code Execution via Jupyter Widget Module
Type Values Removed Values Added
Description In JetBrains PyCharm before 2026.3 code execution was possible in Safe Mode via a crafted Jupyter notebook widget module
Weaknesses CWE-829
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N'}

Weaknesses
  • CWE-829

    Inclusion of Functionality from Untrusted Control Sphere

Sources

Status
PUBLISHED
Assigner
JetBrains
Published
Updated
Nov 8, 2026, 1:01 AM
Reserved
Nov 6, 2026, 4:05 PM
Status
Awaiting Analysis
Published
Nov 6, 2026, 5:17 PM
Modified
Nov 8, 2026, 1:16 AM