Skip to content
Heist/ feed
Back to feed
High

Jupyter Core on Windows Has Uncontrolled Search Path Element Local Privilege Escalation Vulnerability

Type: advisorySources: OSV

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).

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-30167
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 11:52 UTC · Revision 1

Source evidence

Jupyter Core on Windows Has Uncontrolled Search Path Element Local Privilege Escalation Vulnerability

core-osv · Original source

Published 3 Jun 2025, 16:42 UTC

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).

osv:CVE-2025-30167
Complete source record
{
  "id": "c97ed736325ab992ecc95f399d5b67646cd0d79bad4aa85f9525e2ad8cd2fb76",
  "url": "https://osv.dev/vulnerability/CVE-2025-30167",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Jupyter Core on Windows Has Uncontrolled Search Path Element Local Privilege Escalation Vulnerability",
    "summary": "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).",
    "evidence": "osv:CVE-2025-30167",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-30167",
      "aliases": [
        "CVE-2025-30167",
        "GHSA-33p9-3p43-82vq",
        "PYSEC-2026-1477"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/jupyter/jupyter_core",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "ff5270b8a688af5494940b12dc347e9d563e8d91"
                },
                {
                  "fixed": "5e8965600adda6b416692ce7e85ecb2bd814bd52"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:jupyter:jupyter_core:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "5.8.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "5e8965600adda6b416692ce7e85ecb2bd814bd52"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v5.7.2",
            "v5.7.1",
            "v5.7.0",
            "v5.6.1",
            "v5.6.0",
            "v5.5.1",
            "v5.5.0",
            "v5.4.0",
            "v5.3.2",
            "v5.3.1",
            "v5.3.0",
            "v5.2.0",
            "v5.1.5",
            "v5.1.4",
            "v5.1.3",
            "v5.1.2",
            "v5.1.1",
            "v5.1.0",
            "v5.0.0",
            "5.0.0rc2",
            "4.11.1",
            "5.0.0rc1",
            "5.0.0rc0",
            "4.11.0",
            "4.10.0",
            "4.9.2",
            "4.9.1",
            "4.9.1rc0",
            "4.9.0",
            "4.9.0rc0",
            "4.8.0",
            "4.7.1",
            "4.7.0",
            "4.7.0rc0",
            "4.6.3",
            "4.6.2",
            "4.6.1",
            "4.6.0",
            "4.5.0",
            "4.4.0",
            "4.3.0",
            "4.2.1",
            "4.2.0",
            "4.1.1",
            "4.1.0",
            "4.0.6",
            "4.0.5",
            "4.0.4",
            "4.0.3",
            "4.0.2",
            "4.0.1",
            "4.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-30167.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.638570829Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/30xxx/CVE-2025-30167.json",
        "https://github.com/jupyter/jupyter_core/security/advisories/GHSA-33p9-3p43-82vq",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-30167",
        "https://github.com/jupyter/jupyter_core/commit/5e8965600adda6b416692ce7e85ecb2bd814bd52"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-427"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/30xxx/CVE-2025-30167.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-30167",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 519197,
  "published_at": "2025-06-03T16:42:16.357+00:00"
}