HoloViz Lumen lets dashboard viewers run Python code on the server

High 8.7SE Fix-First Score 48/100CVE-2026-141342SE-AIV-01907Unsafe loading of model or data filesModels and ML frameworksMade public 1 Dec 2026

Download as PDF

What this means

An attacker can run code as the server and steal database passwords, API keys, and other secrets stored on the server. They can read or change any data the server can reach, take over user accounts, or shut down the service. If Lumen is connected to an AI system, the attacker can steal the AI provider keys.

SecurityElites Manager Brief: the decision in one minute

HoloViz Lumen parses dashboard configuration in an unsafe way that lets anyone who can view a dashboard or chat with the AI run Python code on your server. This is a critical risk if the server holds database passwords or API keys. You must upgrade or disable Lumen immediately.

SecurityElites Fix-First Score48 of 100
Our own ranking of what to fix first. Real attacks count most, then the chance of attack, then severity.
SecurityElites fix windowWithin 30 days
High severity. This is our suggestion from common practice; your own policy comes first.
Who should own the fixPlatform engineering or infrastructure team.
Likely effortAbout an hour per server: download the patched version, test it, and restart Lumen. Effort could be higher if you have many Lumen instances or if you use Lumen with other systems that need to be tested after the upgrade.

Questions to ask your team or supplier

  • Do we know which Lumen instances are running in production and which versions they are on? Can we get a list in the next hour?
  • Which Lumen instances are exposed to the internet or to untrusted users? Which of those have editable dashboards or AI chat turned on?
  • What credentials and API keys are stored or accessible on Lumen servers? Should we move those to a secret manager today as a temporary protection?

Message you can forward to the owning team

Security notice: HoloViz Lumen lets dashboard viewers run Python code on the server (CVE-2026-141342)

Severity: High (8.7 of 10)
SecurityElites Fix-First Score: 48 of 100
SecurityElites fix window: Within 30 days
Action: no fixed version is listed yet; apply the risk-reduction steps and watch the vendor advisory.
What we need from you: confirm whether we run this software, who owns it, and the date it will be fixed.
Full guide: https://securityelites.com/ai-vulnerabilities/cve-2026-141342-holoviz-lumen-lets-dashboard-viewers-run-python-code-on/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-01907

What is at stake in your AI setup

  • LLM API keys: Stored on the Lumen server and accessible to code run as the service. An attacker can steal keys and abuse your AI provider account.
  • Prompts and chat history: If Lumen stores conversation logs, an attacker can read previous prompts, responses, and any sensitive data discussed with the AI.
  • Tools and systems the AI agent is connected to: If Lumen is wired to call databases, APIs, or other services as part of an AI workflow, the attacker inherits those permissions.

Map where your company uses AI

Who is exposed

  • Teams running Lumen 1.4.0 or older with editable dashboards or AI chat features enabled.
  • Services where Lumen can reach databases, API keys, or secrets stored on the server.
  • Any user who can view a dashboard or type a prompt into Lumen AI chat.
  • Organizations using Lumen as the main interface to data or AI systems.
  • Internal deployments are safer than public-facing ones, but still at high risk if any authenticated user is trusted.

Upgrades you need

SoftwareAffected versionsMove to
HoloViz LumenEvery version up to and including 1.4.0No fixed version recorded. Follow the steps below.

The fixed version here was taken from the wording of the official description, because the national database has not listed it yet.

Am I affected?

Enter the version you run. Nothing you type is stored.

SecurityElites Developer Brief: the technical picture

Where the attacker must beAnywhere that can reach it over a network, including the internet if it is exposed
Account neededAn ordinary user account
Does a person have to do somethingNo. It works without anyone clicking or opening anything
How hard it is to doEasy. It works reliably once the attacker can reach it
Risk of: data being readHigh
Risk of: data or settings being changedHigh
Risk of: the service being taken downHigh

Read from the official severity rating: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/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:X

Kind of coding mistake

  • CWE-502: untrusted data is loaded as objects

