Description
Jupyter Server is the backend for Jupyter web applications. Prior to version 2.21.0, the 5xx request logging path in jupyter_server/log.py copies the Referer header into a JSON header block without applying the token scrubbing used for the request URI. A request that returns HTTP 500 while the Referer contains a token-bearing URL can therefore write that token to server logs in plaintext. An attacker who can read those logs can recover the token and use the affected user's Jupyter Server permissions. This issue is fixed in version 2.21.0.
Published: 2026-09-17
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Token Leakage and Unauthorized Access
Action: Apply Patch
AI Analysis

Impact

Back in Jupyter Server releases before 2.21.0, the 5xx request logging routine copied the entire Referer header into a JSON header block without removing any access token present in that URL. When a request that triggers a server error also includes a token-bearing Referer, the plain‑text token is written to the server logs. An individual who can read those logs therefore can recover the token and employ it to access the Jupyter Server with the affected user's permissions.

Affected Systems

The flaw affects the Jupyter Server (jupyter_server) product from any version older than 2.21.0. Any installation that remains on or before the pre‑2.21.0 releases is vulnerable.

Risk and Exploitability

The CVSS score is 7.1, indicating moderate severity, and the EPSS score is below 1%, suggesting a low likelihood of exploitation. The vulnerability is not listed in CISA’s KEV catalog. The likely attack path involves steering the server to produce an HTTP 500 response while an attacker supplies a crafted Referer header containing a token. Crucially, the attacker must also be able to read the server logs, typically restricting practical exploitation to users with privileged or elevated log‑access rights. Consequently, while the risk is moderate, the impact can be significant if log visibility is not tightly controlled.

Generated by OpenCVE AI on September 23, 2026 at 01:53 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Jupyter Server to version 2.21.0 or later to apply the official fix.
  • Validate that the revised logging no longer records token-bearing Referer headers by reviewing recent error logs.
  • Limit log file permissions so that only authorized administrators can read server logs, and audit access regularly.

Generated by OpenCVE AI on September 23, 2026 at 01:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-c3mw-737p-c7g2 Jupyter Server: 5xx request logging leaks token-bearing Referer header values
History

Wed, 23 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-117
References
Metrics threat_severity

None

threat_severity

Moderate


Fri, 18 Sep 2026 21:30:00 +0000

Type Values Removed Values Added
First Time appeared Jupyter
Jupyter jupyter Server
Vendors & Products Jupyter
Jupyter jupyter Server
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 17 Sep 2026 20:45:00 +0000

Type Values Removed Values Added
Description Jupyter Server is the backend for Jupyter web applications. Prior to version 2.21.0, the 5xx request logging path in jupyter_server/log.py copies the Referer header into a JSON header block without applying the token scrubbing used for the request URI. A request that returns HTTP 500 while the Referer contains a token-bearing URL can therefore write that token to server logs in plaintext. An attacker who can read those logs can recover the token and use the affected user's Jupyter Server permissions. This issue is fixed in version 2.21.0.
Title Jupyter Server: 5xx request logging leaks token-bearing Referer header values
Weaknesses CWE-532
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H'}


Subscriptions

Jupyter Jupyter Server
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-18T18:32:48.654Z

Reserved: 2026-09-04T19:29:21.058Z

Link: CVE-2026-86049

cve-icon Vulnrichment

Updated: 2026-09-18T17:24:13.674Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-17T21:17:50.213

Modified: 2026-09-24T21:19:05.340

Link: CVE-2026-86049

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-17T20:28:52Z

Links: CVE-2026-86049 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-23T02:00:10Z

Weaknesses
  • CWE-117

    Improper Output Neutralization for Logs

  • CWE-532

    Insertion of Sensitive Information into Log File