Skip to content
holoviz/lumen·Indexed by this site · Originally publishedDate not given· Event →· Its place in the scan record →

Lumen 1.4.0 and earlier can execute code when parsing untrusted YAML in editable dashboards and Lumen AI

Code execution through YAML specifications in Lumen

AI summary

Holoviz's Lumen released security advisory GHSA-w949-xvvf-fg5p: versions 1.4.0 and earlier parse dashboard and view specifications with the full PyYAML Loader, and specifications containing the !python/object/apply tag execute Python code in the server-side process. Attack paths include viewers submitting specifications via the built-in YAML editor and reloading when config.editable: true, and chat users in Lumen AI editing the YAML of generated views; YAML output by the LLM also enters the same loader, and even with code_execution='disabled' set, prompt injection in uploaded data or documents can reach it. An attacker can run code as the server user, access configured data sources, credentials and LLM API keys, and no account is needed when the application is deployed without authentication.

Read originalgithub.com