Where it sits in the standards

OWASP Top 10 for LLM Applications 2025: LLM03 Supply Chain (unsafe model and data files)

If you cannot upgrade today

  • Disable editable dashboards: Set config.editable to false in Lumen configuration to prevent the YAML editor attack vector.
  • Disable AI chat: Turn off the LLM chat endpoint or proxy all AI requests through a separate service that sanitizes input before passing to Lumen.
  • Restrict access: Use a firewall, reverse proxy, or authentication layer to limit who can view Lumen dashboards or use AI chat to trusted users only.

Signs it may already have been used against you

  • Server logs: Python exceptions or tracebacks from yaml.Loader, unusual subprocess calls, or new processes spawned as the Lumen service user.
  • Network logs: Unexpected outbound connections from the Lumen service to external hosts, especially to cloud storage or infrastructure provider metadata endpoints.
  • File access: Reads of files outside the Lumen application directory, especially /etc/passwd, .ssh/config, or environment variable files.
  • Process monitoring: New child processes spawned by the Lumen service, especially with names like python, bash, or curl.

Log searches to start from

Find Python exceptions or yaml.Loader errors in Lumen logs (field names must be adapted to your log format)Splunk

index=main source=*lumen* ("yaml.Loader" OR "Traceback" OR "yaml.load") | stats count by host, source

Find unexpected child processes spawned by Lumen service (field names must be adapted)Elastic

process.parent.name:lumen AND process.name:(bash OR python OR curl) | stats count by host, process.name

Written with AI as a starting point. Review them and change the index and field names to match your own logs before you rely on the result.

SecurityElites Fix Guide: step by step

  1. Find all Lumen instances in your environmentSearch your servers, containers, and cloud deployments for HoloViz Lumen. Check package managers, Kubernetes clusters, and application inventories. Document the version of each instance using pip show holoz-lumen or similar.
  2. Check if dashboards are editable or AI chat is turned onReview Lumen configuration files for config.editable set to true or AI chat endpoints enabled. If either is true, the instance is at high risk. These are often in environment variables or YAML config files.
  3. Check the official HoloViz Lumen repository and security advisoriesVisit the HoloViz GitHub repository and security page to confirm whether a patched version has been released since this CVE was published. If no patch exists yet, proceed to the workaround step.
  4. Back up Lumen configuration and dataExport dashboard definitions, saved queries, and any custom configuration. Take a snapshot or backup of the server before any changes.
  5. Upgrade HoloViz Lumen to the patched versionOnce a fixed version is available, upgrade using pip install --upgrade holoz-lumen= or your package manager. Test the upgrade in a non-production environment first if possible.
  6. Restart the Lumen service and test dashboardsRestart the Lumen process or reload the application. Verify that dashboards load, data displays correctly, and AI chat (if used) responds as expected.
  7. Check for signs of prior exploitationReview server logs, process history, and file access logs for unusual Python execution, network connections to external hosts, or access to secrets. Look for the signs in the detect section.
  8. If you found evidence of attack, rotate all secretsChange database passwords, regenerate API keys, reset LLM provider credentials, and audit which data was accessed. Notify affected users and data owners.

How to confirm it is fixed: After upgrade, confirm Lumen is running the patched version (pip show holoz-lumen), test that dashboards load and AI chat works, and check that no Python errors appear in logs related to yaml or object parsing.

SecurityElites Quick Fixes: copy and paste

Check installed Lumen version on a serverfor this issue

pip show holoz-lumen | grep Version

Search for Lumen in Docker images in your environmentfor this issue

grep -r 'holoz-lumen' /path/to/dockerfiles /path/to/requirements.txt 2>/dev/null | grep -v '^Binary'

Load PyTorch weights without running codegeneral hardening

import torch
state = torch.load("model.pt", weights_only=True)

Load safetensors weightsgeneral hardening

from safetensors.torch import load_file
state = load_file("model.safetensors")

Test in a non-production environment first. General hardening examples use placeholder names and ports; change them to match your setup.

