All vulnerabilities

Servers and applications

CVE-2026-40195

Nil-Pointer Dereference Panic via Bucket Metadata

Severity
High 7.1
Published
30 Apr 2026
Last changed
26 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
7.0.0
Exploit chance
0.4% in the next 30 daysHigher than 34% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Null pointer dereference (CWE-476)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Also known as
GHSA-gc7j-g665-rxr9
Sources
NVD, Project advisories (GitHub)

Description

Missing validation logic in the storage bucket import logic allows an authenticated user with access to Incus' storage bucket feature to cause the Incus daemon to crash. Repeated use of this issue can be used to keep Incus offline causing a denial of service.

The storage bucket migration subsystem contains a nil-pointer dereference vulnerability that allows an authenticated attacker to crash the daemon during bucket import operations. The vulnerability is present in the backup metadata handling logic, where the daemon processes the index.yaml file from an imported archive and then accesses members of the parsed backup configuration without first verifying that the configuration object was initialized.

In Go, dereferencing a nil pointer triggers a runtime panic. Because CreateBucketFromBackup assumes that srcBackup.Config is populated from the supplied archive, a malicious or malformed index.yaml that omits the config block causes the daemon to dereference a nil pointer and…

From lxc/incus's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
IncusServers and applications · cpe:a:linuxcontainers:incus
  • Every version before 7.0.0
IncusServers and applications · github:lxc/incus
  • Every version before 7.0.0

About Incus

container manager for system containers

From Wikidata, CC0 1.0.
GitHub stars
6,644GitHub, 15 Nov 2026
Forks
522GitHub, 15 Nov 2026
Latest release
v7.6.0GitHub, 15 Nov 2026
Released
30 Oct 2026GitHub
Developer
Linux ContainersWikidata
License
Apache Software License 2.0Wikidata
Written in
GoWikidata
First released
7 Aug 2023Wikidata
First published on GitHub
22 Jul 2023GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-40195
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-40195
  • GitHub Advisory Database https://github.com/advisories/GHSA-gc7j-g665-rxr9
  • github.com https://github.com/lxc/incus/security/advisories/GHSA-gc7j-g665-rxr9