cve.bz

CVE-2026-127154 lxd: Improper link resolution in image metadata tarball unpacking

6.4 medium

Medium (6.4) in canonical lxd.

On this page
Improper link resolution in image metadata tarball unpacking in Canonical LXD before 5.0.12, 5.21.10, and 6.10.2 allows an authenticated user with a restricted client certificate to write arbitrary host files as root and execute code on the host via a crafted rootfs symlink in an image metadata tarball.

Severity

CVSS 4.0

6.4 medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:N/SI:H/SA:H
CWEs
CWE-59 Improper Link Resolution Before File Access (Link Following)
CWE-73 External Control of File Name or Path
OWASP Top 10
A01:2025 Broken Access Control, A06:2025 Insecure Design
Published
Assigned by
canonical (CNA)
NVD analysis
Not in the NVD yet
Record from
the CVE List, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-127154 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-127154?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-127154?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-127154 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Canonical LXDfrom 4.0 before 4.0.16
Canonical LXDfrom 4.0 before 5.0.12
Canonical LXDfrom 4.0 before 5.21.10
Canonical LXDfrom 4.0 before 6.10.2

Attack patterns (CAPEC)

  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High
  • CAPEC-13 Subverting Environment Variable Values Likelihood: High · Severity: Very High
  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-72 URL Encoding Likelihood: High · Severity: High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-80 Using UTF-8 Encoding to Bypass Validation Logic Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-73.

References

Check your stackJSON