{"slug": "security-releases-panel-1-11-2-1-10-2-1-9-6-and-lumen-1-4-1", "title": "Security releases: Panel 1.11.2, 1.10.2, 1.9.6 and Lumen 1.4.1", "summary": "HoloViz released Panel 1.11.2, 1.10.2 and 1.9.6 and Lumen 1.4.1, fixing four privately reported security issues and six more found in the project's own security audit. The most severe flaw, rated High (CVSS 8.8) and tracked as GHSA-4jp4-79rh-q63h, affects Panel 1.0.0 through 1.11.1: the Jupyter server extension panel.io.jupyter_server_extension handled requested paths unsafely and lacked protection against cross-site requests, so a logged-in Jupyter user who clicks a malicious link could have code run on that server with access to its environment variables. Affected users can check with `jupyter server extension list 2>&1 | grep -i panel` and, if they cannot upgrade immediately, disable the extension and restart Jupyter.", "body_md": "# Security releases: Panel 1.11.2, 1.10.2, 1.9.6 and Lumen 1.4.1\n\nToday 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.\n\n## Are you affected?\n\nYou are affected if any of the following applies to you:\n\n- **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` .\n- **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.\n- **Lumen:** dashboards served with`config.editable: true` , or Lumen AI exposed to untrusted users or untrusted data.\n\nYou 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.\n\n## The Jupyter preview extension\n\nPanel 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.\n\nIn 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](https://github.com/holoviz/panel/security/advisories/GHSA-4jp4-79rh-q63h).\n\nExploiting 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.\n\nTo check whether a server is affected, run this in the environment that runs Jupyter:\n\n```\njupyter server extension list 2>&1 | grep -i panel\n```\n\nIf it shows `panel.io.jupyter_server_extension` as enabled and you can’t upgrade straight away, disable it and restart Jupyter:\n\n```\njupyter server extension disable panel.io.jupyter_server_extension\n```\n\nOnly the Panel preview in JupyterLab depends on the extension, so ordinary notebook use is unaffected.\n\nThe 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.\n\n## Two medium-severity fixes\n\nThe `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](https://github.com/holoviz/panel/security/advisories/GHSA-fwj9-wv8q-h7x9)). It now escapes the text.\n\nPanel’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](https://github.com/holoviz/panel/security/advisories/GHSA-3349-j265-r4mf)). The login now rejects those callbacks.\n\n## Lumen: code execution through YAML specs\n\nLumen 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](https://github.com/holoviz/lumen/security/advisories/GHSA-w949-xvvf-fg5p).\n\nLumen 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.\n\n## Issues found by our audit\n\nOur 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.\n\n- 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](https://github.com/holoviz/panel/security/advisories/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.\n- 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](https://github.com/holoviz/panel/security/advisories/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.\n- 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](https://github.com/holoviz/panel/security/advisories/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.\n- A crafted path let `FileSelector` list directories outside its`root_directory` ([GHSA-44cr-qc94-4g5q](https://github.com/holoviz/panel/security/advisories/GHSA-44cr-qc94-4g5q) ).\n- 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](https://github.com/holoviz/panel/security/advisories/GHSA-2qjx-pj4r-pgfg) ). Error text is now shown as plain text, and`Alert` has a new`escape` option.\n- 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](https://github.com/holoviz/panel/security/advisories/GHSA-gfgq-cv3v-p4wc) ). The cookie is now signed.\n\n## Which version to install\n\nPanel 1.10 and later require Python 3.12, so we patched three release lines:\n\n- Python 3.12 or newer: **1.11.2** , or 1.10.2 if you’re pinned to 1.10\n- Python 3.10 or 3.11: **1.9.6**\n\nFor Lumen, install **1.4.1**, which requires Python 3.11 or newer.\n\nPanel 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.\n\nIf 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.\n\nTo check your own apps, we’ve published a [security review skill](https://github.com/holoviz-dev/holoviz-skills/tree/main/developing-with-holoviz/skills/security-review) 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](https://github.com/holoviz-dev/holoviz-skills#installation) with `uvx holoviz-skills install developing`.\n\n## What we’re doing about it\n\nThe 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.\n\nIt 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.\n\n## Thanks\n\nThanks to @folbricht-ant at Anthropic, whose report on the Jupyter extension was found with Claude and 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.\n\nIf you have questions about whether a deployment is affected, reply on [Discourse](https://discourse.holoviz.org), or report privately through GitHub’s private vulnerability reporting (see our [security policy](https://github.com/holoviz/panel/security/policy)).\n\n[Back to top]", "url": "https://wpnews.pro/news/security-releases-panel-1-11-2-1-10-2-1-9-6-and-lumen-1-4-1", "canonical_source": "https://blog.holoviz.org/posts/panel_security_releases/", "published_at": "2026-12-01 00:00:00+00:00", "updated_at": "2026-12-01 13:14:03.885085+00:00", "lang": "en", "topics": ["ai-tools", "developer-tools", "ai-products"], "entities": ["HoloViz", "Panel", "Lumen", "Jupyter", "JupyterLab", "JupyterHub", "HoloViews", "hvPlot"], "also_reported_by": [], "takeaway": "Panel 1.0.0 through 1.11.1 ships a Jupyter server extension whose preview endpoint allows cross-site requests, so any logged-in Jupyter user who clicks an attacker's link can have code executed on the server; upgrade to Panel 1.11.2, 1.10.2 or 1.9.6, or disable panel.io.jupyter_server_extension and ", "recommendation": {"advice": "Check for the Panel Jupyter extension with `jupyter server extension list 2>&1 | grep -i panel` and upgrade to Panel 1.11.2, 1.10.2 or 1.9.6, or disable panel.io.jupyter_server_extension and restart Jupyter if you cannot patch immediately.", "playbook": "agent-security", "playbook_url": "https://wpnews.pro/playbooks/agent-security"}, "alternates": {"html": "https://wpnews.pro/news/security-releases-panel-1-11-2-1-10-2-1-9-6-and-lumen-1-4-1", "markdown": "https://wpnews.pro/news/security-releases-panel-1-11-2-1-10-2-1-9-6-and-lumen-1-4-1.md", "text": "https://wpnews.pro/news/security-releases-panel-1-11-2-1-10-2-1-9-6-and-lumen-1-4-1.txt", "jsonld": "https://wpnews.pro/news/security-releases-panel-1-11-2-1-10-2-1-9-6-and-lumen-1-4-1.jsonld"}}