7.4

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

Deferred
AliasesGHSA-cj5w-8mjf-r5f8PYSEC-2026-1483
Published 03-04-2025Last modified 04-04-2025

Vulnerability summary

CVE-2025-30370 is a high (CVSS 7.4) vulnerability in jupyterlab jupyterlab-git. EPSS estimates a 0.76% chance of exploitation in the next 30 days, higher than 56.4% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.4, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.4/10
010
High · v3.1 (CVE.org)
EPSS score
0.76%
0%100%
Low · +0.16 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 03-04-2025
    PublishedVulnerability first disclosed.
  2. 04-04-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.76%

Chance of exploitation in the next 30 days

Percentile

56%

Versus all other CVEs

30-day change

Increase +0.16 pp

From 0.60% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

Jupyterlab1 product
PyPI1 product
  • jupyterlab-git< 0.51.1

2 vendors · 2 products

References

8 links