#VU117414 Template injection in lxd - CVE-2025-54287
Published: October 21, 2025 / Updated: April 9, 2026
lxd
Linux Containers
Description
The vulnerability allows a remote user to read arbitrary files on the system.
The vulnerability exists due to improper input validation within the snapshot creation functionality of the Pongo2 template engine in LXD-UI. A remote user with permissions to modify instance settings can pass specially crafted input to the application and read arbitrary files on the system.
Payload example:
{% filter urlencode|slice:":100" %}{% include "/etc/passwd" %}{%endfilter %}