CVE-2026-31892

WorkflowTemplate Security Bypass via podSpecPatch in Strict/Secure Reference Mode

Published Mar 11, 2026 CVSS 4.0 · 8.9 High EPSS < 1% KEV · Not listed
Description
Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. From 2.9.0 to before 4.0.2 and 3.7.11, A user who can submit Workflows can completely bypass all security settings defined in a WorkflowTemplate by including a podSpecPatch field in their Workflow submission. This works even when the controller is configured with templateReferencing: Strict, which is specifically documented as a mechanism to restrict users to admin-approved templates. The podSpecPatch field on a submitted Workflow takes precedence over the referenced WorkflowTemplate during spec merging and is applied directly to the pod spec at creation time with no security validation. This vulnerability is fixed in 4.0.2 and 3.7.11.

Analysis

AI-generated

Technical impact

Argo Workflows is an open source container-native workflow engine for Kubernetes. From versions 2.9.0 to before 4.0.2 and 3.7.11, a user who can submit Workflows can bypass all security settings defined in a WorkflowTemplate by including a podSpecPatch field in their Workflow submission. The podSpecPatch field takes precedence over the referenced WorkflowTemplate during spec merging and is applied directly to the pod spec at creation time with no security validation, even when the controller operates in Strict mode. This allows an attacker to run arbitrary containers or privileged actions, effectively escalating privileges and compromising cluster security. This weakness is related to CWE‑807 (Privilege Escalation) and CWE‑863 (Missing Authorization).

Affected Systems

The affected vendor is argoproj:argo-workflows. Vulnerable releases include any version from 2.9.0 up to, but not including, 4.0.2, as well as any version up to, but not including, 3.7.11. The issue was fixed in release 4.0.2 and 3.7.11. Users should verify their installed version against these thresholds.

Risk and Exploitability

The CVSS score is 8.9, indicating high severity. EPSS score is below 1%, suggesting the likelihood of exploitation is currently low. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires the ability to submit a Workflow; hence any user with workflow-creation permissions can launch the attack. Once the podSpecPatch is applied, the attacker can modify pod specifications to run malicious containers, potentially gaining elevated privileges within the cluster. This vulnerability is therefore considered a high-risk privilege escalation vector for systems that have exposed workflow submission capabilities.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Argo Workflows to version 4.0.2 or later, or 3.7.11 or later, as applicable
  • Restrict workflow submission rights to trusted administrators only until upgrade is complete
  • Monitor workflow logs for unexpected podSpecPatch usage and investigate anomalies

Generated by OpenCVE AI on March 17, 2026 at 20:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-3wf5-g532-rcrr Argo Workflows: WorkflowTemplate Security Bypass via podSpecPatch in Strict/Secure Reference Mode
History
Type Values Removed Values Added
First Time appeared Argoproj argo Workflows
CPEs cpe:2.3:a:argoproj:argo_workflows:*:*:*:*:*:go:*:*
Vendors & Products Argoproj argo Workflows
Metrics cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}

cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'}

Type Values Removed Values Added
Weaknesses CWE-807
References
Metrics threat_severity

None

cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}

threat_severity

Important

Type Values Removed Values Added
First Time appeared Argoproj
Argoproj argo-workflows
Vendors & Products Argoproj
Argoproj argo-workflows
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. From 2.9.0 to before 4.0.2 and 3.7.11, A user who can submit Workflows can completely bypass all security settings defined in a WorkflowTemplate by including a podSpecPatch field in their Workflow submission. This works even when the controller is configured with templateReferencing: Strict, which is specifically documented as a mechanism to restrict users to admin-approved templates. The podSpecPatch field on a submitted Workflow takes precedence over the referenced WorkflowTemplate during spec merging and is applied directly to the pod spec at creation time with no security validation. This vulnerability is fixed in 4.0.2 and 3.7.11.
Title WorkflowTemplate Security Bypass via podSpecPatch in Strict/Secure Reference Mode
Weaknesses CWE-863
References
Metrics cvssV4_0

{'score': 8.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:H'}

Weaknesses
  • CWE-807

    Reliance on Untrusted Inputs in a Security Decision

  • CWE-863

    Incorrect Authorization

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 15, 2026, 1:08 AM
Reserved
Mar 9, 2026, 9:59 PM
Status
Modified
Published
Mar 11, 2026, 4:16 PM
Modified
Jul 15, 2026, 2:19 AM
Severity
Important
Public date
Mar 11, 2026, 3:41 PM