CVE-2026-40886: CWE-129: Improper Validation of Array Index in argoproj argo-workflows
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.
AI Analysis
Technical Summary
Argo Workflows, an open source container-native workflow engine for Kubernetes, contains an unchecked array index vulnerability (CWE-129) in the podGCFromPod() function of the pod informer. When a workflow pod carries a malformed workflows.argoproj.io/pod-gc-strategy annotation, this causes a panic inside an informer goroutine outside the controller's recover scope, crashing the entire controller process. The affected versions are from 3.6.5 up to but excluding 4.0.5 and 3.7.14. The poisoned pod causing the panic persists across controller restarts, resulting in a crash loop that halts all workflow processing until manual deletion of the pod. The vulnerability is fixed in versions 4.0.5 and 3.7.14. The CVSS 3.1 score is 7.7 (high severity) with an impact on availability (A:H) but no confidentiality or integrity impact. No known exploits in the wild have been reported. The vendor advisory from Red Hat confirms the issue and the fixed versions.
Potential Impact
The vulnerability causes a denial of service by crashing the entire Argo Workflows controller process when a malformed pod-gc-strategy annotation is present on a workflow pod. This leads to a crash loop that stops all workflow processing until the problematic pod is manually removed. There is no impact on confidentiality or integrity, but availability is severely affected.
Mitigation Recommendations
A fix is available in Argo Workflows versions 4.0.5 and 3.7.14. Users should upgrade to these versions or later to remediate the vulnerability. Until upgrading, manual deletion of any pods with malformed workflows.argoproj.io/pod-gc-strategy annotations can temporarily mitigate the crash loop. Patch status is confirmed by the vendor advisory from Red Hat.
CVE-2026-40886: CWE-129: Improper Validation of Array Index in argoproj argo-workflows
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.
CVSS v3.1
Score 7.7high
Affected software
pkg:golang/github.com/argoproj/argo-workflowsRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Argo Workflows, an open source container-native workflow engine for Kubernetes, contains an unchecked array index vulnerability (CWE-129) in the podGCFromPod() function of the pod informer. When a workflow pod carries a malformed workflows.argoproj.io/pod-gc-strategy annotation, this causes a panic inside an informer goroutine outside the controller's recover scope, crashing the entire controller process. The affected versions are from 3.6.5 up to but excluding 4.0.5 and 3.7.14. The poisoned pod causing the panic persists across controller restarts, resulting in a crash loop that halts all workflow processing until manual deletion of the pod. The vulnerability is fixed in versions 4.0.5 and 3.7.14. The CVSS 3.1 score is 7.7 (high severity) with an impact on availability (A:H) but no confidentiality or integrity impact. No known exploits in the wild have been reported. The vendor advisory from Red Hat confirms the issue and the fixed versions.
Potential Impact
The vulnerability causes a denial of service by crashing the entire Argo Workflows controller process when a malformed pod-gc-strategy annotation is present on a workflow pod. This leads to a crash loop that stops all workflow processing until the problematic pod is manually removed. There is no impact on confidentiality or integrity, but availability is severely affected.
Mitigation Recommendations
A fix is available in Argo Workflows versions 4.0.5 and 3.7.14. Users should upgrade to these versions or later to remediate the vulnerability. Until upgrading, manual deletion of any pods with malformed workflows.argoproj.io/pod-gc-strategy annotations can temporarily mitigate the crash loop. Patch status is confirmed by the vendor advisory from Red Hat.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-15T15:57:41.719Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-40886","vendor":"Red Hat"}]
Threat ID: 69ea6a1a87115cfb68455b90
Added to database: 04/23/2026, 18:51:06 UTC
Last enriched: 07/15/2026, 09:12:18 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 101
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.