JupyterLab Git: Stored XSS leading to RCE
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.
Summary
JupyterLab Git is a Git extension for JupyterLab. From 0.30.0b3 before 0.54.0, the PlainTextDiff.ts createHeader() method passes Git filenames directly to innerHTML when rendering renamed files in commit history, allowing a crafted filename to execute JavaScript when a victim views the rename diff in the Git History tab. This issue is fixed in version 0.54.0.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| jupyterlab | jupyterlab-git | 0.30.0b3 to before 0.54.0 | 0.54.0 | Patch available | CNA |
| — | jupyterlab-git (PyPI) | 0.30.0b3 to before 0.54.0 | 0.54.0 | Patch available | GHSA-f962-v9hr-pfg5 |
| — | jupyterlab-git-core (PyPI) | 0.30.0b3 to before 0.54.0 | 0.54.0 | Patch available | GHSA-f962-v9hr-pfg5 |
| — | @jupyterlab/git (npm) | 0.30.0-beta.3 to before 0.54.0 | 0.54.0 | Patch available | GHSA-f962-v9hr-pfg5 |
- jupyterlab-git Vendorjupyterlab Affected 0.30.0b3 to before 0.54.0 Fixed in 0.54.0 Patch available CNA
- jupyterlab-git (PyPI) Vendor— Affected 0.30.0b3 to before 0.54.0 Fixed in 0.54.0 Patch available GHSA-f962-v9hr-pfg5
- jupyterlab-git-core (PyPI) Vendor— Affected 0.30.0b3 to before 0.54.0 Fixed in 0.54.0 Patch available GHSA-f962-v9hr-pfg5
- @jupyterlab/git (npm) Vendor— Affected 0.30.0-beta.3 to before 0.54.0 Fixed in 0.54.0 Patch available GHSA-f962-v9hr-pfg5
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:jupyter:jupyterlab-git:*:*:*:*:*:*:*:* | 0.30.1 to before 0.54.0 | Vulnerable | jupyterlab |
| cpe:2.3:a:jupyter:jupyterlab-git:0.30.0:-:*:*:*:*:*:* | 0.30.0 | Vulnerable | jupyterlab |
| cpe:2.3:a:jupyter:jupyterlab-git:0.30.0:beta3:*:*:*:*:*:* | 0.30.0 beta3 | Vulnerable | jupyterlab |
- cpe:2.3:a:jupyter:jupyterlab-git:*:*:*:*:*:*:*:* Versions 0.30.1 to before 0.54.0 Vulnerable ·jupyterlab
- cpe:2.3:a:jupyter:jupyterlab-git:0.30.0:-:*:*:*:*:*:* Versions 0.30.0 Vulnerable ·jupyterlab
- cpe:2.3:a:jupyter:jupyterlab-git:0.30.0:beta3:*:*:*:*:*:* Versions 0.30.0 beta3 Vulnerable ·jupyterlab
Remediation
- Fix · CNA jupyterlab-git (jupyterlab) Fixed in 0.54.0
- Fix · GHSA-f962-v9hr-pfg5 jupyterlab-git (PyPI) Fixed in 0.54.0 Advisory →
- Fix · GHSA-f962-v9hr-pfg5 jupyterlab-git-core (PyPI) Fixed in 0.54.0 Advisory →
- Fix · GHSA-f962-v9hr-pfg5 @jupyterlab/git (npm) Fixed in 0.54.0 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenShift AI (RHOAI) | Affected | No fix yet |
Not affected: 1 product
- Red Hat OpenShift AI (RHOAI)
Timeline
- 2026-10-02 Threatist record created from CVE-2026-54527
- 2026-10-03 Alias added: GHSA-f962-v9hr-pfg5
- 2026-10-24 Affected versions changed · Red Hat
- 2026-10-24 CVSS score added · Red Hat
References
Advisory 2
Other 6
- https://github.com/jupyterlab/jupyterlab-git/releases/tag/v0.54.0
- https://github.com/jupyterlab/jupyterlab-git
- https://github.com/pypa/advisory-database/tree/main/vulns/jupyterlab-git-core/PYSEC-2026-2541.yaml
- https://github.com/pypa/advisory-database/tree/main/vulns/jupyterlab-git/PYSEC-2026-2540.yaml
- https://pypi.org/project/jupyterlab-git
- https://pypi.org/project/jupyterlab-git-core
More Jupyterlab-git vulnerabilities
- TI-2026-39373 jupyterlab-git excluded_paths Case-Sensitivity Bypass Allows Reading Excluded Directories CVSS 3.1HIGH 7.1
Sources
- CVE-2026-54527 · CVE Program
- CVE-2026-54527 · NVD
- FIRST EPSS
- GHSA-f962-v9hr-pfg5 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-54527 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences