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 85%

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

0
Medium
VulnerabilityCVE-2026-39377cvecve-2026-39377cwe-22cwe-73
Published: Tue Apr 21 2026 (04/21/2026, 00:14:59 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. The vulnerability arises from the ExtractAttachmentsPreprocessor component, which does not sanitize attachment filenames, allowing crafted filenames to write files outside the intended output directory. This enables an attacker to control the destination path and file extension of arbitrary files written to the filesystem. Version 7. 17. 1 includes a patch addressing this issue. The vulnerability has a medium severity with a CVSS score of 6.

CVSS v3.1

Score 6.5medium

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

AI-Powered Analysis

Machine-generated threat intelligence

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

Technical Analysis

The jupyter nbconvert tool, used to convert Jupyter notebooks to other formats via Jinja templates, contains a path traversal vulnerability (CWE-22) in versions 6.5 through 7.17.0. The ExtractAttachmentsPreprocessor component passes attachment filenames directly to the filesystem without sanitization, allowing crafted filenames to escape the intended output directory and write arbitrary files. This vulnerability permits full control over the file path and extension of files written during notebook conversion. The issue is fixed in version 7.17.1.

Potential Impact

An attacker can write arbitrary files to locations outside the intended output directory when processing maliciously crafted notebooks. This can lead to unauthorized file creation or modification, potentially impacting system integrity. The vulnerability does not affect confidentiality or availability directly and requires user interaction to trigger. No known exploits are reported in the wild.

Mitigation Recommendations

Upgrade jupyter nbconvert to version 7.17.1 or later, which contains a patch for this vulnerability. Until upgraded, avoid processing untrusted notebooks with nbconvert to prevent exploitation. Patch status is confirmed by the vendor's versioning information indicating the fix in 7.17.1.

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: 69e70c3119fe3cd2cda1990e

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

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

Last updated: 6/4/2026, 12:45:17 AM

Views: 85

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