Overview
The reported vulnerability CVE-2025-30370 is associated with jupyterlab-git, a prominent extension for version control using Git in JupyterLab. It allows potential adversaries to inject malicious commands into the system. This vulnerability puts numerous systems at risk, potentially leading to unauthorized system control or data leakage. The severity and widespread usage of this extension make this vulnerability a significant concern for cybersecurity.
Vulnerability Summary
CVE ID: CVE-2025-30370
Severity: High (7.4 CVSS Score)
Attack Vector: Local
Privileges Required: User
User Interaction: Required
Impact: Potential system compromise or data leakage
Affected Products
Share secrets securely
Ameeba is private infrastructure for communication and sensitive work built on encrypted identity instead of exposed corporate identity systems.
Passwords, credentials, confidential files, screenshots, internal discussions, sensitive AI context, and private coordination should not become exposed across ordinary communication platforms.
- • Encrypted identity
- • Private Spaces for organizations and teams
- • End-to-end encrypted chat, calls, files, and notes
- • Sensitive AI work and protected collaboration
- • Built for information that cannot leak
Our mission is to secure human work alongside AI.
Product | Affected Versions
jupyterlab-git | Versions prior to 0.51.1
How the Exploit Works
The vulnerability arises from the ability to create a Git repository with a name including a shell command substitution string. If a user initiates JupyterLab in a parent directory of this maliciously named Git repository, opens it, and clicks “Git > Open Git Repository in Terminal” from the menu bar, the injected command is executed in the user’s shell without the user’s permission. This is because the terminal opened by jupyterlab-git executes any command substitution strings present in the directory name, leading to the command injection vulnerability.
Conceptual Example Code
In this conceptual example, an adversary creates a Git repository with an embedded shell command:
$ git init "$(echo 'evilcommand')"
When a user interacts with this repository through jupyterlab-git, the ‘evilcommand’ would be executed unknowingly.
$ cd "$(echo 'evilcommand')"
Mitigation
To mitigate this vulnerability, users are advised to apply the vendor patch by updating the jupyterlab-git extension to version 0.51.1 or later. As a temporary measure, using Web Application Firewalls (WAF) or Intrusion Detection Systems (IDS) could help detect and prevent exploitation attempts. Users should also inspect Git repository names for command substitution strings before interacting with them.
