{
  "id": "CVE-2026-13201",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-13201",
  "published_at": "2026-06-24T20:39:00.173Z",
  "title": "Kubevirt: virt-handler-rhel9: kubevirt: safepath symlink following in virt-handler enables notify socket hijacking and node-level vm disruption",
  "vendor": "Red Hat",
  "product": "Red Hat Container Native Virtualization 4.12",
  "cvss": {
    "score": 7.3,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/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 flaw was found in KubeVirt's safepath package used by virt-handler. The OpenAtNoFollow function uses O_PATH|O_NOFOLLOW to obtain a file descriptor to a path leaf, but downstream operations resolve the path via /proc/self/fd/N using link-following syscalls. When the leaf is a symlink, the kernel dereferences it, defeating the intended no-follow protection. An attacker with access to a virt-launcher pod can exploit this to redirect virt-handler's IPC socket connections, including the notify socket used for VM domain lifecycle events. By hijacking this socket, the attacker can inject arbitrary domain events into virt-handler, causing it to take incorrect lifecycle actions, corrupt VM state in the Kubernetes API, or crash — resulting in sustained denial of VM management services for all virtual machines on the affected node. Additionally, the same symlink following flaw allows virt-handler to apply file ownership or permission changes to unintended host paths.",
  "cwe": "CWE-61",
  "cpes": [
    "cpe:2.3:a:kubevirt:kubevirt:-:*:*:*:*:kubernetes:*:*",
    "cpe:2.3:a:redhat:openshift_virtualization:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.3
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Red Hat",
        "product": "Red Hat Container Native Virtualization 4.12",
        "ranges": null,
        "fixed_in": [
          "1791522624"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Container Native Virtualization 4.13",
        "ranges": null,
        "fixed_in": [
          "1786346596"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Container Native Virtualization 4.14",
        "ranges": null,
        "fixed_in": [
          "1786309624"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Container Native Virtualization 4.15",
        "ranges": null,
        "fixed_in": [
          "1786347656"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Container Native Virtualization 4.16",
        "ranges": null,
        "fixed_in": [
          "1786030071"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Container Native Virtualization 4.17",
        "ranges": null,
        "fixed_in": [
          "1786348529"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Container Native Virtualization 4.18",
        "ranges": null,
        "fixed_in": [
          "1786130068"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Container Native Virtualization 4.19",
        "ranges": null,
        "fixed_in": [
          "1786334215"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Container Native Virtualization 4.20",
        "ranges": null,
        "fixed_in": [
          "1785831334"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Container Native Virtualization 4.21",
        "ranges": null,
        "fixed_in": [
          "1785829701"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Container Native Virtualization 4.22",
        "ranges": null,
        "fixed_in": [
          "1785140336"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Red Hat Container Native Virtualization 4.12 to 1791522624 or later.",
      "Upgrade Red Hat Container Native Virtualization 4.13 to 1786346596 or later.",
      "Upgrade Red Hat Container Native Virtualization 4.14 to 1786309624 or later.",
      "Upgrade Red Hat Container Native Virtualization 4.15 to 1786347656 or later.",
      "Upgrade Red Hat Container Native Virtualization 4.16 to 1786030071 or later.",
      "Upgrade Red Hat Container Native Virtualization 4.17 to 1786348529 or later.",
      "Upgrade Red Hat Container Native Virtualization 4.18 to 1786130068 or later.",
      "Upgrade Red Hat Container Native Virtualization 4.19 to 1786334215 or later.",
      "Upgrade Red Hat Container Native Virtualization 4.20 to 1785831334 or later.",
      "Upgrade Red Hat Container Native Virtualization 4.21 to 1785829701 or later.",
      "Upgrade Red Hat Container Native Virtualization 4.22 to 1785140336 or later."
    ],
    "workarounds": [
      "The following measures reduce the attacker pool and limit secondary impact:\n\nReview RBAC policies to restrict pods/exec permissions on virt-launcher pods to only those users who strictly require it. This reduces the number of identities that can place symlinks in the launcher filesystem.\nEnsure SELinux is in enforcing mode (default in OpenShift). While SELinux does not prevent the notify socket hijacking path, it restricts the set of host files targetable through the chown/chmod path by blocking operations on files with protected security labels.\nRHCOS immutable filesystem layers prevent modification of core OS files through the chown/chmod path.\nNote: no mitigation currently addresses the notify socket hijacking vector. The attacker's ability to inject domain events into virt-handler is not constrained by SELinux or filesystem immutability."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:51031"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:53655"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:53671"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:53684"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:53721"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:53728"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:53763"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:53797"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
