Directory Traversal Affecting jupyter-base-notebook package, versions <7.5.5-r4


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.36% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-WOLFILATEST-JUPYTERBASENOTEBOOK-16437129
  • published6 May 2026
  • disclosed23 Apr 2026

Introduced: 23 Apr 2026

CVE-2026-41205  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Wolfi jupyter-base-notebook to version 7.5.5-r4 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream jupyter-base-notebook package and not the jupyter-base-notebook package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

Mako is a template library written in Python. Prior to 1.3.11, TemplateLookup.get_template() is vulnerable to path traversal when a URI starts with // (e.g., //../../../secret.txt). The root cause is an inconsistency between two slash-stripping implementations. Any file readable by the process can be returned as rendered template content when an application passes untrusted input directly to TemplateLookup.get_template(). This vulnerability is fixed in 1.3.11.

CVSS Base Scores

version 3.1