CVE-2026-33898: Github.com/lxc/incus/v6/cmd/incus Local Incus UI Web Server Vulnerability

HIGH
Advisory Identifier: GHSA-453r-g2pg-cxxq
CVSS 8.8
CWE-287
Published
Advisory Summary

CVE-2026-33898 is a HIGH (CVSS 8.8) local incus ui web server vulnerability (CWE-287: Improper Authentication) affecting Github.com/lxc/incus/v6/cmd/incus libraries in the Go ecosystem. The issue involves local incus ui web server vulnerable to nuthentication bypass. Remediation is available by upgrading affected packages to version 6.23.0.

CVE-2026-33898 at a Glance

CVE Identifier CVE-2026-33898
GHSA Identifier GHSA-453r-g2pg-cxxq
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-287: Improper Authentication
Affected Product Github.com/lxc/incus/v6/cmd/incus
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 8.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-33898

To remediate this vulnerability, upgrade all affected Github.com/lxc/incus/v6/cmd/incus dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/lxc/incus/v6/cmd/incus fixed: 6.23.0
Upgrade github.com/lxc/incus/v6/cmd/incus to 6.23.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/lxc/incus/v6/cmd/incus

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-33898, inspect your project dependencies for Github.com/lxc/incus/v6/cmd/incus:

inspect dependencies for github.com/lxc/incus/v6/cmd/incus

Analyze the terminal output to locate any version of Github.com/lxc/incus/v6/cmd/incus in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.23.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Github.com/lxc/incus/v6/cmd/incus, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary The web server spawned by `incus webui` incorrectly validates the authentication token such that an invalid value will be accepted. ### Details `incus 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](https://7asecurity.com/)

CVE-2026-33898 Affected Github.com/lxc/incus/v6/cmd/incus Versions

1 component(s)
Fixed Versions:
6.23.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/lxc/incus/v6/cmd/incus
Go
< 6.23.0
6.23.0

References

Frequently Asked Questions

What is CVE-2026-33898?
CVE-2026-33898 is a security vulnerability in Github.com/lxc/incus/v6/cmd/incus involving Local Incus UI web server vulnerable to nuthentication bypass under CWE-287: Improper Authentication.
Which Github.com/lxc/incus/v6/cmd/incus versions are affected?
Affected versions include releases prior to 6.23.0 across affected packages: github.com/lxc/incus/v6/cmd/incus.
What version fixes CVE-2026-33898?
Upgrading to 6.23.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/lxc/incus/v6/cmd/incus affected?
Yes, github.com/lxc/incus/v6/cmd/incus is affected in releases prior to 6.23.0. Upgrade your dependency to 6.23.0 or later.
What is the CVSS score of CVE-2026-33898?
CVE-2026-33898 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2026-33898?
CVE-2026-33898 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check Go dependencies for CVE-2026-33898?
Run the dependency tree command: 'inspect dependencies for github.com/lxc/incus/v6/cmd/incus'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-453r-g2pg-cxxq",
  "modified" : "2026-03-27T17:21:31Z",
  "published" : "2026-03-27T17:21:31Z",
  "aliases" : [ "CVE-2026-33898" ],
  "summary" : "Local Incus UI web server vulnerable to nuthentication bypass",
  "details" : "### Summary\nThe web server spawned by `incus webui` incorrectly validates the authentication token such that an invalid value will be accepted.\n\n### Details\n`incus 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.\n\nWhile the Incus client correctly validates the value of the cookie, it does not correctly validate the token when passed int the URL.\nThis 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`.\n\nThis 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.\n\n### Credit\nThis issue was discovered and reported by the team at [7asecurity](https://7asecurity.com/)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/lxc/incus/v6/cmd/incus"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "6.23.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/lxc/incus/security/advisories/GHSA-453r-g2pg-cxxq"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-33898"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/lxc/incus/commit/d81d49e746e15dad35de39dc0ace0cedfba7d2f7"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/lxc/incus"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/lxc/incus/releases/tag/v6.23.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-03-27T17:21:31Z",
    "nvd_published_at" : "2026-03-27T00:16:23Z"
  }
}