Skip to content
Heist/ feed
Back to feed
High

jupyter-server — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-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 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.

Products
jupyter-server
Affected versions
1.13.1-1, 1.2.2-1, 1.23.3-1, 1.23.3-2, 2.14.2-5, 2.15.0-1, 2.17.0-1, 2.20.0-3
Fixed versions
Not specified
CVEs
CVE-2026-40110
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:03 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-40110

core-osv · Original source

Published 5 May 2026, 22:16 UTC

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.

osv:UBUNTU-CVE-2026-40110

jupyter-server

Fixed versions: Not specified

jupyter-server

Fixed versions: Not specified

jupyter-server

Fixed versions: Not specified

jupyter-server

Fixed versions: Not specified

jupyter-server

Fixed versions: Not specified

Complete source record
{
  "id": "4a37e7c2383cbef37c490aa0d2021886863a5d321088097533173c6b41c80e88",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-40110",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-40110",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2026-40110",
    "products": [
      {
        "name": {
          "value": "jupyter-server",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.2.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.13.1-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "jupyter-server",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.23.3-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.23.3-2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "jupyter-server",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.14.2-5",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.15.0-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "jupyter-server",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.17.0-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.20.0-3",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "jupyter-server",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.15.0-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.17.0-1",
            "evidence": "/affected/4/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2026-40110",
      "aliases": [
        "UBUNTU-CVE-2026-40110"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:L/SC:L/SI:L/SA:L"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "jupyter-server",
            "purl": "pkg:deb/ubuntu/jupyter-server?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.2.2-1",
            "1.13.1-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40110.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "jupyter-server",
                "binary_version": "1.13.1-1"
              },
              {
                "binary_name": "python3-jupyter-server",
                "binary_version": "1.13.1-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "jupyter-server",
            "purl": "pkg:deb/ubuntu/jupyter-server?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1.23.3-1",
            "1.23.3-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40110.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "jupyter-server",
                "binary_version": "1.23.3-2"
              },
              {
                "binary_name": "python3-jupyter-server",
                "binary_version": "1.23.3-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "jupyter-server",
            "purl": "pkg:deb/ubuntu/jupyter-server?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "2.14.2-5",
            "2.15.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40110.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "jupyter-server",
                "binary_version": "2.15.0-1"
              },
              {
                "binary_name": "python3-jupyter-server",
                "binary_version": "2.15.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "jupyter-server",
            "purl": "pkg:deb/ubuntu/jupyter-server?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "2.17.0-1",
            "2.20.0-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40110.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "jupyter-server",
                "binary_version": "2.20.0-3"
              },
              {
                "binary_name": "python3-jupyter-server",
                "binary_version": "2.20.0-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "jupyter-server",
            "purl": "pkg:deb/ubuntu/jupyter-server?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "2.15.0-1",
            "2.17.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40110.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "jupyter-server",
                "binary_version": "2.17.0-1"
              },
              {
                "binary_name": "python3-jupyter-server",
                "binary_version": "2.17.0-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T13:00:04.572035504Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-40110"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-40110",
        "https://www.cve.org/CVERecord?id=CVE-2026-40110",
        "https://github.com/jupyter-server/jupyter_server/security/advisories/GHSA-24qx-w28j-9m6p",
        "https://github.com/jupyter-server/jupyter_server/pull/603",
        "https://github.com/jupyter-server/jupyter_server/commit/057869a327c46730afede3eab0ca2d2e3e74acea",
        "https://github.com/jupyter-server/jupyter_server/commit/49b34392feaa97735b3b777e3baf8f22f2a14ed8"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-40110",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 360259,
  "published_at": "2026-05-05T22:16:00+00:00"
}