Skip to main content

Security releases: Panel 1.11.2, 1.10.2, 1.9.6 and Lumen 1.4.1

release
panel
lumen
security
Fixes for ten security issues in Panel and Lumen, including a High-severity issue in a Jupyter extension that is on by default wherever Panel is installed alongside Jupyter, and code execution through YAML specs in Lumen. Upgrade, or apply the workarounds.
Author

Philipp Rudiger

Published

December 1, 2026

Today we released Panel 1.11.2, 1.10.2 and 1.9.6, and Lumen 1.4.1. They fix four security issues that were reported to us privately over the past week, and six more that our own security audit found. Two of them are serious enough that I’d like everyone affected to act on them today: anyone who runs Jupyter with Panel installed, and anyone who serves Lumen dashboards or Lumen AI.

Are you affected?

You are affected if any of the following applies to you:

  • Jupyter (High severity): Panel 1.0.0 or later is installed in the environment that runs Jupyter Server, JupyterLab, Notebook 7 or a JupyterHub single-user server, including as a dependency of HoloViews or hvPlot. Check with jupyter server extension list 2>&1 | grep -i panel.
  • Panel apps you serve with panel serve, pn.serve or the FastAPI integration, if they use any of: Panel’s built-in OAuth login; guest access together with --oauth-refresh-tokens; pn.state.location.sync on DataFrame or Array parameters; FileSelector; Str panes showing text from users or other untrusted sources; function-served apps or --dev/--autoreload in production; the /session_info endpoint; or an authorize_callback that denies specific users rather than allowing specific users.
  • Lumen: dashboards served with config.editable: true, or Lumen AI exposed to untrusted users or untrusted data.

You are not affected by the Jupyter issue if Panel is installed only in a kernel environment. Static exports and apps running in the browser with Pyodide have no Panel server. Of these issues, only the Str pane one can affect them, when it shows untrusted text. Each advisory has a “You are affected when” section that lists the exact conditions, and the security review skill described below checks them for you.

The Jupyter preview extension

Panel ships a Jupyter server extension, panel.io.jupyter_server_extension, which powers the Panel preview in JupyterLab. Jupyter loads it automatically whenever Panel is installed in the same environment as Jupyter Server. That includes environments where Panel comes in as a dependency of HoloViews or hvPlot, and many distributions and hub images, so you may have it even if you never installed Panel yourself.

In Panel 1.0.0 through 1.11.1, the extension’s preview endpoint handled the requested path unsafely and did not protect itself against requests started by other websites. A user who is logged in to a Jupyter server and clicks a malicious link, or visits a page that redirects them, could have code run on that server, as their own user and with access to the server’s environment variables. That covers JupyterLab, Notebook 7 and JupyterHub single-user servers wherever Panel is installed in the server environment. Panel installed only in a kernel environment is not affected. We rate this High (CVSS 8.8), and the details are in GHSA-4jp4-79rh-q63h.

Exploiting this takes more than a vulnerable install. The user has to be logged in to the Jupyter server in their browser at the time, and has to click the attacker’s link or visit a page they control, and the attacker has to know the server’s address. That address is predictable for a default local server, such as http://localhost:8888. A JupyterHub or cloud deployment sits on its own domain, so it is only exposed to an attacker who knows or can find that address. Once they have it, a single link can reach any logged-in user of the hub, so hub operators should still treat this as urgent.

To check whether a server is affected, run this in the environment that runs Jupyter:

jupyter server extension list 2>&1 | grep -i panel

If it shows panel.io.jupyter_server_extension as enabled and you can’t upgrade straight away, disable it and restart Jupyter:

jupyter server extension disable panel.io.jupyter_server_extension

Only the Panel preview in JupyterLab depends on the extension, so ordinary notebook use is unaffected.

The fix reworks the extension. Request values now reach the kernel only as Python literals. A preview opened from outside the Jupyter page (a link on another site, a bookmark or a typed URL) shows a confirmation page before any kernel starts. Paths must be existing files under the server root, only Python kernels can be selected, and the extension’s WebSocket, static and component routes now require a Jupyter login. If you use the preview pane inside JupyterLab you shouldn’t notice any of this, apart from the confirmation page when you open a preview URL directly.

Two medium-severity fixes

The Str pane rendered its text as HTML without escaping it, so untrusted text shown with pn.pane.Str could inject markup into the page (GHSA-fwj9-wv8q-h7x9). It now escapes the text.

Panel’s OAuth login accepted a callback with an empty state parameter, which allowed login cross-site request forgery: an attacker could sign a victim into the attacker’s own account (GHSA-3349-j265-r4mf). The login now rejects those callbacks.

Lumen: code execution through YAML specs

