What happened
Lumen through 1.4.0 parses YAML config with yaml.Loader, which accepts Python object/apply tags. An attacker can submit such tags through the YAML editor on an editable dashboard, through view-spec edits, or via prompt-injected LLM output, achieving RCE as the server process (CVSS 8.8), and then read data-source credentials and LLM API keys.
Why it matters
This is a GenAI application where the AI chat surface itself is the injection channel — a user (or a prompt-injected model) is one YAML payload away from server-side code execution, which is exactly the kind of trust-boundary failure that turns an AI dashboard into a foothold.
Attack vector
Submitting YAML parsed with yaml.Loader in lumen.config.load_yaml lets a user inject python/object/apply tags (unsafe YAML tags) to instantiate Python objects, so a dashboard viewer or an LLM chat reply the model emits can execute arbitrary code as the server.
Affected systems
HoloViz Lumen ≤ 1.4.0
Mitigation
Upgrade Lumen beyond 1.4.0; prefer a safe YAML loader (e.g. yaml.safe_load) for untrusted config and never parse user/prompt-supplied YAML with yaml.Loader.