CVE-2026-52791fuse-overlayfs release-1.x preserves SUID/SGID bits after truncate/open(O_TRUNC)
fuse-overlayfs is an implementation of overlayfs in FUSE for rootless containers. Prior to 1.17, the release-1.x C branch preserves SUID and SGID mode bits in main.c during open(O_TRUNC) and truncate handling on a copied-up file, allowing a low-privileged process to leave the upper-layer file with mode 4777. This issue is fixed in version 1.17.
What to do
Fixed builds are available from Alpine: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | fuse-overlayfs | Fix pending | UBUNTU-CVE-2026-52791 | |
| Ubuntu 26.04 | fuse-overlayfs | Under investigation | UBUNTU-CVE-2026-52791 | |
| Ubuntu 24.04 | fuse-overlayfs | Under investigation | UBUNTU-CVE-2026-52791 | |
| Ubuntu 22.04 | fuse-overlayfs | Under investigation | UBUNTU-CVE-2026-52791 | |
| Ubuntu 20.04 | fuse-overlayfs | Fix pending | UBUNTU-CVE-2026-52791 | |
| Debian 14 | fuse-overlayfs | Fix pending | DEBIAN-CVE-2026-52791 | |
| Debian 13 | fuse-overlayfs | Fix pending | DEBIAN-CVE-2026-52791 | |
| Debian 12 | fuse-overlayfs | Fix pending | DEBIAN-CVE-2026-52791 | |
| Red Hat Enterprise Linux 10 | fuse-overlayfs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | fuse-overlayfs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | fuse-overlayfs | Fix pending Fix deferred | ||
| Alpine Linux 3.24 | fuse-overlayfs | Fixed | 1.18-r0 | ALPINE-CVE-2026-52791 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- containers fuse-overlayfs: affected: < 1.17
References
- https://github.com/containers/fuse-overlayfs/security/advisories/GHSA-2cc4-p72c-v85h
- https://github.com/containers/fuse-overlayfs/commit/97e0d968a782fc259ebde112db1e9b9ff1ad724f
- https://github.com/containers/fuse-overlayfs/releases/tag/v1.17
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.