8.9High

CVE-2026-31892WorkflowTemplate Security Bypass via podSpecPatch in Strict/Secure Reference Mode

argoproj argo-workflows; Red Hat Red Hat OpenShift AI 2.25; Red Hat Red Hat OpenShift AI (RHOAI) Published: (8 months ago)

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.

Weakness (CWE): CWE-863CWE-807

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
argoproj argo-workflows >= 4.0.0, < 4.0.2, >= 2.9.0, < 3.7.11
openshift ai 2.25 —
Red Hat Red Hat OpenShift AI 2.25 all versions
Red Hat Red Hat OpenShift AI (RHOAI) —

References and patches

CPE matches (NVD) (2)

  • cpe:2.3:a:argoproj:argo_workflows:*:*:*:*:*:go:*:* ≥ 2.9.0 < 3.7.11
  • cpe:2.3:a:argoproj:argo_workflows:*:*:*:*:*:go:*:* ≥ 4.0.0 < 4.0.2