# CVE-2025-30167: Jupyter Core on Windows Has Uncontrolled Search Path Element Local Privilege Escalation Vulnerability

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.3
- **CVSS:** 7.3 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.27% (percentile 12, 2026-11-26)
- **CWE:** CWE-427
- **Aliases:** GHSA-33p9-3p43-82vq, PYSEC-2026-1477
- **Published:** 2025-06-03T16:42:16.357Z
- **Modified:** 2026-09-10T03:50:24.754Z

## Who should check

- Projects that depend on PyPI package jupyter-core (\< 5.8.1)
- Anyone running jupyter\_core \< 5.8.0

## Description

Jupyter Core is a package for the core common functionality of Jupyter projects. When using Jupyter Core prior to version 5.8.0 on Windows, the shared \`%PROGRAMDATA%\` directory is searched for configuration files (\`SYSTEM\_CONFIG\_PATH\` and \`SYSTEM\_JUPYTER\_PATH\`), which may allow users to create configuration files affecting other users. Only shared Windows systems with multiple users and unprotected \`%PROGRAMDATA%\` are affected. Users should upgrade to Jupyter Core version 5.8.0 or later to receive a patch. Some other mitigations are available. As administrator, modify the permissions on the \`%PROGRAMDATA%\` directory so it is not writable by unauthorized users; or as administrator, create the \`%PROGRAMDATA%\\jupyter\` directory with appropriately restrictive permissions; or as user or administrator, set the \`%PROGRAMDATA%\` environment variable to a directory with appropriately restrictive permissions (e.g. controlled by administrators \_or\_ the current user).

## Affected and fixed versions

- PyPI `jupyter-core`: affected \< 5.8.1; fixed 5.8.1 (osv)
- jupyter\_core: \< 5.8.0 (cvelist)

## Mitigation

- Upgrade jupyter-core to 5.8.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-30167. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-30167.md
Affected: jupyter-core < 5.8.1
Fixed in: 5.8.1

Steps:
1. Search this machine and project for jupyter-core (PyPI), jupyter_core: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-30167 being exploited?

There is no confirmed exploitation: CVE-2025-30167 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-30167?

High: CVSS 7.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2025-30167?

jupyter-core \< 5.8.1.

### Is there a fix for CVE-2025-30167?

Yes. Fixed in 5.8.1. Upgrade jupyter-core to 5.8.1 or later.

### How do I check if I'm affected by CVE-2025-30167?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/jupyter/jupyter_core/security/advisories/GHSA-33p9-3p43-82vq>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-30167>
- vendor: <https://github.com/advisories/GHSA-33p9-3p43-82vq>
- patch: <https://github.com/jupyter/jupyter_core/commit/5e8965600adda6b416692ce7e85ecb2bd814bd52>
- other: <https://github.com/jupyter/jupyter_core>
- other: <https://pypi.org/project/jupyter-core>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-30167>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-33p9-3p43-82vq> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-1477> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-30167> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-30167>
