{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.7.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "995c9e04a6cc34a3a95b23a26fa59ae87e7744bd"
            }
          ],
          "repo": "https://github.com/uutils/coreutils",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "canonical",
    "cwe_ids": [
      "CWE-59"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35349.json"
  },
  "details": "A vulnerability in the rm utility of uutils coreutils allows a bypass of the --preserve-root protection. The implementation uses a path-string check rather than comparing device and inode numbers to identify the root directory. An attacker or accidental user can bypass this safeguard by using a symbolic link that resolves to the root directory (e.g., /tmp/rootlink -\u003e /), potentially leading to the unintended recursive deletion of the entire root filesystem.",
  "id": "CVE-2026-35349",
  "modified": "2026-07-08T05:39:32.391313328Z",
  "published": "2026-04-22T16:07:59.808Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/uutils"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35349.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/uutils/coreutils/releases/tag/0.7.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-35349"
    },
    {
      "type": "FIX",
      "url": "https://github.com/uutils/coreutils/pull/9706"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/uutils/coreutils"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "uutils coreutils Path-Based Safety Bypass with --preserve-root"
}