SecurityElites Incident Drill: could your team handle this?

Four questions to ask in your next team meeting. If any has no clear answer, that is the gap to close.

If an attacker runs Python code on the Lumen server, what could they steal or change?A good answer: They could read database passwords, API keys for external services, LLM provider credentials, and any data the server can reach, including user data and training data.
Which Lumen features make this vulnerability easier to exploit?A good answer: Editable dashboards (which let users edit YAML config in the browser) and AI chat (which can inject malicious YAML through prompt injection) are the main attack paths.
What is the first thing to do if we cannot upgrade Lumen yet?A good answer: Disable editable dashboards and AI chat in Lumen configuration immediately, and restrict access to dashboards to trusted users only via firewall or authentication.
How would we know if someone already exploited this before we patched?A good answer: Look for unexpected Python errors, unusual processes spawned as the Lumen service user, outbound network connections, and file access outside the Lumen directory in logs.

Run a full timed drill with your team

Ticket for your backlog

Paste into Jira, GitHub Issues or any tracker that reads Markdown.

Ready-made ticket

## HoloViz Lumen lets dashboard viewers run Python code on the server (CVE-2026-141342)

**Severity:** High 8.7  |  **SE Fix-First Score:** 48/100  |  **Fix window:** Within 30 days
**Record:** SE-AIV-01907 https://securityelites.com/ai-vulnerabilities/cve-2026-141342-holoviz-lumen-lets-dashboard-viewers-run-python-code-on/

### Why this matters
An attacker can run code as the server and steal database passwords, API keys, and other secrets stored on the server. They can read or change any data the server can reach, take over user accounts, or shut down the service. If Lumen is connected to an AI system, the attacker can steal the AI provider keys.

### What to do
1. Find all Lumen instances in your environment
2. Check if dashboards are editable or AI chat is turned on
3. Check the official HoloViz Lumen repository and security advisories
4. Back up Lumen configuration and data
5. Upgrade HoloViz Lumen to the patched version
6. Restart the Lumen service and test dashboards
7. Check for signs of prior exploitation
8. If you found evidence of attack, rotate all secrets

Full steps: https://securityelites.com/ai-vulnerabilities/cve-2026-141342-holoviz-lumen-lets-dashboard-viewers-run-python-code-on/

### Done when
- [ ] The risk-reduction steps are applied and the vendor advisory is being watched for a fixed version
- [ ] Lock files, container images and CI configuration are updated
- [ ] After upgrade, confirm Lumen is running the patched version (pip show holoz-lumen), test that dashboards load and AI chat works, and check that no Python errors appear in logs related to yaml or object parsing.
- [ ] Logs were checked for signs of earlier use

SecurityElites Fix Tracker

Record who owns this fix, the date it is due and when it is done, and see everything still open in one list. Free with a SecurityElites account.

Sign in to track this fix

Change history

  • 1 Dec 2026: Made public
  • 1 Dec 2026: Fixed version added, from the vendor's own CVE record
  • 1 Dec 2026: Fixed version added, from the wording of the official description
  • 1 Dec 2026: Published
  • 1 Dec 2026: Fixed version added, from the wording of the official description

Official record

HoloViz Lumen through 1.4.0 contains a remote code execution vulnerability that allows dashboard viewers or Lumen AI chat users to run Python code by submitting YAML parsed with yaml.Loader in lumen.config.load_yaml. Attackers can submit python/object/apply tags through the YAML editor on config.editable dashboards, view spec edits, or prompt-injected LLM output to execute code as the server process and steal data source credentials and LLM API keys.

Weakness type: CWE-502

Use this record in your own tools

Get this record as JSON

curl https://securityelites.com/wp-json/se-aivd/v1/vulns/CVE-2026-141342

For scanners and pipelines: OSV format · CycloneDX format · API guide · Email alerts · Fix tracker

The plain-language sections were written with AI from the official record, and the upgrade versions come directly from the official data. Last updated 2 Dec 2026. Read the vendor advisory before changing a production system.