Skip to content
HighVulnerability

CVE-2026-40110: Jupyter Server Origin header validation bypass through prefix matching

Identifier
CVE-2026-40110
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.

Summary

Jupyter Server versions 2.17.0 and earlier validate the Origin header with Python's re.match() against the allow_origin_pat configuration value. Because re.match() anchors only at the start of the string, a pattern for a trusted domain also matches longer origins such as trusted.example.com.evil.com, letting an attacker bypass the CORS origin restriction and send cross-origin requests to the Jupyter Server API from an untrusted site.

Mitigation

Fixed in 2.18.0.