Servers and applications
GHSA-cp5w-98j2-x2hv
OIDC tokens are not bound to the Incus client or to a verified user
- Severity
- High 8.1
- Published
- 27 Nov 2026
- Last changed
- 27 Nov 2026
- Added to UpHeron
- 27 Nov 2026
- Fixed in
- 7.7.0
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H- Sources
- Project advisories (GitHub)
Description
When OIDC authentication is configured, Incus accepts a JWT sent as bearer token (or through the web UI cookie) after checking its issuer, signature and expiry. Unless oidc.audience was set, nothing tied that token to this Incus server:
- A token that the same identity provider issued to a different application was accepted.
- A token signed by the provider that doesn't name any user was accepted, and its bearer was authenticated with an empty user name.
- An ID token was accepted in place of the access token, so the checks meant for the access token, such as the incus.allowed_subnets claim and its shorter lifetime, could be skipped by sending the other token.
Separately, when oidc.claim is unset, the user name is taken from the token's email claim. That claim was used even when the provider marks the address as unverified.
Anyone who can obtain a JWT signed by the configured OIDC issuer can authenticate to the Incus API, without ever having been given access to Incus.
Workarounds
Set oidc.audience to a value that the identity provider only puts in access tokens issued for Incus. This rejects tokens issued to other applications and ID tokens sent in place of the access token.
Set oidc.claim to a claim that users can't edit themselves, such as sub, or configure the provider to only release verified e-mail addresses.
Affected software
| Software | Affected versions |
|---|---|
IncusServers and applications · github:lxc/incus |
|
About Incus
container manager for system containers
- GitHub stars
- 6,771GitHub, 29 Nov 2026
- Forks
- 535GitHub, 29 Nov 2026
- Latest release
- v7.7.0GitHub, 29 Nov 2026
- Released
- 27 Nov 2026GitHub
- Developer
- Linux ContainersWikidata
- License
- Apache License 2.0Wikidata
- Written in
- GoWikidata
- First released
- 7 Aug 2023Wikidata
- First published on GitHub
- 22 Jul 2023GitHub
Vulnerabilities in Incus
- In our list
- 134
- Published in the last 12 months
- 131
- Critical, last 12 months
- 49
- High, last 12 months
- 46
- Known exploited
- 0
- GHSA-wxrh-h92w-7p77Restricted clients can make QEMU read arbitrary host files through SMBIOS type 11 keysHigh 7.7 27 Nov 2026
- GHSA-58vc-fxv9-grp7Line breaks in instance configuration inject liblxc directives and run host commandsCritical 9.9 27 Nov 2026
- GHSA-xw8w-vwh3-9w5vRestricted project users can read and write host devices through the file transfer APICritical 9.9 27 Nov 2026
- GHSA-wm96-rxh7-f5w2NBD commands expose volume and VM disks to every local user through an unauthenticated loopback listenerHigh 7.9 27 Nov 2026
- GHSA-whqq-3g5w-5p5wArbitrary file write during recursive file pull on case-insensitive file systemsHigh 7.7 27 Nov 2026
- GHSA-wgg4-rrw6-c64wContainer TPM resource manager node can refer to another TPMHigh 8.4 27 Nov 2026
References
- GitHub Advisory Database https://github.com/advisories/GHSA-cp5w-98j2-x2hv
- github.com https://github.com/lxc/incus/security/advisories/GHSA-cp5w-98j2-x2hv