Path Traversal in LXD Instance Log File Retrieval
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-22 and the CVSS impact.
Summary
Path Traversal in the log file retrieval function in Canonical LXD 5.0 LTS on Linux allows authenticated remote attackers to read arbitrary files on the host system via crafted log file names or symbolic links.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Canonical | LXD | 6.0 to before 6.5; 5.21 to before 5.21.4 | 6.5, 5.21.4 | Patch available | CNA |
| — | github.com/canonical/lxd (Go) | 4.0 to before 5.21.4 | 5.21.4 | Patch available | GHSA-472f-vmf2-pr3h |
| — | github.com/canonical/lxd (Go) | 6.0 to before 6.5 | 6.5 | Patch available | GHSA-472f-vmf2-pr3h |
| — | github.com/canonical/lxd (Go) | 0.0.0-20200331193331-03aab09f5b5c to before 0.0.0-20250224180022-ec09b24179f3 | 0.0.0-20250224180022-ec09b24179f3 | Patch available | GHSA-472f-vmf2-pr3h |
- LXD VendorCanonical Affected 6.0 to before 6.5; 5.21 to before 5.21.4 Fixed in 6.5, 5.21.4 Patch available CNA
- github.com/canonical/lxd (Go) Vendor— Affected 4.0 to before 5.21.4 Fixed in 5.21.4 Patch available GHSA-472f-vmf2-pr3h
- github.com/canonical/lxd (Go) Vendor— Affected 6.0 to before 6.5 Fixed in 6.5 Patch available GHSA-472f-vmf2-pr3h
- github.com/canonical/lxd (Go) Vendor— Affected 0.0.0-20200331193331-03aab09f5b5c to before 0.0.0-20250224180022-ec09b24179f3 Fixed in 0.0.0-20250224180022-ec09b24179f3 Patch available GHSA-472f-vmf2-pr3h
Remediation
- Fix · CNA LXD (Canonical) Fixed in 6.5, 5.21.4
- Fix · GHSA-472f-vmf2-pr3h github.com/canonical/lxd (Go) Fixed in 5.21.4 Advisory →
- Fix · GHSA-472f-vmf2-pr3h github.com/canonical/lxd (Go) Fixed in 6.5 Advisory →
- Fix · GHSA-472f-vmf2-pr3h github.com/canonical/lxd (Go) Fixed in 0.0.0-20250224180022-ec09b24179f3 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Canonical LXD 5.21.4, 6.5
7 records Highest priority Priority HIGH 2 HIGH, 4 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2025-34116 Arbitrary File Read via Template Injection in Snapshot PatternsPriority HIGH 70
- TI-2025-34119 Project Existence Disclosure via Error Handling in LXD Image ExportPriority HIGH 66
- TI-2025-34120 Project existence disclosure in LXD images APIPriority MEDIUM 64
Timeline
- 2026-10-02 Threatist record created from CVE-2025-54293
- 2026-10-03 Alias added: GHSA-472f-vmf2-pr3h
References
More Canonical Lxd vulnerabilities
- TI-2026-22659 Authenticated RCE via unsanitized compression_algorithm CVSS 4.0CRITICAL 9.4
- TI-2026-47475 Path traversal via unvalidated instance name in backup tarball restore enables root file write / RCE CVSS 3.1CRITICAL 9.9
- TI-2026-45146 Cross-project instance move bypasses all project restrictions allowing host command execution CVSS 3.1CRITICAL 9.9
- TI-2026-45143 Cross-project instance copy bypasses target project restrictions via TOCTOU in config merge CVSS 3.1CRITICAL 9.9
- TI-2026-45142 Project restriction bypass via instance migration config override CVSS 3.1CRITICAL 9.9
- TI-2026-45140 Root RCE via image backup.yaml symlink CVSS 3.1CRITICAL 9.9
Sources
- CVE-2025-54293 · CVE Program
- CVE-2025-54293 · NVD
- FIRST EPSS
- GHSA-472f-vmf2-pr3h · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences