CVE-2026-40110
Jupyter Server ≤ 2.18.0
Raw vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2026-40110 is a high-severity Regular Expression without Anchors (CWE-777) vulnerability in Jupyter Server. Its CVSS base score is 7.6 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 33th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-27510
Vulnerability Data
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…
more
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.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
SA-11 developer testing can discover missing anchors through functional or security test cases but does not stop their introduction.
SI-10 requires validation of inputs; correct implementation forces anchored regexes that fully neutralize the described weakness.
SA-15 requires documented development standards and tools that can mandate anchored regex usage for sanitization.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Secure SDLC practices directly require correct anchored regex for input neutralization, covering most of the weakness while the control itself addresses many other development issues.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing can detect unanchored regex but does not prevent the weakness by itself.
Awareness and training educate personnel on secure practices but do not prevent a developer from writing a permissive regular expression in code, as the weakness is introduced during implementation.
Secure coding explicitly requires anchored regex to prevent bypass of input validation.
A.8.30 carries its effect through the secure design, coding and testing practices (8.25-8.29) it contracts from the supplier, so a faithful implementation reduces ordinary implementation-phase software CWEs like CWE-777; the ceiling is `partial` because the effect depends on the supplier's practice and the clause does not itself inspect regex anchors.
A.8.8's reach is disclosure-based (vendor advisories, CVE databases, vulnerability scanning of deployed components). CWE-625 occasionally surfaces as CVEs (the observed examples list several), so the disclosed minority is reachable, but the bulk of permissive-regex instances live in first-party code and require source-level static analysis or code review, which A.8.8 does not name.