7.1

CVE-2025-54287: canonical lxd

CVSS: 7.1v4.0HighAnalyzed
AliasesUBUNTU-CVE-2025-54287DEBIAN-CVE-2025-54287GHSA-w2hg-2v4p-vmh6
Published 02-10-2025Last modified 02-10-2025

Vulnerability summary

CVE-2025-54287 is a high (CVSS 7.1) vulnerability in canonical lxd. EPSS estimates a 0.37% chance of exploitation in the next 30 days, higher than 28.9% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
38/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.1/10
010
High · v4.0 (CVE.org)
EPSS score
0.37%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 4 · Related 2

Timeline

  1. 02-10-2025
    PublishedVulnerability first disclosed.
  2. 02-10-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

8 scores · 5 sources · 2 versions

EPSS trend

Probability

0.37%

Chance of exploitation in the next 30 days

Percentile

29%

Versus all other CVEs

30-day change

0.00 pp

From 0.37% on 18-09-2026

18-09-202618-10-2026
EPSS score
0.37%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Lxd

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Debian2 products
  • incus< 6.0.4-2+deb13u1 | < 6.0.5-1
  • lxdAll versions (No fix recorded) | < 5.0.2+git20231211.1364ae4-9+deb13u1
Canonical1 product
  • lxd≥ 6.0, < 6.5 | ≥ 5.21, < 5.21.4 | ≥ 4.0.0, < 5.21.4 | ≥ 6.1, < 6.5
Github.com/lxc1 product
  • lxd≥ 4.0.0, < 5.21.4 | ≥ 6.0.0, < 6.5.0 | ≥ 0.0.0-20200331193331-03aab09f5b5c, < 0.0.0-20250827065555-0494f5d47e41 | All versions (No fix recorded)
Github.com/lxc/lxd1 product
  • v6All versions (No fix recorded)
Ubuntu1 product
  • lxdAll versions (No fix recorded)

5 vendors · 6 products

References

7 links