Repository navigation
Panel 1.11.2 is a security release that fixes nine issues in Panel, and we recommend that all users upgrade. If you cannot update right away to 1.9.6, 1.10.2 or 1.11.2 it is advised to disable the Jupyter panel preview extension with jupyter server extension disable panel.io.jupyter_server_extension. The release also tightens how the server hands out credentials: auth cookies now carry SameSite, autoload.js only includes cookies and identity headers for pages allowed to embed the app, and WSGI apps can no longer be mounted on a server with authentication enabled. It also contains a few bug fixes and a performance improvement for pages with many ReactComponents.
Many thanks to Claude and Anthropic Research (ANT-2026-KNCF6HP1), Bin Luo (UESTC), @NotAFlightRisk and @gistrec for reporting these issues responsibly, and to our internal security audit for the rest. Thanks also to the contributors to this release: @philippjfr, @Adithya6721 and @chetansoni1569.
🔒 Security
- Harden the Jupyter preview server extension (
panel.io.jupyter_server_extension) against code injection and cross-site requests (GHSA-4jp4-79rh-q63h) - Escape the
Strpane's text before rendering it as HTML (GHSA-fwj9-wv8q-h7x9) - Reject OAuth logins with an empty
stateparameter (GHSA-3349-j265-r4mf) - Confine
FileSelectorto itsroot_directory(GHSA-44cr-qc94-4g5q) - Stop
pn.state.location.syncfrom loading server files named in the URL into DataFrame and Array parameters (GHSA-f4hp-c7jm-p858) - Stop the
is_guestcookie from replacing the logged-in identity (GHSA-gfgq-cv3v-p4wc) - Bind OAuth tokens in
user_datato the user they were issued for (GHSA-8w8m-vpcr-jfr7) - Escape the error message shown when a function-served app fails (GHSA-2qjx-pj4r-pgfg)
- Require authentication for
/session_info, bind sessions to the user that created them and stop client-built session tokens from setting a session's headers and cookies (GHSA-4v47-xr5g-phqc) - Set
SameSite=LaxandHttpOnlyon the cookies Panel sets during authentication, andSecureover https, and only include cookies and credential-bearing headers in theautoload.jssession token when the including page is same-origin or allowed by--allow-websocket-origin(#9195, #9197) - Refuse to mount WSGI apps on a server with authentication enabled, since they bypass Panel's authentication (#9194)
- Stop the bundler from silently retrying failed downloads without TLS certificate verification (#9176)
- Only accept http(s) URLs and local paths in
VTKJS, and check the.vtkjsextension on the URL path instead of the whole string (#9175) - Behaviour change: A preview link opened from outside the Jupyter page, such as a link on another site, a bookmark or a typed URL, now shows a confirmation page before a kernel is started
- Behaviour change: Preview paths must point to an existing file under the Jupyter server root; absolute paths and paths outside the root are rejected
- Behaviour change: Only Python kernels can be selected with the
kernelargument - Behaviour change: The WebSocket, static and component routes of the extension require Jupyter authentication
- Behaviour change: Remove the unused single-notebook mode of the extension, configured with the
notebook_pathhandler argument - Behaviour change: The
is_guestcookie is now signed and only honoured on paths that allow guest access, and an unsigned one is ignored; checkpn.state.user == 'guest'instead of reading the cookie - Behaviour change: Error messages in the server error page are rendered as plain text,
ChatFeedandChatStepshow exceptions as plain-text alerts (aChatSteperror is added as its own pane instead of being appended to the last message), andAlertgains anescapeoption to render its text this way, without Markdown or math rendering - Behaviour change:
Markdown(disable_math=True)now also stops math from being typeset in the browser - Behaviour change:
/session_infokeys sessions by a digest of the session id and, when authentication is configured, requires it and applies the--admin-usersand--admin-passwordrestrictions - Behaviour change: When authentication is configured, connecting to an existing session as a different user is rejected
- Behaviour change: With unsigned session ids, a session created by the WebSocket takes its headers and cookies from the WebSocket request, so behind a load balancer without sticky sessions headers a proxy only adds to the page request are missing; use
--session-ids signedwith a sharedBOKEH_SECRET_KEYto keep them - Behaviour change: An authenticated app embedded in an iframe on another site no longer receives its cookies, and a page not covered by
--allow-websocket-origingets anautoload.jstoken without the user's cookies and headers.--allow-websocket-origin=*no longer grants credentials; list the origins or use a pattern such as*.example.com(#9195, #9197) - Behaviour change: With
use_xheaders, ASGI apps behind a TLS-terminating proxy now honourX-Forwarded-Proto, which affectsSecurecookies and OAuth redirect URIs (#9197) - Behaviour change:
get_serverandpn.serveraise aValueErrorwhen a WSGI app is mounted and authentication is configured (#9194) - Behaviour change:
panel bundlefails on certificate errors, for example behind a TLS-inspecting proxy, unless a CA bundle is configured withREQUESTS_CA_BUNDLEorSSL_CERT_FILEorPANEL_BUNDLE_INSECURE=1is set (#9176) - Behaviour change:
VTKJSrejects strings with a scheme other than http or https, and a local path to a missing file raisesFileNotFoundErrorinstead of being treated as a URL (#9175)
⚡ Performance
- Mount
ReactComponentroots in batches, so many roots mounting at once, such aspanel-material-uibuttons in 1000 React Flow node views, finish in 8.0 s instead of 11.1 s (#9187)
🐛 Bug Fixes
- Reset
Vegapoint selections to an empty list instead ofNonewhen the spec changes, which raised aValueErrorwhenever a chart with a point selection was updated (#9191) - Restore the full
Terminalhistory when switching back to a terminal in dynamicTabs(#9124)