Skip to content
HighVulnerability

CVE-2025-30370: jupyterlab-git command injection via Git repository directory names

Identifier
CVE-2025-30370
Published
Record updated
View JSON
Affected
  • jupyterlab-git < 0.51.1
Fixed in
0.51.1
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.8%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

jupyterlab-git, a JupyterLab extension for Git version control, contains a command injection flaw tracked as CVE-2025-30370. A third party can create a Git repository whose directory name includes a $(<command>) substitution string, which macOS and most Linux distributions allow. When a user opens such a repository from a parent directory and selects "Git > Open Git Repository in Terminal", the extension runs cd <git-repo-path> through the shell, so the embedded command executes without the user's permission. A previous patch was incomplete.

Mitigation

Fixed in 0.51.1.