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…

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 allows crafted notebook cell attachment filenames to cause arbitrary file writes outside the intended output directory. This occurs because the ExtractAttachmentsPreprocessor does not sanitize attachment filenames before writing to the filesystem. The issue is patched in version 7. 17. 1.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/21/2026, 05:33:47 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 up to 7.17.0. The vulnerability arises from the ExtractAttachmentsPreprocessor passing attachment filenames directly to the filesystem without sanitization. This enables an attacker to control the destination path and file extension, allowing arbitrary file writes outside the intended directory. The vulnerability has a CVSS 3.1 score of 6.5, indicating a medium severity. Version 7.17.1 includes a patch that addresses this issue.

Potential Impact

Exploitation of this vulnerability allows an attacker to write files to arbitrary locations on the filesystem where nbconvert is run, potentially overwriting critical files or placing malicious files. This can lead to integrity violations but does not directly impact confidentiality or availability according to the CVSS vector. No known exploits in the wild have been reported.

Mitigation Recommendations

Upgrade jupyter nbconvert to version 7.17.1 or later, which contains the official patch for this vulnerability. Until the upgrade is applied, avoid processing untrusted notebooks containing crafted cell attachments. Patch status is confirmed by the vendor's versioning information.

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/21/2026, 5:33:47 AM

Last updated: 4/21/2026, 7:46:41 AM

Views: 6

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