Lumen parsed dashboard specifications with PyYAML’s full loader, which can construct arbitrary Python objects from tags in the YAML. Anyone who could change a spec that Lumen loads could run code on the server, as the server’s user and with access to its data source credentials and LLM keys. That includes viewers of a dashboard served with config.editable: true, Lumen AI users editing a generated spec, and YAML that an LLM produces after a prompt injection through an uploaded file or document, even with code execution disabled. Lumen’s YAML auth mapping file was parsed the same way. We rate this High, and the details are in GHSA-w949-xvvf-fg5p.

Lumen 1.4.1 parses specs and auth mappings with PyYAML’s safe loader, so tags that construct Python objects are rejected. If you can’t upgrade straight away, don’t serve dashboards with config.editable: true to untrusted users, and don’t expose Lumen AI to untrusted users or untrusted data, which we do not recommend anyway.

Issues found by our audit

Our security audit with Fable, described below, found six more issues in Panel. All are of medium severity, and all are fixed in 1.11.2, 1.10.2 and 1.9.6.

  • When the /session_info endpoint was enabled with --rest-session-info, a non-zero session_history or session_info=True on the FastAPI server, it listed live session ids without authentication. Since session ids are unsigned by default and sessions were not bound to a user, another user could attach to those sessions (GHSA-4v47-xr5g-phqc). Sessions are now bound to the user who created them and the endpoint requires authentication. On 1.9.6 the endpoint requires a login but not admin rights, so upgrade to 1.10.2 or 1.11.2 for the full fix.
  • On servers using built-in OAuth with both --oauth-refresh-tokens and guest access (--oauth-optional or --oauth-guest-endpoints), another user’s refreshed tokens could be obtained through user_data (GHSA-8w8m-vpcr-jfr7). Without an OAuth encryption key the tokens could be read, and with one they could be used inside the attacker’s guest session. Tokens are now bound to the user they were issued for.
  • In Panel 1.3.0 and later, apps that sync a DataFrame or Array parameter to the URL with pn.state.location.sync loaded a server file named in the URL (GHSA-f4hp-c7jm-p858). That exposed existing data files, and a pickle file already on the server at a known path would run code when loaded. URL values are no longer treated as file paths.
  • A crafted path let FileSelector list directories outside its root_directory (GHSA-44cr-qc94-4g5q).
  • The error message shown when a function-served app, or a script app served with --dev or --autoreload, raised an exception rendered the exception text as HTML, which allowed reflected cross-site scripting through a crafted link (GHSA-2qjx-pj4r-pgfg). Error text is now shown as plain text, and Alert has a new escape option.
  • A logged-in user could set an unsigned is_guest cookie to be treated as guest, even on servers where guest access is not enabled, which could get past an authorize_callback that denies specific users (GHSA-gfgq-cv3v-p4wc). The cookie is now signed.

Which version to install

Panel 1.10 and later require Python 3.12, so we patched three release lines:

  • Python 3.12 or newer: 1.11.2, or 1.10.2 if you’re pinned to 1.10
  • Python 3.10 or 3.11: 1.9.6

For Lumen, install 1.4.1, which requires Python 3.11 or newer.

Panel releases older than 1.9 won’t be patched. All of these versions are on PyPI now, and on conda-forge as the builds complete. Packages on the Anaconda defaults channel will follow, but we don’t have a date yet. Until they are available, defaults users should install from PyPI or conda-forge, or apply the workarounds above.

If you maintain a Docker image or a JupyterHub deployment that ships Panel, please rebuild it with one of these versions. We’ve already contacted the maintainers of several widely used images and are opening pull requests against them.

To check your own apps, we’ve published a security review skill in holoviz-skills. It walks a coding agent through your Panel or Lumen app and its deployment configuration, reports which of these issues apply, and tells you how to fix them. It ships with the other HoloViz skills, so you can install it with uvx holoviz-skills install developing.

What we’re doing about it

The four outside reports reached us within about a week of each other. The vulnerabilities themselves are embarrassing for us, but the reports are a good sign: more people are looking closely at open source code, increasingly with the help of AI tools, and they took the trouble to report what they found privately so we could fix it first. We would much rather hear about these issues this way than from an attack.

It also told us that we can’t rely on outside reports to find these problems. Before this release we ran a security audit of all HoloViz packages using Fable. It found the six issues listed above, which are fixed in these releases. We are also enabling automated security reviews powered by Kilo on our repositories, so that changes are checked for issues like these before they are merged. If anything else turns up, we will fix and disclose it the same way.

Thanks

Thanks to Claude and Anthropic Research (reference ANT-2026-KNCF6HP1) for the report on the Jupyter extension, which came with a full reproduction, and to Bin Luo (UESTC), who independently reported the same issue a few days later. Thanks also to @NotAFlightRisk and @gistrec for the Str pane and OAuth reports, and to Dilanka Kaushal Hewage (@r3vpwnx) for the Lumen report. All of these were reported privately, which gave us time to ship the fixes before the details went public.

If you have questions about whether a deployment is affected, reply on Discourse, or report privately through GitHub’s private vulnerability reporting (see our security policy).

Back to top