Skip to content

An editorial team and a community building with AI

← All articles

News · HoloViz (Lumen) · 2 min read

Event date: · Published:

HoloViz patches YAML flaw in Lumen that let prompt injection trigger remote code execution

HoloViz fixed a high-severity vulnerability in Lumen, CVE-2026-141342, in which unsafe YAML loading let prompt injection trigger remote code execution and expose data-source credentials and LLM API keys.

HoloViz disclosed and fixed a high-severity remote code execution vulnerability in Lumen, its dashboard framework, in a security advisory published on December 1, 2026. The GitHub security advisory tracks the flaw as CVE-2026-141342 and shows how prompt injection could trigger the bug, exposing data-source credentials and LLM API keys.

What changed

  • GitHub security advisory GHSA-w949-xvvf-fg5p, tracked as CVE-2026-141342, was published on December 1, 2026.
  • Severity is High, with a CVSS score of 8.7.
  • The root cause is in lumen/config.py, which called yaml.load() with yaml.Loader, allowing construction of arbitrary Python objects through tags such as !!python/object/apply.
  • The bug is exploitable when a dashboard sets config.editable: true, letting a viewer inject malicious YAML through the built-in editor.
  • Lumen AI deployments are explicitly affected: untrusted users editing generated view specs, or documents subjected to prompt injection, can trigger the same code path.
  • All versions through 1.4.0 are affected; version 1.4.1, released the same day, fixes the issue by replacing yaml.Loader with yaml.SafeLoader.

What it means for people who build with AI

The advisory shows how an AI-chat-driven tool can let prompt injection reach an unsafe deserialization path, turning a routine chat interaction into full server compromise and credential theft. Because the flaw sits in code that processes AI-generated view specifications, anyone running Lumen AI with untrusted inputs, whether from viewers editing dashboards or from documents fed into the assistant, risked remote code execution as the server process, with attackers able to steal configured data-source credentials and LLM API keys. The issue is catalogued under CWE-94 (Improper Control of Code Generation) and CWE-502 (Deserialization of Untrusted Data).

Fix and availability

HoloViz shipped version 1.4.1 on the same day the advisory was published, replacing yaml.Loader with yaml.SafeLoader to close the hole. Further detail is tracked in the CVE.org record for CVE-2026-141342. Teams running Lumen, especially Lumen AI deployments with config.editable: true or exposure to untrusted documents, should update to 1.4.1.


Sources

Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.

HoloViz patches YAML flaw in Lumen that let prompt injection trigger remote code execution | vibecoding.inc