7.4

CVE-2025-30370: jupyterlab jupyterlab-git OS Command Injection

CVSS: 7.4v3.1HighDeferred
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) OS Command Injection vulnerability in jupyterlab jupyterlab-git. EPSS estimates a 0.58% chance of exploitation in the next 30 days, higher than 46.9% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.4/10
010
High · v3.1 (CVE.org)
EPSS score
0.58%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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.58%

Chance of exploitation in the next 30 days

Percentile

47%

Versus all other CVEs

30-day change

0.00 pp

From 0.58% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.58%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Jupyterlab1 product
PyPI1 product
  • jupyterlab-git< 0.51.1

2 vendors · 2 products

References

8 links