{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "1.48.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "04a3c779b23488070b1e50e2f85c7490754de7ff"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v1.48.0",
                "range": [
                  {
                    "fixed": "50fe17ea6dcb0640791c864a71399c5a90a38425"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "50fe17ea6dcb0640791c864a71399c5a90a38425"
            },
            {
              "fixed": "04a3c779b23488070b1e50e2f85c7490754de7ff"
            }
          ],
          "repo": "https://github.com/adventdevinc/kudu",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-rwrp-2jqw-f349"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-367"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139884.json"
  },
  "details": "Kudu before 1.48.0 contains a time-of-check time-of-use race condition in the File Shredder feature that allows local unprivileged users to overwrite and delete arbitrary files with elevated privileges. Attackers who can write to a shredded directory can swap a file or parent directory for a symbolic link or NTFS junction between the lstat() check and open() in shredFile(), causing the administrator-level process to destroy protected system binaries or security tooling.",
  "id": "CVE-2026-139884",
  "modified": "2026-11-30T18:45:29.795067641Z",
  "published": "2026-11-30T16:20:35.586Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://github.com/AdventDevInc/kudu"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/AdventDevInc/kudu/blob/589d4889eca4b9b5ead53e78fb0c16d0ecc44dff/src/main/ipc/file-shredder.ipc.ts#L78-L85"
    },
    {
      "type": "FIX",
      "url": "https://github.com/AdventDevInc/kudu/commit/04a3c779b23488070b1e50e2f85c7490754de7ff"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/AdventDevInc/kudu/releases/tag/v1.48.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/AdventDevInc/kudu/security/advisories/GHSA-rwrp-2jqw-f349"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139884.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139884"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/kudu-before-1.48.0-toctou-symlink-race-in-file-shredder"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Kudu before 1.48.0 TOCTOU Symlink Race in File Shredder"
}