CVE-2025-54289: Privilege Escalation in operations API in Canonical LXD <6.5 on multiple platforms allows attacker with read p
36
Routine
HIGH 8.1UPGRADE
CVE-2025-54289 is a high-severity flaw (CVSS 8.1) affecting lxd. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Privilege Escalation in operations API in Canonical LXD <6.5 on multiple platforms allows attacker with read permissions to hijack terminal or console sessions and execute arbitrary commands via WebSocket connection hijacking format
Why this priority
- High severity
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.1 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 89%) |
| CISA exploited list | No |
| Weakness | CWE-1385 |
| Published | 2025-10-02 |
| Last modified | 2026-10-23 |
Publisher (CNA): Canonical Ltd. · Vendor: canonical
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
canonical lxd UPGRADE
Affected: >= 4.0.0 and < 5.21.4 · >= 6.1 and < 6.5
Fixed in: 5.21.4, 6.5
Safe to downgrade to: a release before 4.0.0
1. Check installed version
apt-cache policy lxd || rpm -q lxd || lxd --version
2. UPGRADE to 5.21.4 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade lxd
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade lxd
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 4.0.0 (Debian / Ubuntu)
apt-cache madison lxd
sudo apt install lxd=<VERSION_BEFORE_4.0.0>
sudo apt-mark hold lxd
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list lxd
sudo dnf downgrade lxd-<VERSION_BEFORE_4.0.0>
sudo dnf versionlock add lxd
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Related CVEs
- CVE-2026-66897 CRITICAL 9.9 UPGRADE A path traversal vulnerability in LXD's instance template processing allows an attacker with container edit pe
- CVE-2026-63294 CRITICAL 9.9 UPGRADE A link following vulnerability in LXD allows an attacker to achieve root command execution on the host system
- CVE-2026-63298 CRITICAL 9.9 UPGRADE An improper neutralization of special elements vulnerability in LXD's NVIDIA instance configuration handling a
- CVE-2026-63293 CRITICAL 9.9 UPGRADE A link following vulnerability in LXD allows an attacker to achieve arbitrary file read and write operations o
- CVE-2026-63299 CRITICAL 9.9 UPGRADE An authorization bypass vulnerability in LXD allows an authenticated user to bypass project-level disk and vol