UBUNTU-CVE-2026-6657

Source
https://ubuntu.com/security/CVE-2026-6657
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6657.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-6657
Upstream
Published
2026-06-03T16:16:00Z
Modified
2026-07-01T23:43:13Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

A vulnerability in jupyter-server versions 1.12.0 through 2.17.0 allows an attacker to bypass CORS origin validation when the allow_origin_pat configuration is used. The issue arises from the use of re.match() for validating the Origin header, which only anchors at the start of the string. This allows attacker-controlled domains such as trusted.example.com.evil.com to pass validation against patterns intended to match trusted.example.com. The vulnerability affects multiple locations in the codebase, including CORS headers, WebSocket connections, referer validation, and login redirects, potentially enabling phishing attacks, arbitrary code execution, and unauthorized access to sensitive API responses.

References

Affected packages

Ubuntu:22.04:LTS / jupyter-server

Package

Name
jupyter-server
Purl
pkg:deb/ubuntu/jupyter-server?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.2.2-1
1.13.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "jupyter-server",
            "binary_version": "1.13.1-1"
        },
        {
            "binary_name": "python3-jupyter-server",
            "binary_version": "1.13.1-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6657.json"

Ubuntu:24.04:LTS / jupyter-server

Package

Name
jupyter-server
Purl
pkg:deb/ubuntu/jupyter-server?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.23.3-1
1.23.3-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "jupyter-server",
            "binary_version": "1.23.3-2"
        },
        {
            "binary_name": "python3-jupyter-server",
            "binary_version": "1.23.3-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6657.json"

Ubuntu:25.10 / jupyter-server

Package

Name
jupyter-server
Purl
pkg:deb/ubuntu/jupyter-server?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.14.2-5
2.15.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "jupyter-server",
            "binary_version": "2.15.0-1"
        },
        {
            "binary_name": "python3-jupyter-server",
            "binary_version": "2.15.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6657.json"

Ubuntu:26.04:LTS / jupyter-server

Package

Name
jupyter-server
Purl
pkg:deb/ubuntu/jupyter-server?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.15.0-1
2.17.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "jupyter-server",
            "binary_version": "2.17.0-1"
        },
        {
            "binary_name": "python3-jupyter-server",
            "binary_version": "2.17.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6657.json"