SECURITYHIGHCVE-2026-42296

CVE-2026-42296: Argo Workflows templateReferencing Strict

A high-severity security bypass in Argo Workflows (CVSS 8.1) allows users with Workflow creation permissions to escape templateReferencing: Strict mode,...

Dylan H.

Security Team

May 9, 2026
3 min read
CVE-2026-42296: Argo Workflows templateReferencing Strict

Affected Products

  • Argo Workflows < 3.7.14, Argo Workflows < 4.0.5

Overview

A high-severity security bypass vulnerability has been disclosed in Argo Workflows, the popular open-source container-native workflow engine for orchestrating parallel jobs on Kubernetes. Tracked as CVE-2026-42296 with a CVSS score of 8.1, this flaw allows an authenticated user with create Workflow permissions to bypass the templateReferencing: Strict security control.

Successful exploitation enables an attacker to obtain host network access, switch service accounts, and override pod security contexts — significantly expanding an attacker's footprint within a Kubernetes cluster.

Affected Versions

BranchFixed In
3.x3.7.14
4.x4.0.5

All versions of Argo Workflows prior to 3.7.14 (3.x branch) and 4.0.5 (4.x branch) are considered vulnerable.

Technical Details

Argo Workflows provides a templateReferencing: Strict mode as a security boundary to prevent workflows from referencing templates outside of approved WorkflowTemplate resources. This mode is intended to restrict the scope of what a workflow can do, preventing privilege abuse by restricting which pod configurations and service accounts are permitted.

CVE-2026-42296 reveals that this boundary can be bypassed by a user who holds the create Workflow permission. Once bypassed, an attacker can:

  • Access host network: By setting hostNetwork: true in the pod spec, a malicious workflow can break out of the cluster's network namespace and communicate directly with the underlying node's network interfaces.
  • Switch service accounts: An attacker can specify arbitrary service accounts within the namespace, potentially adopting accounts with broader RBAC permissions.
  • Override pod security contexts: Security constraints such as runAsNonRoot, readOnlyRootFilesystem, and seccomp/AppArmor profiles can be bypassed, enabling privileged containers.

Together, these capabilities could allow an attacker to escalate from a normal Kubernetes user to a node-level compromise in environments where Argo Workflows is deployed without strict network policies or admission controls.

Impact Assessment

The vulnerability is rated High (CVSS 8.1) due to:

  • Confidentiality Impact: High — attacker gains access to host network traffic and secrets in other namespaces via service account pivoting.
  • Integrity Impact: High — the attacker can deploy arbitrary workloads and modify cluster state.
  • Availability Impact: Low — no direct denial-of-service capability introduced.
  • Attack Vector: Network — requires authenticated access with create Workflow RBAC permission.
  • Privileges Required: Low — only standard Workflow create permissions needed.

Immediate Mitigations

  1. Upgrade immediately: Update Argo Workflows to version 3.7.14 (for 3.x deployments) or 4.0.5 (for 4.x deployments).
  2. Audit RBAC permissions: Review and restrict which users and service accounts have create Workflow permissions. Apply the principle of least privilege.
  3. Enable admission controls: Deploy OPA Gatekeeper, Kyverno, or a similar admission controller to enforce pod security policies independently of Argo's templateReferencing feature.
  4. Apply PodSecurity Standards: Use Kubernetes Pod Security Admission (enforce: restricted) at the namespace level to block hostNetwork and privileged pod specs at the API server level.
  5. Monitor for anomalous workflows: Audit existing workflows for unusual hostNetwork: true or elevated security context settings.

If Upgrade Is Not Immediately Possible

  • Temporarily restrict create Workflow permissions to only highly trusted users and service accounts.
  • Consider enabling Kubernetes NetworkPolicy to limit lateral movement even if host network access is obtained.
  • Review Argo Server RBAC mode and ensure SSO/OAuth is enabled rather than relying on server or client auth modes.

References