{"answers":{"affected":"12 open source packages ship an affected version, including github.com/argoproj/argo-workflows/v3, argo-workflows and github.com/argoproj/argo-workflows. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40886 exists.","fix":"Upgrade github.com/argoproj/argo-workflows/v3 to 3.7.14 or later.","what":"CVE-2026-40886 is a high-severity denial of service vulnerability in argoproj argo-workflows, published on 23 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-40886 and fix it if it is affected.\n\nWhat it is: CVE-2026-40886 is a high-severity denial of service vulnerability in argoproj argo-workflows, published on 23 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40886 exists.\n\nAffected packages and fixed versions:\n- github.com/argoproj/argo-workflows/v3 (Go): affected from 3.6.5; no fix listed\n- github.com/argoproj/argo-workflows/v3 (Go): affected from 3.6.5 up to 3.6.19; no fix listed\n- github.com/argoproj/argo-workflows/v3 (Go): affected from 3.6.5 up to 3.6.19; no fix listed\n- github.com/argoproj/argo-workflows/v3 (Go): affected from 3.7.0; fixed in 3.7.14\n- github.com/argoproj/argo-workflows/v3 (Go): affected from 3.7.0; fixed in 3.7.14\n- github.com/argoproj/argo-workflows/v3 (Go): affected from 3.7.0; fixed in 3.7.14\n- argo-workflows (Bitnami): affected from 3.6.5; fixed in 3.7.14, 4.0.5\n- github.com/argoproj/argo-workflows (Go): affected all versions; no fix listed\n- github.com/argoproj/argo-workflows/v2 (Go): affected all versions; no fix listed\n- github.com/argoproj/argo-workflows/v4 (Go): affected from 4.0.0; fixed in 4.0.5\n- github.com/argoproj/argo-workflows/v4 (Go): affected from 4.0.0; fixed in 4.0.5\n- github.com/argoproj/argo-workflows/v4 (Go): affected from 4.0.0; fixed in 4.0.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-40886/ (Markdown: https://insights.sbomify.com/CVE-2026-40886/index.md)","id":"CVE-2026-40886","markdown":"https://insights.sbomify.com/CVE-2026-40886/index.md","name":"CVE-2026-40886","record":{"aliases":["BIT-argo-workflows-2026-40886","ECHO-4230-0b6b-1c14","GHSA-5jv8-h7qh-rf5p","GO-2026-5148","MINI-4756-cp55-mj5m","MINI-4p7p-95jq-xm6c","MINI-7f6q-7528-w8q5","MINI-cmpq-w4pf-26pc","MINI-fpxg-3j83-9h4f","MINI-g25v-q3g6-6m7r","MINI-gphq-6wx9-r99m","MINI-q4pf-xf3r-292w"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes workflow engine","requires_auth":"low_privilege","summary":"Attackers can crash the Argo Workflows controller by submitting pods with malformed annotations, causing a persistent crash loop that halts all workflow processing.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"argo_workflows","vendor":"argoproj"}],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-1285","name":"Improper Validation of Specified Index, Position, or Offset in Input"},{"id":"CWE-129","name":"Improper Validation of Array Index"}],"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.","ecosystems":["Bitnami","Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Argo Workflows: Unchecked annotation parsing in pod informer crashes Argo Workflows controller","id":"CVE-2026-40886","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":12,"n_references":1,"next":{"headline":"@vendure/core has a SQL Injection vulnerability","id":"CVE-2026-40887"},"packages":[{"ecosystem":"Bitnami","fixed":["3.7.14","4.0.5"],"introduced":["3.6.5","4.0.0"],"last_affected":[],"package":"argo-workflows","purl":"pkg:bitnami/argo-workflows","source":"BIT-argo-workflows-2026-40886"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/argoproj/argo-workflows","purl":"pkg:golang/github.com/argoproj/argo-workflows","source":"GO-2026-5148"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/argoproj/argo-workflows/v2","purl":"pkg:golang/github.com/argoproj/argo-workflows/v2","source":"GO-2026-5148"},{"ecosystem":"Go","fixed":[],"introduced":["3.6.5"],"last_affected":[],"package":"github.com/argoproj/argo-workflows/v3","purl":"pkg:golang/github.com/argoproj/argo-workflows/v3","source":"GO-2026-5148"},{"ecosystem":"Go","fixed":[],"introduced":["3.6.5"],"last_affected":["3.6.19"],"package":"github.com/argoproj/argo-workflows/v3","purl":null,"source":"GHSA-5jv8-h7qh-rf5p"},{"ecosystem":"Go","fixed":[],"introduced":["3.6.5"],"last_affected":["3.6.19"],"package":"github.com/argoproj/argo-workflows/v3","purl":"pkg:golang/github.com/argoproj/argo-workflows/v3","source":"GHSA-5jv8-h7qh-rf5p"},{"ecosystem":"Go","fixed":["3.7.14"],"introduced":["3.7.0"],"last_affected":[],"package":"github.com/argoproj/argo-workflows/v3","purl":null,"source":"GHSA-5jv8-h7qh-rf5p"},{"ecosystem":"Go","fixed":["3.7.14"],"introduced":["3.7.0"],"last_affected":[],"package":"github.com/argoproj/argo-workflows/v3","purl":"pkg:golang/github.com/argoproj/argo-workflows/v3","source":"GHSA-5jv8-h7qh-rf5p"},{"ecosystem":"Go","fixed":["3.7.14"],"introduced":["3.7.0"],"last_affected":[],"package":"github.com/argoproj/argo-workflows/v3","purl":"pkg:golang/github.com/argoproj/argo-workflows/v3","source":"GO-2026-5148"},{"ecosystem":"Go","fixed":["4.0.5"],"introduced":["4.0.0"],"last_affected":[],"package":"github.com/argoproj/argo-workflows/v4","purl":null,"source":"GHSA-5jv8-h7qh-rf5p"},{"ecosystem":"Go","fixed":["4.0.5"],"introduced":["4.0.0"],"last_affected":[],"package":"github.com/argoproj/argo-workflows/v4","purl":"pkg:golang/github.com/argoproj/argo-workflows/v4","source":"GHSA-5jv8-h7qh-rf5p"},{"ecosystem":"Go","fixed":["4.0.5"],"introduced":["4.0.0"],"last_affected":[],"package":"github.com/argoproj/argo-workflows/v4","purl":"pkg:golang/github.com/argoproj/argo-workflows/v4","source":"GO-2026-5148"}],"prev":{"headline":"goshs: Public collaborator feed leaks .goshs ACL credentials and enables unauthorized access","id":"CVE-2026-40885"},"products":["argo-workflows"],"published":"2026-04-23","related":[{"cvss_score":9.8,"headline":"Argo Workflows has unauthorized access to Argo Workflows Template","id":"CVE-2026-28229","kev_date_added":null,"published":"2026-03-11"},{"cvss_score":8.9,"headline":"Argo Workflows: Incomplete fix for CVE-2026-31892: ArtifactGC.PodSpecPatch bypass of Strict/Secure templateReferencing","id":"CVE-2026-54526","kev_date_added":null,"published":"2026-07-16"},{"cvss_score":8.9,"headline":"WorkflowTemplate Security Bypass via podSpecPatch in Strict/Secure Reference Mode","id":"CVE-2026-31892","kev_date_added":null,"published":"2026-03-11"},{"cvss_score":8.5,"headline":"Argo Workflows: Exposure of artifact repository credentials","id":"CVE-2026-42295","kev_date_added":null,"published":"2026-05-09"},{"cvss_score":8.5,"headline":"Argo Workflows Is Missing Authorization in Sync ConfigMap Provider","id":"CVE-2026-42297","kev_date_added":null,"published":"2026-05-09"},{"cvss_score":8.5,"headline":"Argo Workflows exposes artifact repository credentials in workflow-controller logs","id":"CVE-2025-62157","kev_date_added":null,"published":"2025-10-14"},{"cvss_score":8.2,"headline":"Argo Workflows: Unauthenticated Memory Exhaustion (DoS) in Webhook Interceptor","id":"CVE-2026-42294","kev_date_added":null,"published":"2026-05-09"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-15","vendors":["argoproj"]},"summary":"Attackers can crash the Argo Workflows controller by submitting pods with malformed annotations, causing a persistent crash loop that halts all workflow processing.","url":"https://insights.sbomify.com/CVE-2026-40886/"}