Servers and applications
CVE-2026-41647
Nil-Pointer Dereference via S3 Bucket Import
- Severity
- Medium 6.5
- 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
- Attack
- Over the network · Needs a user account · No user action needed
- Attacker can
- Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H- Also known as
- GHSA-fwj8-62r8-8p8m
- Sources
- NVD, Project advisories (GitHub)
Description
Missing error handling could lead an authenticated Incus user to cause a daemon crash through the import of a truncated storage bucket backup file.
It was found that TransferManager.UploadAllFiles iterates over tar entries but only checks for io.EOF from tr.Next(). When tr.Next() returns a non-EOF error, such as unexpected EOF from a truncated archive, the header hdr is nil and the code continues to access hdr.Name, causing a nil-pointer dereference that panics the daemon.
This may allow the Incus daemon to be crashed during S3 bucket restore if a truncated or corrupted backup archive is provided. A panic can occur when a malformed archive produces a non-EOF tar read error after the first entry. Any caller of UploadAllFiles that processes attacker-controlled archive content may be affected.
Affected File: https://github.com/lxc/incus/blob/v6.22.0/…server/storage/s3/transfer_manager.go#L127
The tar-iteration loop only checks for EOF:
Affected Code:
Affected software
| Software | Affected versions |
|---|---|
IncusServers and applications · cpe:a:linuxcontainers:incus |
|
IncusServers and applications · github:lxc/incus |
|
About Incus
container manager for system containers
- 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
Vulnerabilities in Incus
- In our list
- 92
- Published in the last 12 months
- 89
- Critical, last 12 months
- 37
- High, last 12 months
- 28
- Known exploited
- 0
- CVE-2026-130786Incus before 7.6.0 LXC Configuration Injection via OCI Image ConfigCritical 9.4 18 Nov 2026
- CVE-2026-130785Incus 7.3.0 before 7.6.0 Guest API Container Impersonation via Forged CgroupHigh 8.4 18 Nov 2026
- CVE-2026-130784Incus before 7.6.0 Authorization Bypass via Default Project Resource InheritanceCritical 9.4 18 Nov 2026
- CVE-2026-130783Incus before 7.6.0 Token Exposure and Missing Authorization via Operation EventsCritical 9.3 18 Nov 2026
- CVE-2026-130782Incus before 7.6.0 Improper Authorization Exposes Default Project ResourcesHigh 8.3 18 Nov 2026
- CVE-2026-130781Incus before 7.6.0 Memory Exhaustion via S3 Listener Pre-Authentication BufferingHigh 7.1 18 Nov 2026
References
- NVD https://nvd.nist.gov/vuln/detail/CVE-2026-41647
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-41647
- GitHub Advisory Database https://github.com/advisories/GHSA-fwj8-62r8-8p8m
- github.com https://github.com/lxc/incus/security/advisories/GHSA-fwj8-62r8-8p8m