For your digest
github.com/canonical/lxd: Canonical LXD CSRF Vulnerability When Using Client Certificate Authentication with the LXD-UI
It touches something Phylax follows. No evidence of use yet.
Does it affect what I run?
github.com/canonical/lxd (Go)
Checked in your browser. The version you type is not sent anywhere.
Who is affected
- github.com/canonical/lxd (Go): from 5.0, before 5.0.5
- github.com/canonical/lxd (Go): from 5.1, before 5.21.4
- github.com/canonical/lxd (Go): from 6.0, before 6.5
- github.com/canonical/lxd (Go): from 0.0.0-20220401034332-1e1349e3cbf3, before 0.0.0-20250827065555-0494f5d47e41
- github.com/canonical/lxd (Go): every version, with no fixed release listed
The fix
github.com/canonical/lxd (Go) fixed in 5.0.5
gogo get github.com/canonical/lxd@v5.0.5Check what is installedgo list -m github.com/canonical/lxdPaste into Cursor, Lovable or Claude CodeUpgrade the Go dependency github.com/canonical/lxd to 5.0.5 or the nearest later release, to fix CVE-2025-54286. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.github.com/canonical/lxd (Go) fixed in 5.21.4
gogo get github.com/canonical/lxd@v5.21.4Check what is installedgo list -m github.com/canonical/lxdPaste into Cursor, Lovable or Claude CodeUpgrade the Go dependency github.com/canonical/lxd to 5.21.4 or the nearest later release, to fix CVE-2025-54286. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.github.com/canonical/lxd (Go) fixed in 6.5
gogo get github.com/canonical/lxd@v6.5Check what is installedgo list -m github.com/canonical/lxdPaste into Cursor, Lovable or Claude CodeUpgrade the Go dependency github.com/canonical/lxd to 6.5 or the nearest later release, to fix CVE-2025-54286. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.github.com/canonical/lxd (Go) fixed in 0.0.0-20250827065555-0494f5d47e41
gogo get github.com/canonical/lxd@v0.0.0-20250827065555-0494f5d47e41Check what is installedgo list -m github.com/canonical/lxdPaste into Cursor, Lovable or Claude CodeUpgrade the Go dependency github.com/canonical/lxd to 0.0.0-20250827065555-0494f5d47e41 or the nearest later release, to fix CVE-2025-54286. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
Fix commands generated from the advisory's versions. No model wrote them.
In plain words
Brief pending: here are the facts and the fix. The explanation in plain words follows when it has been written and checked.
Evidence
No evidence that it is being used, or can be. It is listed because of what it affects.
Timeline
- First published here, as "For your digest".