Description
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.
Published: 2026-07-29
Score: 2 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

fuse-overlayfs retains SUID and SGID bits when a file is truncated or reopened with the O_TRUNC flag in release‑1.x. This behaviour allows a non‑privileged process to leave an upper‑layer file with mode 4777, giving that file root privileges upon execution. The weakness is an improper access control for privilege bits (CWE‑266) and a failure to normalise file state after truncation (CWE‑281). The fix is implemented in versions 1.17 and newer.

Affected Systems

All installations of fuse‑overlayfs older than version 1.17 that use the release‑1.x C branch are vulnerable. The flaw applies to rootless container environments where a user has write access to the overlay filesystem and can truncate or create files in the upper layer.

Risk and Exploitability

The CVSS score of 2 indicates a low severity rating. The EPSS score is less than 1%, suggesting that exploitation is currently unlikely. The vulnerability is not listed in the CISA KEV catalog. An attacker with local privileges inside a container or on the host filesystem that can access the overlay filesystem can exploit the flaw by truncating a file and ensuring it ends up with SUID/SGID root bits. The resulting file can then be executed to run commands with elevated privileges, creating a local privilege‑escalation path. No evidence from the CVE data indicates that this flaw directly allows host break‑out or container escape.

Generated by OpenCVE AI on August 2, 2026 at 07:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade fuse‑overlayfs to version 1.17 or later. That release removes the preservation of SUID/SGID bits after truncation.
  • If an upgrade cannot be performed immediately, clear SUID/SGID bits on existing upper‑layer files (e.g., chmod -s path).
  • Enforce container policies that prevent untrusted users from creating or modifying files with privileged mode bits on the overlay filesystem.

Generated by OpenCVE AI on August 2, 2026 at 07:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 30 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
First Time appeared Containers
Containers fuse-overlayfs
Vendors & Products Containers
Containers fuse-overlayfs

Thu, 30 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-281
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N'}

threat_severity

Moderate


Wed, 29 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 29 Jul 2026 16:45:00 +0000

Type Values Removed Values Added
Description 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.
Title fuse-overlayfs release-1.x preserves SUID/SGID bits after truncate/open(O_TRUNC)
Weaknesses CWE-266
References
Metrics cvssV4_0

{'score': 2, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Containers Fuse-overlayfs
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-29T17:56:43.388Z

Reserved: 2026-06-08T18:02:19.731Z

Link: CVE-2026-52791

cve-icon Vulnrichment

Updated: 2026-07-29T17:56:20.786Z

cve-icon NVD

Status : Received

Published: 2026-07-29T17:16:52.187

Modified: 2026-07-29T18:16:54.047

Link: CVE-2026-52791

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-29T16:14:46Z

Links: CVE-2026-52791 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-02T08:00:04Z

Weaknesses
  • CWE-266

    Incorrect Privilege Assignment

  • CWE-281

    Improper Preservation of Permissions