Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-104795 Overview
CVE-2026-104795 is a container escape and privilege escalation vulnerability in the insights-runtime-extractor DaemonSet. The component runs as a privileged pod with hostPID: true and scans container processes for runtime fingerprinting. During scanning, the coordinator drops privileges incompletely and then executes a workload-controlled binary. Any unprivileged tenant able to schedule a pod on an affected node can abuse this flow to regain full root with CAP_SYS_ADMIN and reach the host CRI-O socket. The weakness is classified under CWE-250: Execution with Unnecessary Privileges.
Critical Impact
An unprivileged pod on an affected node can escape to the host, acquire CAP_SYS_ADMIN, and access the CRI-O socket for full node compromise.
Affected Products
- Red Hat insights-runtime-extractor component
- Kubernetes/OpenShift nodes running the extractor DaemonSet
- Downstream Red Hat Insights deployments bundling the extractor
Discovery Timeline
- 2026-10-14 - CVE CVE-2026-104795 published to NVD
- 2026-10-14 - Last updated in NVD database
Technical Details for CVE-2026-104795
Vulnerability Analysis
The extractor coordinator forks a child, enters the target container's PID and mount namespaces with setns(), then switches to the target's working directory via fchdir() on an orphaned descriptor pointing into the extractor's own root filesystem. That filesystem hostPath-mounts the node's CRI-O socket. The coordinator then calls only seteuid(target_uid), which changes the effective UID but leaves the real UID and saved-set-UID at 0 and preserves the permitted capability set.
A guard function, check_no_privileged_perms(), inspects only the effective capability set and is skipped entirely when the target container runs as UID 0. The VersionExecutable fingerprint then invokes fpr_kind_executable with process.command_line[0], which is read from /proc/<pid>/cmdline and fully controlled by the workload. The Go helper GetExecutableVersionOutput runs exec.Command(executable, "--version").Output(), executing the workload's own binary inside the workload's mount namespace while ruid=0 in the host user namespace.
Root Cause
The privilege drop is incomplete. Only the effective UID is changed, the permitted capability set remains intact, and the sanity check is bypassed for workloads running as UID 0. The design then executes an attacker-controlled binary while retaining host-level privileges, violating least privilege ([CWE-250]).
Attack Vector
Any tenant able to schedule a pod on a node running the extractor can trigger the flow. The attacker names the main process to match a configured versioned-executable pattern such as node, python, python3, MainThread, or any name containing java. The pod's main binary calls setuid(0) on execution. When the operator triggers a scan, the DaemonSet executes the attacker's binary, which regains full root with CAP_SYS_ADMIN. The inherited current working directory resolves into the extractor's filesystem, exposing the host CRI-O socket for full node takeover. See the Red Hat CVE page and Red Hat Bug Report #2543917 for authoritative technical details.
Detection Methods for CVE-2026-104795
Indicators of Compromise
- Unexpected setuid(0) or setresuid(0,0,0) calls originating from workload containers immediately after being scanned by the extractor.
- Child processes of the insights-runtime-extractor DaemonSet executing binaries that reside in tenant mount namespaces.
- Access to the host CRI-O socket (/crio.sock or /var/run/crio/crio.sock) from processes other than kubelet or CRI-O itself.
- Creation of pods whose argv[0] matches node, python, python3, MainThread, or contains java with binaries not matching the expected runtime hashes.
Detection Strategies
- Audit execve events where the parent is the extractor coordinator and the executed path lives under a non-extractor mount namespace.
- Alert on capability transitions where CAP_SYS_ADMIN becomes effective inside a workload pod after a fingerprinting scan.
- Correlate DaemonSet scan events with subsequent socket connections to the CRI-O API from the same process tree.
Monitoring Recommendations
- Enable Linux audit rules for setuid, setresuid, and capset syscalls on nodes running the extractor.
- Monitor DaemonSet logs for scans targeting containers running as UID 0 and flag anomalous executions.
- Track pod creation events across all namespaces for process names matching the vulnerable fingerprint patterns.
How to Mitigate CVE-2026-104795
Immediate Actions Required
- Disable or scale down the insights-runtime-extractor DaemonSet until a patched release is deployed.
- Restrict pod scheduling permissions so untrusted tenants cannot land workloads on nodes running the extractor.
- Review admission controller policies and reject pods whose process names match the vulnerable fingerprint patterns when extractor removal is not possible.
Patch Information
Refer to Red Hat CVE-2026-104795 and Red Hat Bug Report #2543917 for the fixed component versions and errata. A proper fix must drop real, effective, and saved UIDs, clear the permitted capability set, and avoid executing workload-controlled binaries.
Workarounds
- Remove the hostPath mount exposing the CRI-O socket from the extractor pod spec if the DaemonSet must remain running.
- Apply strict Pod Security Admission restricted profile to tenant namespaces so attacker pods cannot easily satisfy fingerprint prerequisites.
- Isolate sensitive workloads to dedicated node pools that do not run the extractor DaemonSet.
# Temporarily disable the extractor DaemonSet
kubectl -n openshift-insights scale daemonset insights-runtime-extractor --replicas=0
# Or cordon nodes and remove the DaemonSet pods pending patch
kubectl -n openshift-insights delete daemonset insights-runtime-extractor
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

