{
  "id": "CVE-2026-35368",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-35368",
  "published_at": "2026-04-22T16:08:48.965Z",
  "title": "uutils coreutils chroot Local Privilege Escalation and chroot Escape in via Name Service Switch (NSS) Injection",
  "vendor": "Uutils",
  "product": "coreutils",
  "cvss": {
    "score": 7.2,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "A vulnerability exists in the chroot utility of uutils coreutils when using the --userspec option. The utility resolves the user specification via getpwnam() after entering the chroot but before dropping root privileges. On glibc-based systems, this can trigger the Name Service Switch (NSS) to load shared libraries (e.g., libnss_*.so.2) from the new root directory. If the NEWROOT is writable by an attacker, they can inject a malicious NSS module to execute arbitrary code as root, facilitating a full container escape or privilege escalation.",
  "cwe": "CWE-426",
  "cpes": [
    "cpe:2.3:a:uutils:coreutils:-:*:*:*:*:rust:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "",
        "product": "coreutils",
        "ranges": [
          "\u003c= 0.8.0"
        ],
        "fixed_in": null,
        "ecosystem": "crates.io",
        "advisory": "GHSA-mh5c-xrmh-m794"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
