PT-2025-14811 · Unknown · Jupyterlab-Git

Published

2025-04-03

·

Updated

2025-04-04

·

CVE-2025-30370

CVSS v3.1

7.4

High

VectorAV:L/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:H
Name of the Vulnerable Software and Affected Versions jupyterlab-git versions prior to 0.51.1
Description The issue arises when a user opens a maliciously named Git repository in jupyterlab-git and clicks "Git > Open Git Repository in Terminal" from the menu bar. This action can lead to the execution of injected commands in the user's shell without permission. The problem occurs because jupyterlab-git runs cd <git-repo-path> through the shell to set the current directory, which can execute command substitution strings present in the directory name. A previous patch did not fully address the issue.
Recommendations For versions prior to 0.51.1, update to version 0.51.1 to resolve the issue. As a temporary workaround, consider avoiding the use of the "Git > Open Git Repository in Terminal" menu entry until the update is applied. Restrict access to maliciously named Git repositories to minimize the risk of exploitation.

Exploit

Fix

OS Command Injection

Weakness Enumeration

Related Identifiers

BDU:2025-03877
CVE-2025-30370
GHSA-CJ5W-8MJF-R5F8

Affected Products

Jupyterlab-Git