TL;DR: Three high-severity runC vulnerabilities can let attackers escape containers and reach the host across Docker, containerd, Kubernetes, and managed cloud services, according to Orca Security. The incident shows that runtime trust assumptions and image provenance matter as much as patching when container boundaries can be subverted.
At a glance
What this is: This is an analysis of three runC vulnerabilities that can enable container escape and host compromise across common container platforms.
Why it matters: It matters because container runtime flaws can collapse isolation for Kubernetes, cloud workloads, and the identities those workloads use to access infrastructure.
👉 Read Orca Security's analysis of the runC container escape vulnerabilities
Context
runC is the low-level container runtime that turns container definitions into running processes on Linux. When its mount handling is flawed, the container boundary stops being a reliable security control and becomes a place where host compromise can begin. For teams running Kubernetes and managed cloud workloads, this is a workload identity and isolation problem as much as a patching problem.
The article argues that attackers can exploit mount races and symlink handling to redirect writes from the container view of /proc into attacker-controlled or host-relevant paths. That shifts the issue from ordinary container misconfiguration to a failure in the runtime assumptions that underpin workload containment. The starting point described in the article is typical of real-world hostile container scenarios, not an unusual edge case.
Key questions
Q: What breaks when a container runtime like runC mishandles mount paths?
A: Container isolation breaks because the runtime can be tricked into mounting or writing to the wrong target, including procfs paths that influence the host. Once that happens, the container boundary no longer protects the underlying system, and a workload can move from isolated execution to host compromise.
Q: Why do untrusted container images increase breakout risk?
A: Untrusted images increase breakout risk because they can be paired with custom mount configurations, malicious Dockerfiles, or startup logic that satisfies the preconditions for a runtime flaw. In practice, the image is not just code. It can also be the vehicle that creates the mount state needed for exploitation.
Q: How can security teams reduce container escape risk without relying on patching alone?
A: Security teams should combine runtime patching with image admission controls, restricted mount permissions, and monitoring for abnormal procfs activity. Patching closes the known flaw, but governance only improves when the platform also reduces the trust it places in workload inputs and startup configuration.
Q: Who is accountable when a container escape affects managed Kubernetes services?
A: Accountability is shared across the organisation and the cloud delivery chain because managed services reduce operational control but do not remove governance responsibility. Teams still own workload trust, image provenance, permission boundaries, and the decision to run software that can influence host-level resources.
Technical breakdown
How runC mount handling can become a container escape path
runC sits close to Linux namespaces, cgroups, bind mounts, and procfs, so small mistakes in mount sequencing can have outsized impact. The article describes how replacing /dev/null with a symlink during container initialisation can cause runC to bind an attacker-controlled target read-write inside the container. Once writes are redirected into sensitive procfs locations, the container is no longer isolated in practice. This is a classic runtime boundary failure, not an application-layer flaw.
Practical implication: treat runtime-level mount handling as a breakout control and test it in the same review cycle as image and admission policy.
Why procfs writes turn into host compromise
The /proc filesystem is not just another directory. It exposes kernel interfaces, process state, and privileged control points such as /proc/sysrq-trigger. If an attacker can redirect writes intended for procfs, they can sometimes influence the host rather than the container namespace. The article notes that certain relabel protections can be bypassed in specific configurations, which means policy controls may not compensate for a broken runtime path. The technical issue is path confusion at the point where kernel-facing writes are prepared.
Practical implication: verify that host-facing procfs writes are blocked or contained, even when container policies appear to be in place.
Why untrusted images and custom mount configurations expand risk
The article says exploitation begins when an attacker can start containers with custom mount configurations, often via malicious container images or Dockerfiles. That means the attack chain depends on workload supply chain trust, not just kernel hardening. If a platform accepts untrusted images or overly permissive runtime options, the attacker already has the preconditions needed to trigger the bug. In practice, the blast radius is shaped by what the cluster is willing to run and what filesystem access it grants at startup.
Practical implication: tighten admission, image trust, and mount permission checks together instead of treating them as separate controls.
Threat narrative
Attacker objective: The attacker wants to break container isolation, gain host influence, and turn a workload runtime flaw into cluster-wide compromise.
- Entry occurs when a malicious container image or Dockerfile is used to start a container with custom mount configurations.
- Escalation happens when runC mount races and symlink handling redirect writes into sensitive procfs paths instead of the container view.
- Impact follows when the attacker gains host-level execution, can trigger a cluster outage, and may maintain persistence beyond the container lifecycle.
Breaches seen in the wild
- Codefinger AWS S3 ransomware attack — Codefinger used compromised AWS credentials to encrypt S3 buckets via SSE-C.
- Cisco DevHub NHI breach — IntelBroker exploited exposed Cisco credentials, API tokens and keys in DevHub.
Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Container isolation is only as strong as the runtime path that enforces it. This article shows that a container escape does not require a novel application exploit when the runtime itself can be steered into writing to the wrong filesystem target. The important lesson for identity and workload governance is that trust in container boundaries is an assumption, not a guarantee. Practitioners should treat runtime mount integrity as part of the access model for workloads.
Workload identity and execution privilege are inseparable in Kubernetes environments. A container that can start with excessive mount freedom is already carrying more effective power than many governance models acknowledge. That power can outlive the container if the host is compromised, which means identity controls that stop at the pod boundary are incomplete. The implication is that workload governance must account for where the runtime can actually write, not just what the orchestrator intended.
Untrusted image execution creates identity debt before the first process starts. The article’s mitigation advice around unsigned images and unnecessary permissions points to a deeper governance issue: clusters often accept workload identity before they have validated workload trust. That is identity debt because the platform inherits risk from the image, the Dockerfile, and the runtime configuration simultaneously. Practitioners should treat image admission and mount policy as a single trust decision.
This is a good example of where zero trust for workloads stops being theoretical. The security model must assume that a container can be hostile even when it appears operationally valid. That means controls built around containment, minimal privilege, and runtime inspection need to be evaluated against breakout conditions, not just ordinary runtime failures. The practitioner takeaway is to validate the isolation boundary itself, not only the workload inside it.
From our research:
- 88.5% of organisations acknowledge that their non-human IAM practices lag behind or are merely on par with their human identity and access management efforts, according to The 2024 Non-Human Identity Security Report.
- Only 19.6% of security professionals express strong confidence in their organisation's ability to securely manage non-human workload identities.
- If you are building out identity controls for workloads, pair this with the NHI Lifecycle Management Guide to harden provisioning, rotation, and offboarding.
What this signals
With 35.6% of organisations naming consistent access across hybrid and multi-cloud environments as their top NHI security challenge, runtime vulnerabilities like this are amplified by platform sprawl. Container teams need to treat runtime trust, image provenance, and workload permissions as one control plane, not separate conversations.
Identity blast radius: when a workload runtime can be steered into host-facing writes, the identity problem becomes architectural. The next step for practitioners is to align workload governance with Kubernetes policy, container runtime patching, and runtime monitoring so that a single compromised workload cannot become a host-level event.
For practitioners
- Patch runC to a fixed version immediately Move to runC 1.2.8, 1.3.3, 1.4.0-rc.3, or later across every container platform that depends on it, including managed Kubernetes services where the runtime is hidden from operators.
- Block untrusted container images by policy Reject unsigned or unverified images at admission so attackers cannot combine malicious container content with custom mount configurations to trigger the escape path.
- Restrict mount and filesystem permissions for workloads Remove unnecessary mount capabilities, especially anything that can influence /proc or other host-adjacent paths, and review runtime profiles for hidden write access.
- Monitor for abnormal container runtime behaviour Watch for unexpected procfs writes, unusual mount races, and containers that interact with sensitive kernel interfaces outside their normal workload pattern.
Key takeaways
- The article shows that container escape risk can originate in runtime mount handling, not just in application code or misconfigured orchestration.
- The evidence is broad enough to matter operationally because the affected runtime underpins Docker, containerd, Kubernetes, and managed cloud services.
- The control that changes the outcome is a combination of patched runtimes, image trust enforcement, and tighter mount permissions at workload startup.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-03 | Runtime privilege and secret exposure map to workload identity misuse and breakout risk. |
| NIST CSF 2.0 | PR.AC-4 | Access and privilege restrictions are central when container mounts can influence host state. |
| NIST Zero Trust (SP 800-207) | SC-7 | Zero Trust segmentation is relevant when a runtime flaw can bridge container and host boundaries. |
Review workload trust boundaries and remove permissions that let a container reach host-adjacent resources.
Key terms
- Container Escape: A container escape happens when code inside a container breaks out of its intended isolation boundary and reaches the host system or another protected layer. In practice, the failure is usually in the runtime, kernel interface, or mount handling rather than the application itself.
- runC: runC is the low-level container runtime that starts containers using Linux namespaces, cgroups, and mount operations. It is widely embedded beneath higher-level tooling, so flaws in runC can affect many container platforms at once and turn a narrow runtime bug into broad infrastructure exposure.
- Procfs: Procfs is the Linux process filesystem, exposed through /proc, that provides access to process state and kernel control interfaces. Because it can influence running processes and system behavior, unsafe writes to procfs can become a host-level security issue when container boundaries are not enforced correctly.
Deepen your knowledge
NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are responsible for identity security strategy or NHI governance in your organisation, it is worth exploring.
This post draws on content published by Orca Security: runC vulnerabilities expose container escape risk across major platforms. Read the original.
Published by the NHIMG editorial team on 2025-11-10.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org