Skip to content
Heist/ feed
Back to feed
High

Known or guessable hidden files may be accessed in Jupyter Server

Type: advisorySources: OSV

Jupyter Server provides the backend (i.e. the core services, APIs, and REST endpoints) for Jupyter web applications like Jupyter Notebook. Prior to version 1.17.1, if notebook server is started with a value of `root_dir` that contains the starting user's home directory, then the underlying REST API can be used to leak the access token assigned at start time by guessing/brute forcing the PID of the jupyter server. While this requires an authenticated user session, this URL can be used from a cross-site scripting payload or from a hooked or otherwise compromised browser to leak this access token to a malicious third party. This token can be used along with the REST API to interact with Jupyter services/notebooks such as modifying or overwriting critical files, such as .bashrc or .ssh/authorized_keys, allowing a malicious user to read potentially sensitive data and possibly gain control of the impacted system. This issue is patched in version 1.17.1.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-29241
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 18:33 UTC · Revision 1

Source evidence

Known or guessable hidden files may be accessed in Jupyter Server

core-osv · Original source

Published 14 Jun 2022, 20:40 UTC

Jupyter Server provides the backend (i.e. the core services, APIs, and REST endpoints) for Jupyter web applications like Jupyter Notebook. Prior to version 1.17.1, if notebook server is started with a value of `root_dir` that contains the starting user's home directory, then the underlying REST API can be used to leak the access token assigned at start time by guessing/brute forcing the PID of the jupyter server. While this requires an authenticated user session, this URL can be used from a cross-site scripting payload or from a hooked or otherwise compromised browser to leak this access token to a malicious third party. This token can be used along with the REST API to interact with Jupyter services/notebooks such as modifying or overwriting critical files, such as .bashrc or .ssh/authorized_keys, allowing a malicious user to read potentially sensitive data and possibly gain control of the impacted system. This issue is patched in version 1.17.1.

osv:CVE-2022-29241
Complete source record
{
  "id": "8f7732dd8fc11da877c415511f70ed542b06b759f06b5f711e684f9cb63cf48e",
  "url": "https://osv.dev/vulnerability/CVE-2022-29241",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Known or guessable hidden files may be accessed in Jupyter Server",
    "summary": "Jupyter Server provides the backend (i.e. the core services, APIs, and REST endpoints) for Jupyter web applications like Jupyter Notebook. Prior to version 1.17.1, if notebook server is started with a value of `root_dir` that contains the starting user's home directory, then the underlying REST API can be used to leak the access token assigned at start time by guessing/brute forcing the PID of the jupyter server. While this requires an authenticated user session, this URL can be used from a cross-site scripting payload or from a hooked or otherwise compromised browser to leak this access token to a malicious third party. This token can be used along with the REST API to interact with Jupyter services/notebooks such as modifying or overwriting critical files, such as .bashrc or .ssh/authorized_keys, allowing a malicious user to read potentially sensitive data and possibly gain control of the impacted system. This issue is patched in version 1.17.1.",
    "evidence": "osv:CVE-2022-29241",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-29241",
      "aliases": [
        "CVE-2022-29241",
        "GHSA-q874-g24w-4q9g",
        "PYSEC-2022-211"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/jupyter-server/jupyter_server",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "e741350461bfeb6f52ccb879cc27d8dca2ef9f8d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.17.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "cpe": "cpe:2.3:a:jupyter:jupyter_server:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.17.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.17.0",
            "v1.16.0",
            "v1.15.6",
            "v1.15.5",
            "v1.15.4",
            "v1.15.3",
            "v1.15.2",
            "v1.15.1",
            "v1.15.0",
            "v1.13.5",
            "v1.13.4",
            "v1.13.3",
            "v1.13.2",
            "v1.13.1",
            "v1.13.0",
            "v1.12.1",
            "v1.12.0",
            "v1.11.2",
            "v1.11.1",
            "v1.11.0",
            "v1.10.2",
            "v1.10.1",
            "v1.10.0",
            "v1.9.0",
            "v1.8.0",
            "v1.7.0",
            "v1.7.0a2",
            "v1.7.0a1",
            "v1.7.0a0",
            "v1.6.4",
            "v1.6.3",
            "v1.6.2",
            "1.6.1",
            "1.6.0",
            "1.5.1",
            "1.5.0",
            "1.4.1",
            "1.4.0",
            "1.3.0",
            "1.2.3",
            "1.2.2",
            "1.2.1",
            "1.2.0",
            "1.1.4",
            "1.1.3",
            "1.1.2",
            "1.1.1",
            "1.1.0",
            "1.0.5",
            "1.0.4",
            "1.0.3",
            "1.0.2",
            "1.0.1",
            "1.0.0",
            "1.0.0rc16",
            "1.0.0rc15",
            "1.0.0rc14",
            "1.0.0rc13",
            "1.0.0rc12",
            "1.0.0rc11",
            "1.0.0rc10",
            "1.0.0rc9",
            "1.0.0rc8",
            "1.0.0rc7",
            "1.0.0rc6",
            "1.0.0rc5",
            "1.0.0rc4",
            "1.0.0rc3",
            "1.0.0rc2",
            "1.0.0rc1",
            "0.3.0",
            "0.2.0",
            "0.1.1",
            "0.1.0",
            "0.0.5",
            "0.0.4",
            "0.0.3",
            "0.0.2",
            "0.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-29241.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:22.429583809Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/29xxx/CVE-2022-29241.json",
        "https://github.com/jupyter-server/jupyter_server/security/advisories/GHSA-q874-g24w-4q9g",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-29241"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-200"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/29xxx/CVE-2022-29241.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-29241",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 488585,
  "published_at": "2022-06-14T20:40:15+00:00"
}