Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-30370— jupyterlab-git has a command injection vulnerability in "Open Git Repository in Terminal"

Quick assessment

Affected
jupyterlab jupyterlab-git
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

jupyterlab-git是JupyterLab开源的一个 JupyterLab 的 Git 扩展。 jupyterlab-git存在安全漏洞,该漏洞源于目录名中包含命令替换字符串时可能导致命令注入。

CVSS 7.4 · High EPSS 0.58% · P46
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-30370

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
jupyterlab-git has a command injection vulnerability in "Open Git Repository in Terminal"
Source: CVE Program / CVE List V5
Vulnerability Description
jupyterlab-git is a JupyterLab extension for version control using Git. On many platforms, a third party can create a Git repository under a name that includes a shell command substitution string in the syntax $(<command>). These directory names are allowed in macOS and a majority of Linux distributions. If a user starts jupyter-lab in a parent directory of this inappropriately-named Git repository, opens it, and clicks "Git > Open Git Repository in Terminal" from the menu bar, then the injected command <command> is run in the user's shell without the user's permission. This issue is occurring because when that menu entry is clicked, jupyterlab-git opens the terminal and runs cd <git-repo-path> through the shell to set the current directory. Doing so runs any command substitution strings present in the directory name, which leads to the command injection issue described here. A previous patch provided an incomplete fix. This vulnerability is fixed in 0.51.1.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
jupyterlab-git 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
jupyterlab-git是JupyterLab开源的一个 JupyterLab 的 Git 扩展。 jupyterlab-git存在安全漏洞,该漏洞源于目录名中包含命令替换字符串时可能导致命令注入。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
jupyterlab jupyterlab-git < 0.51.1 -

II. Public POCs for CVE-2025-30370

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 6783 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2025-30370

请登录查看更多情报信息。

Patches & Fixes for CVE-2025-30370 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-30370

No comments yet


Leave a comment