{"id":"CVE-2026-40886","published":"2026-04-23T18:12:05Z","modified":"2026-07-15T01:00:32Z","title":"Argo Workflows: Unchecked annotation parsing in pod informer crashes Argo Workflows controller","vendor":"argoproj","product":"argo-workflows","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00615,"percentile":0.43734,"provenance":"source"},"cwes":[{"id":"CWE-129","name":"Improper Validation of Array Index"},{"id":"CWE-1285","name":"Improper Validation of Specified Index, Position, or Offset in Input"}],"references":[{"url":"https://github.com/argoproj/argo-workflows/security/advisories/GHSA-5jv8-h7qh-rf5p","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-40886","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2461236","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40886.json","tags":["x_sadp-csaf-vex"]}],"priority":{"score":14.1,"factors":[{"name":"EPSS percentile","points":8.75},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"argoproj","affectedVersions":[{"vendor":"argoproj","product":"argo-workflows","versions":[">= 4.0.0, < 4.0.5",">= 3.7.0, < 3.7.14",">= 3.6.5, <= 3.6.19"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-25T01:22:21.094335Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/argoproj/argo-workflows/v4","vulnerableRanges":[">=4.0.0, <4.0.5"],"patched":["4.0.5"],"from":["GHSA-5jv8-h7qh-rf5p","GO-2026-5148"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/argoproj/argo-workflows/v3","vulnerableRanges":[">=3.7.0, <3.7.14",">=3.6.5, <=3.6.19",">=3.6.5"],"patched":["3.7.14"],"from":["GHSA-5jv8-h7qh-rf5p","GO-2026-5148"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/argoproj/argo-workflows","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5148"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/argoproj/argo-workflows/v2","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5148"],"provenance":"source"}],"summary":{"text":"Argo Workflows (argoproj's container-native workflow engine for Kubernetes) contains an unchecked array index in the pod informer's podGCFromPod() function, present in versions 3.6.5 through 4.0.4. An attacker with low-privileged access who can create a workflow pod carrying a malformed workflows.argoproj.io/pod-gc-strategy annotation can trigger a panic that crashes the whole controller, and the poisoned pod keeps the controller in a crash loop until it is manually deleted.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:08Z"},"euvd":{"id":"EUVD-2026-25267","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-23960","published":"2026-01-21","fixed":"3.7.8","kev":false},{"cve":"CVE-2026-28229","published":"2026-03-11","fixed":"3.7.11","kev":false,"link":{"from":"CVE-2026-28229","to":"CVE-2026-40886","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/argoproj/argo-workflows/v3","fromFixed":"3.7.11","toFixed":"3.7.14","daysApart":43}]}},{"cve":"CVE-2026-31892","published":"2026-03-11","fixed":"3.7.11","kev":false},{"cve":"CVE-2026-40886","published":"2026-04-23","fixed":"3.7.14","kev":false},{"cve":"CVE-2026-42294","published":"2026-05-09","fixed":"3.7.14","kev":false},{"cve":"CVE-2026-42296","published":"2026-05-09","fixed":"3.7.14","kev":false},{"cve":"CVE-2026-54526","published":"2026-07-16","fixed":"3.7.15","kev":false}],"package":"Go:github.com/argoproj/argo-workflows/v3"}}