github.com/lxc/incus/v6/cmd/incus
Affected
- introduced
0, fixed6.23.0(semver)
Fixed versions
6.23.0
Fix
- Fixed version
6.23.0go get github.com/lxc/incus/v6/cmd/[email protected]
Advisory
Also known as: CVE-2026-33898, GO-2026-4879
Local Incus UI web server vulnerable to nuthentication bypass
Summary
The web server spawned by incus webui incorrectly validates the authentication token such that an invalid value will be accepted.
Detailsincus webui runs a local web server on a random localhost port. For authentication, it provides the user with a URL containing an authentication token. When accessed with that token, Incus creates a cookie persisting that token without needing to include it in subsequent HTTP requests.
While the Incus client correctly validates the value of the cookie, it does not correctly validate the token when passed int the URL.
This allows for an attacker able to locate and talk to the temporary web server on localhost to have as much access to Incus as the user who ran incus webui.
This can lead to privilege escalation by another local user or an access to the user's Incus instances and possibly system resources by a remote attack able to trick the local user into interacting with the Incus UI web server.
Credit
This issue was discovered and reported by the team at 7asecurity
High Basis: The source's own band: HIGH
0, fixed 6.23.0 (semver)6.23.0
6.23.0go get github.com/lxc/incus/v6/cmd/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0