HighVulnerability
CVE-2026-40110: Jupyter Server Origin header validation bypass through prefix matching
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-40110
- Published
- Record updated
- 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.
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online