CVE catalog

CVE-2026-40110

Jupyter Server is the backend for Jupyter web applications. In versions 2.17.0 and earlier, the Origin header validation uses Python's re.match() to check incoming origins against the allow_origin_pat

[CVE catalog]

Severity
High · CVSS 7.6
Published
Source
[NVD] · [CVE record]
EPSS
0.31% · Oct 25, 2026

Jupyter Server is the backend for Jupyter web applications. In versions 2.17.0 and earlier, the Origin header validation uses Python's re.match() to check incoming origins against the allow_origin_pat configuration value. Because re.match() only anchors at the start of the string and does not require a full match, a pattern intended to match only a trusted domain (e.g., trusted.example.com) will also match any origin that begins with that domain followed by additional characters (e.g., trusted.example.com.evil.com). An attacker who controls such a domain can bypass the CORS origin restriction and make cross-origin requests to the Jupyter Server API from an untrusted site. This issue has been fixed in version 2.18.0.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianjupyter-serversid2.20.0-3fixed
Debianjupyter-serverforky2.20.0-3fixed
Debianjupyter-servertrixie2.15.0-1vulnerable
Debianjupyter-serverbookworm1.23.3-1vulnerable
Cpejupyter-serverNot reportedNot reportedvulnerable
Cpejupyter_serverNot reported2.18.0fixed
PyPIjupyter-serverNot reported2.18.0fixed
PyPIjupyter-serverNot reported2.18.0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianjupyter-serversourcesid2.20.0-1not yet assignedNot reported[1136022]
Debianjupyter-serversourceforky2.20.0-1not yet assignedNot reported[1136022]
Debianjupyter-serversourcetrixie(unfixed)not yet assignedNot reported[1136022]
Debianjupyter-serversourcebookworm(unfixed)not yet assignedNot reported[1136022]
Cpejupyter_servercpeNot reported2.18.0Not reportedNot reportedNot reported
PyPIjupyter-serverPyPINot reported2.18.0Not reportedGHSA-24QX-W28J-9M6PNot reported
PyPIjupyter-serverPyPINot reported2.18.0Not reportedPYSEC-2026-2187Not reported

[Debian bug #1136022]

Notes

[trixie] jupyter-server: Minor issue [bookworm] jupyter-server: Minor issue; unanchored allow_origin_pat re.match present, revisit with next update

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [jupyter-server]Affected
    Details (2)
    • 1.23.3-1 · all · bookworm

      Affected

      nvd · jupyter-server · debian · bookworm; nvd · jupyter-server · debian · 12

    • 1.23.3-1 · all · bookworm

      Affected

      nvd · jupyter-server · debian · bookworm; nvd · jupyter-server · debian · 12

  • Source package: [jupyter-server]

    Details (2)
    • 1.23.3-1 · all · bookworm

      Affected

      nvd · jupyter-server · debian · bookworm; nvd · jupyter-server · debian · 12

    • 1.23.3-1 · all · bookworm

      Affected

      nvd · jupyter-server · debian · bookworm; nvd · jupyter-server · debian · 12

[Debian 13 (Trixie)]

  • [jupyter-server]Affected
    Details (2)
    • 2.15.0-1 · all · trixie

      Affected

      nvd · jupyter-server · debian · 13

    • 2.15.0-1 · all · trixie

      Affected

      nvd · jupyter-server · debian · 13

  • Source package: [jupyter-server]

    Details (2)
    • 2.15.0-1 · all · trixie

      Affected

      nvd · jupyter-server · debian · 13

    • 2.15.0-1 · all · trixie

      Affected

      nvd · jupyter-server · debian · 13

  • Source package: [jupyter-server]

    Details (2)
    • 2.15.0-1 · all · trixie

      Affected

      nvd · jupyter-server · debian · 13

    • 2.15.0-1 · all · trixie

      Affected

      nvd · jupyter-server · debian · 13

Observed:

References