Skip to main content
Vulnerability Database/CVE-2026-109358

CVE-2026-109358: Edgeless Systems Contrast Privilege Escalation

CVE-2026-109358 is a privilege escalation vulnerability in Edgeless Systems Contrast allowing local unprivileged users to modify containerd configuration and gain elevated privileges. This article covers technical details, affected versions from 1.8.0 to 1.24.0, impact assessment, and mitigation strategies.

Published:

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-109358 Overview

CVE-2026-109358 affects Edgeless Systems Contrast versions 1.8.0 through 1.24.0. The node installer writes the containerd configuration file with world-writable permissions (0666). Local unprivileged users on the node can modify the configuration to escalate privileges, for example by overwriting the runc binary location to point to an attacker-controlled executable. The flaw is classified under CWE-732: Incorrect Permission Assignment for Critical Resource.

Critical Impact

Any local unprivileged user on an affected node can tamper with the container runtime configuration and gain root-level code execution through the containerd shim process.

Affected Products

  • Edgeless Systems Contrast 1.8.0
  • Edgeless Systems Contrast releases up to and including 1.24.0
  • Nodes provisioned via the Contrast node installer component

Discovery Timeline

  • 2026-10-12 - CVE-2026-109358 published to NVD
  • 2026-10-16 - Last updated in NVD database

Technical Details for CVE-2026-109358

Vulnerability Analysis

Contrast is a confidential-computing runtime for Kubernetes workloads. Its node installer stages a containerd configuration file on each node so that confidential pods launch with the correct runtime handler. In versions 1.8.0 through 1.24.0, the installer writes this configuration with Unix mode 0666, granting read and write permissions to every local account on the node.

The containerd daemon runs as root and consults this file at startup and on reload. Any modification to the file is executed with root privileges when containerd next parses it. The vulnerability therefore converts arbitrary local write access into arbitrary root code execution.

Root Cause

The root cause is an incorrect chmod/os.WriteFile mode applied by the node installer. A privileged component writes a security-critical configuration file with world-writable permissions, violating least-privilege expectations for files consumed by a root daemon.

Attack Vector

Exploitation requires local access to a node running an affected Contrast version with low-privilege credentials. An attacker opens the world-writable containerd configuration file, replaces the runc binary path (or another runtime handler path) with a path to an attacker-controlled script, and waits for or triggers a containerd reload or new container launch. When containerd invokes the referenced binary as root, the attacker's payload executes with full node privileges. See the GitHub Security Advisory GHSA-376m-h37w-4rvq and the VulnCheck Advisory for additional technical context.

Detection Methods for CVE-2026-109358

Indicators of Compromise

  • Containerd configuration file (typically /etc/containerd/config.toml or the Contrast-managed variant) with mode 0666 present on the node
  • Unexpected modifications to runtime handler paths such as runc, runsc, or Contrast-specific shim binaries within the containerd config
  • New or modified executables in non-standard paths referenced by the containerd configuration
  • Containerd process spawning unexpected child binaries outside /usr/bin, /usr/sbin, or vendor-approved runtime directories

Detection Strategies

  • Audit file permissions on all containerd configuration files across the Kubernetes fleet and flag any entry with world-writable bits set
  • Enable Linux audit rules (auditctl -w /etc/containerd/ -p wa) to log writes to the containerd configuration directory by non-root UIDs
  • Correlate containerd restart or SIGHUP events with preceding writes to its configuration file originating from unprivileged accounts

Monitoring Recommendations

  • Track process ancestry for containerd and alert when it executes binaries outside an approved allowlist
  • Monitor Kubernetes node file integrity using an endpoint protection platform or host IDS covering /etc/containerd/ and Contrast installer output paths
  • Review node installer logs after Contrast upgrades to confirm the written configuration file mode is 0644 or stricter

How to Mitigate CVE-2026-109358

Immediate Actions Required

  • Upgrade Edgeless Systems Contrast to version 1.24.1 or later on all nodes running the node installer
  • Manually restrict permissions on existing containerd configuration files to 0644 owned by root:root until the upgrade completes
  • Review node accounts and remove unnecessary local user access on Kubernetes worker nodes that host confidential workloads
  • Rotate any secrets or credentials accessible from affected nodes if evidence of exploitation is found

Patch Information

Edgeless Systems addressed the issue in Contrast 1.24.1. The fix corrects the node installer so the containerd configuration file is created with restrictive permissions. Refer to the GitHub Security Advisory GHSA-376m-h37w-4rvq for the full remediation statement and upgrade guidance.

Workarounds

  • Apply chmod 0644 and chown root:root to the containerd configuration file after each node installer run until the patched release is deployed
  • Mount the containerd configuration directory read-only for non-root users through mandatory access controls such as SELinux or AppArmor policies
  • Restrict local login on affected nodes to administrative accounts only, eliminating the unprivileged local user prerequisite
bash
# Verify and harden containerd config permissions on each node
stat -c '%a %U:%G %n' /etc/containerd/config.toml
chown root:root /etc/containerd/config.toml
chmod 0644 /etc/containerd/config.toml

# Add an audit rule to log writes to the containerd config directory
auditctl -w /etc/containerd/ -p wa -k containerd_config_write

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.