{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.17"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "97e0d968a782fc259ebde112db1e9b9ff1ad724f"
            },
            {
              "fixed": "efcfefa8032f27dfe922d1f75c4500b2dfc938f7"
            }
          ],
          "repo": "https://github.com/containers/fuse-overlayfs",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-2cc4-p72c-v85h"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-266"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52791.json"
  },
  "details": "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.",
  "id": "CVE-2026-52791",
  "modified": "2026-07-31T03:33:46.709766092Z",
  "published": "2026-07-29T16:14:46.724Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/containers/fuse-overlayfs/releases/tag/v1.17"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52791.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/containers/fuse-overlayfs/security/advisories/GHSA-2cc4-p72c-v85h"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-52791"
    },
    {
      "type": "FIX",
      "url": "https://github.com/containers/fuse-overlayfs/commit/97e0d968a782fc259ebde112db1e9b9ff1ad724f"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "fuse-overlayfs release-1.x preserves SUID/SGID bits after truncate/open(O_TRUNC)"
}