BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2026-40934 in Jupyter Server

Medium 6.8

Jupyter Server is the backend for Jupyter web applications. In versions 2.17.0 and earlier, the secret used to sign authentication cookies is persisted to a static file at ~/.local/share/jupyter/runtime/jupyter_cookie_secret and is never rotated when a user changes their password. After a password reset and server r...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.16.8
CVSS v47.6
EPSS0.4%
EPSS percentile24th
FixUnknown

Remotely exploitable over the network, high complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Jupyter Jupyter Server < 2.18.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Jupyter Server is the backend for Jupyter web applications. In versions 2.17.0 and earlier, the secret used to sign authentication cookies is persisted to a static file at ~/.local/share/jupyter/runtime/jupyter_cookie_secret and is never rotated when a user changes their password. After a password reset and server restart, any previously issued authentication cookie remains cryptographically valid because the signing key has not changed. An attacker who has captured a session cookie through any means retains full authenticated access to the server regardless of subsequent password changes. This affects deployments using password-based authentication, particularly shared or public-facing servers where credential rotation is expected to revoke existing sessions. This issue has been fixed in version 2.18.0.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-40934
BreachSpider IDBS-2026-GLOBAL-328170-M
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Published2026-05-05
Last modified2026-07-25
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-613: CWE-613

Analysis AI-written, not human-reviewed

Jupyter Server versions 2.17.0 and earlier use a static, non-rotated secret for signing authentication cookies, which can remain valid even after a password reset, posing a security risk.

An attacker with access to the Jupyter Server's file system can obtain the static cookie secret from the file ~/.local/share/jupyter/runtime/jupyter_cookie_secret. This secret can be used to forge valid authentication cookies, allowing unauthorized access to the Jupyter Server.

Questions

What is CVE-2026-40934?

Jupyter Server versions 2.17.0 and earlier use a static, non-rotated secret for signing authentication cookies, which can remain valid even after a password reset, posing a security risk.

What is the CVSS score for CVE-2026-40934?

CVE-2026-40934 has CVSS 6.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N. EPSS: 0.4%.

Is CVE-2026-40934 actively exploited?

No confirmed active exploitation of CVE-2026-40934 as of 2026-07-26.

How do I remediate CVE-2026-40934?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2026-40934?

CVE-2026-40934 affects Jupyter Jupyter Server.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Jupyter","product":"Jupyter Server","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-07-25.