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.
https://github.com/holoviz/lumen/security/advisories/GHSA-w949-xvvf-fg5p
https://github.com/holoviz/lumen/commit/b08420a8741fb5524f5135a19a7e07b615898a10
https://github.com/holoviz/lumen/blob/v1.4.0/lumen/config.py#L232-L234