7.7High

CVE-2026-40886Argo Workflows: Unchecked annotation parsing in pod informer crashes Argo Workflows controller

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

Description

Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. From 3.6.5 to 4.0.4, an unchecked array index in the pod informer's podGCFromPod() function causes a controller-wide panic when a workflow pod carries a malformed workflows.argoproj.io/pod-gc-strategy annotation. Because the panic occurs inside an informer goroutine (outside the controller's recover() scope), it crashes the entire controller process. The poisoned pod persists across restarts, causing a crash loop that halts all workflow processing until the pod is manually deleted. This vulnerability is fixed in 4.0.5 and 3.7.14.

Weakness (CWE): CWE-129CWE-1285

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.5, >= 3.7.0, < 3.7.14, >= 3.6.5, <= 3.6.19
Red Hat Red Hat OpenShift AI (RHOAI) —

References and patches

CPE matches (NVD) (3)

  • cpe:2.3:a:argoproj:argo_workflows:*:*:*:*:*:go:*:* ≥ 3.6.5 ≤ 3.6.19
  • cpe:2.3:a:argoproj:argo_workflows:*:*:*:*:*:go:*:* ≥ 3.7.0 < 3.7.14
  • cpe:2.3:a:argoproj:argo_workflows:*:*:*:*:*:go:*:* ≥ 4.0.0 < 4.0.5