The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-42296

CVE-2026-42296: Argo Workflows Auth Bypass Vulnerability

CVE-2026-42296 is an authentication bypass flaw in Argoproj Argo Workflows that allows users to bypass templateReferencing Strict mode and gain unauthorized access. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: May 18, 2026

CVE-2026-42296 Overview

CVE-2026-42296 is an authorization bypass vulnerability [CWE-863] in Argo Workflows, an open-source container-native workflow engine for Kubernetes. The flaw affects versions prior to 3.7.14 and 4.0.5. A user with create Workflow permission can bypass the templateReferencing: Strict enforcement by supplying a podSpecPatch in a workflow that references a WorkflowTemplate. This bypass allows attackers to gain host network access, switch service accounts, override pod security contexts, add tolerations to schedule pods on control-plane nodes, or enable service account token mounting.

Critical Impact

Authenticated workflow creators can defeat Argo's primary template restriction control, escalating privileges within the Kubernetes cluster when no compensating admission controls exist.

Affected Products

  • Argoproj Argo Workflows versions prior to 3.7.14 (3.x branch)
  • Argoproj Argo Workflows versions prior to 4.0.5 (4.x branch)
  • Kubernetes clusters relying on Argo templateReferencing: Strict as the primary enforcement layer

Discovery Timeline

  • 2026-05-09 - CVE-2026-42296 published to NVD
  • 2026-05-15 - Last updated in NVD database

Technical Details for CVE-2026-42296

Vulnerability Analysis

Argo Workflows provides a templateReferencing: Strict mode in WorkflowRestrictions. This mode is intended to force workflows to use only approved WorkflowTemplate resources, preventing inline specification of arbitrary pod settings. The vulnerability stems from incomplete enforcement: the controller honored the template reference but still applied any podSpecPatch supplied alongside it. A podSpecPatch is a JSON or YAML patch that mutates the final pod spec produced by the workflow. An attacker with permission to create a Workflow object can submit a workflow referencing an approved template while injecting a podSpecPatch that overrides the security-relevant fields the template was designed to lock down. The CWE-863 classification reflects the incorrect authorization decision the controller made when reconciling the patch against the strict policy.

Root Cause

The controller did not reject workflows that combined WorkflowTemplateRef with podSpecPatch when restrictions required template referencing. The patch must be evaluated against the policy before merging, but the pre-patch logic in setExecWorkflow skipped this check.

Attack Vector

The attacker requires only standard create permission on Workflow resources in a target namespace. They submit a workflow that references a vetted WorkflowTemplate and includes a podSpecPatch setting hostNetwork: true, replacing serviceAccountName, adding control-plane tolerations, or removing automountServiceAccountToken: false. The controller renders the patched pod spec and schedules it.

go
func (woc *wfOperationCtx) setExecWorkflow(ctx context.Context) (context.Context, error) {
	switch {
	case woc.wf.Spec.WorkflowTemplateRef != nil: // not-woc-misuse
		// When workflow restrictions require template referencing (Strict/Secure mode),
		// reject workflows that include a podSpecPatch as it could override security
		// settings defined in the WorkflowTemplate.
		if woc.controller.Config.WorkflowRestrictions.MustUseReference() && woc.wf.Spec.HasPodSpecPatch() {
			err := fmt.Errorf("podSpecPatch is not permitted when using workflowTemplateRef with templateReferencing restriction")
			ctx = woc.markWorkflowError(ctx, err)
			return ctx, err
		}
		err := woc.setStoredWfSpec(ctx)
		if err != nil {
			ctx = woc.markWorkflowError(ctx, err)

Source: Argo Workflows patch commit 534f4ff. The fix adds a guard that rejects any submitted workflow combining WorkflowTemplateRef with podSpecPatch while the controller is configured with MustUseReference().

Detection Methods for CVE-2026-42296

Indicators of Compromise

  • Argo Workflow objects that reference a WorkflowTemplate and also contain a spec.podSpecPatch field.
  • Pods created by Argo executors running with hostNetwork: true, mounted service account tokens, or scheduled on control-plane nodes via node-role.kubernetes.io/control-plane tolerations.
  • Service account changes inside Argo-managed pods that do not match the referenced WorkflowTemplate.

Detection Strategies

  • Audit Kubernetes API server logs for create and update calls on workflows.argoproj.io containing a podSpecPatch key in the request body.
  • Compare runtime pod specs against the referenced WorkflowTemplate to flag any divergence in securityContext, serviceAccountName, tolerations, or hostNetwork.
  • Enable PodSecurity admission in restricted profile and OPA/Gatekeeper or Kyverno policies that independently reject privileged pod fields.

Monitoring Recommendations

  • Alert on Argo controller log entries referencing podSpecPatch rejection messages after upgrading, which indicate active exploit attempts.
  • Monitor for pods labeled with workflows.argoproj.io/workflow running on control-plane nodes or with non-default service accounts.
  • Track outbound network connections from workflow pods that should be sandboxed by hostNetwork: false.

How to Mitigate CVE-2026-42296

Immediate Actions Required

  • Upgrade Argo Workflows to version 3.7.14 or 4.0.5 in every cluster running the controller.
  • Inventory existing Workflow and CronWorkflow resources for unexpected podSpecPatch usage combined with workflowTemplateRef.
  • Restrict RBAC create and update permissions on workflows.argoproj.io to trusted service accounts and users.

Patch Information

The upstream fix is published in GitHub Release v3.7.14 and GitHub Release v4.0.5. Technical details are documented in GHSA-3775-99mw-8rp4. The corresponding source change is in commit 534f4ff1.

Workarounds

  • Enable Kubernetes PodSecurity admission with the restricted profile on namespaces hosting Argo workflows to independently block hostNetwork, privileged service account use, and control-plane tolerations.
  • Deploy OPA/Gatekeeper or Kyverno policies that deny any pod spec containing hostNetwork: true, control-plane tolerations, or service account overrides not matching the parent WorkflowTemplate.
  • Use a validating admission webhook to reject any Workflow containing both workflowTemplateRef and podSpecPatch until the controller upgrade is complete.
bash
# Kyverno ClusterPolicy enforcing the workaround pre-upgrade
kubectl apply -f - <<EOF
apiVersion: kyverno.io/v1
kind: ClusterPolicy
metadata:
  name: block-argo-podspecpatch-with-templateref
spec:
  validationFailureAction: Enforce
  rules:
    - name: deny-podspecpatch
      match:
        any:
          - resources:
              kinds:
                - argoproj.io/v1alpha1/Workflow
      validate:
        message: "podSpecPatch is not permitted alongside workflowTemplateRef"
        deny:
          conditions:
            all:
              - key: "{{ request.object.spec.workflowTemplateRef || '' }}"
                operator: NotEquals
                value: ""
              - key: "{{ request.object.spec.podSpecPatch || '' }}"
                operator: NotEquals
                value: ""
EOF

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechArgo Workflows

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-863
  • Technical References
  • GitHub Release v3.7.14

  • GitHub Release v4.0.5
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-3775
  • Related CVEs
  • CVE-2026-42297: Argo Workflows Auth Bypass Vulnerability

  • CVE-2026-31892: Argo Workflows Auth Bypass Vulnerability

  • CVE-2026-42295: Argo Workflows Credential Disclosure Flaw

  • CVE-2026-42183: Argoproj Argo Workflows DOS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

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.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English