Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.0%top 88%

CVE-2026-39378: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in jupyter nbconvert

0
Medium
VulnerabilityCVE-2026-39378cvecve-2026-39378cwe-22cwe-73
Published: Tue Apr 21 2026 (04/21/2026, 00:17:00 UTC)
Source: CVE Database V5
Vendor/Project: jupyter
Product: nbconvert

Description

A path traversal vulnerability exists in jupyter nbconvert versions 6. 5 through 7. 17. 0 when the HTMLExporter. embed_images option is enabled. This flaw allows a malicious notebook to read arbitrary files from the host system by embedding them as base64 data URIs in the output HTML. The vulnerability is fixed in version 7. 17. 1. By default, HTMLExporter.

CVSS v3.1

Score 6.5medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/28/2026, 06:05:44 UTC

Technical Analysis

The nbconvert tool in jupyter converts notebooks to other formats using Jinja templates. In affected versions (6.5 to before 7.17.1), enabling HTMLExporter.embed_images causes the markdown renderer to improperly restrict pathnames, allowing path traversal attacks. This enables reading arbitrary files from the host during conversion, which can be exfiltrated as embedded base64 images in the HTML output. The issue is addressed in nbconvert 7.17.1. Disabling the embed_images option prevents exploitation.

Potential Impact

An attacker who can supply a malicious notebook and trigger conversion with embed_images enabled can read sensitive files from the conversion host. This leads to confidentiality loss of arbitrary files. There is no impact on integrity or availability. The CVSS score is 6.5 (medium severity), reflecting network attack vector, low complexity, no privileges required, user interaction needed, and high confidentiality impact.

Mitigation Recommendations

Upgrade to jupyter nbconvert version 7.17.1 or later where the vulnerability is fixed. If upgrading is not immediately possible, do not enable the HTMLExporter.embed_images option, as it is disabled by default and enabling it triggers the vulnerability. No other specific mitigations are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-06T21:29:17.350Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69e70c3119fe3cd2cda19912

Added to database: 4/21/2026, 5:33:37 AM

Last enriched: 4/28/2026, 6:05:44 AM

Last updated: 6/5/2026, 2:37:27 PM

Views: 96

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses