Intel

AIKIDO-2026-173796

jupyter-server is vulnerable to Insertion of Sensitive Information into Log File

Insertion of Sensitive Information into Log FileGHSA-c3mw-737p-c7g2 Published 2 days ago

71

High Risk

This Affects:

PYTHONjupyter-server
0.0.1 - 2.20.0
Fixed in 2.21.0
Are you affected? Scan for Free

TL;DR

When Jupyter Server returns a 500 error it serializes the incoming request headers to the server log as JSON. The Referer header is copied, so when a client authenticates with a token embedded in the request URL that token is carried in the Referer and written to the logs in clear text. Anyone able to read the server logs can then recover valid authentication tokens and reuse them to impersonate the user. The fix scrubs sensitive query parameters from the Referer value before logging, replacing secret values with a placeholder.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

jupyter-server is vulnerable to Insertion of Sensitive Information into Log File in versions 0.0.1 - 2.20.0.

How to fix this

Upgrade the jupyter-server and/or the jupyter_server library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform