CVE-2025-54287
Description
Template Injection in instance snapshot creation component in Canonical LXD (>= 4.0) allows an attacker with instance configuration permissions to read arbitrary files on the host system via specially crafted snapshot pattern templates using the Pongo2 template engine.
Description as published by the source, in English.
Key facts
- Published
- 2025-10-02
- Last modified
- 2026-10-12
- Assigned by
- security@ubuntu.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.3 %
higher than 27 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Canonical | Lxd | ≥ 4.0.0, < 5.21.4 | Affected |
| Canonical | Lxd | ≥ 6.1, < 6.5 | Affected |
| Linux | Linux Kernel | all versions listed | Not affected |
Weakness type
-
CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine
The product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or ot…
References
- https://github.com/canonical/lxd/security/advisories/GHSA-w2hg-2v4p-vmh6
- https://github.com/canonical/lxd/security/advisories/GHSA-w2hg-2v4p-vmh6
Related at Berigo
Articles
-
Nine vulnerabilities entered the exploited catalogue in two days
Same product
2026-09-01
CISA catalogued three more vulnerabilities on 27 August 2026, a day after six others went in. The three cover ownCloud, the Linux kernel and JFrog Ar…
-
Five of the six new KEV entries date from 2015 to 2022
Same product
2026-08-27
CISA has added six vulnerabilities to its Known Exploited Vulnerabilities catalogue. Five were published between 2015 and 2022, and three grant nothi…
-
Almost a third of this week's listed vulnerabilities have no severity score
Same product
2026-08-25
The weekly vulnerability summary from CISA lists 3882 vulnerabilities for the week beginning 10 August. 1184 of them have no calculated severity scor…
-
An eighteen-year-old Linux kernel flaw hands ordinary users root
Same product
2026-08-08
Tencent Zhuque Lab has found a flaw in the SCTP part of the Linux kernel that has been there since 2008. An ordinary user can use it to gain root, an…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.