{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:argoproj:argo_workflows:*:*:*:*:*:go:*:*",
            "extracted_events": [
              {
                "introduced": "3.6.5"
              },
              {
                "last_affected": "3.6.19"
              },
              {
                "introduced": "3.7.0"
              },
              {
                "fixed": "3.7.14"
              },
              {
                "introduced": "4.0.0"
              },
              {
                "fixed": "4.0.5"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "9e532061c064d1205610b1932a0fb3c4dc053421"
            },
            {
              "last_affected": "c66a734c911a25a1e0f626af5995a222d6267e37"
            },
            {
              "introduced": "d1d689b367c4c8a5a8a095ae60b5d7043f99eda9"
            },
            {
              "fixed": "ca37b537cd34d18029146a755bf42a9b2364c49b"
            },
            {
              "introduced": "a8bff4a72130bc1a13d95c6f73ff3fafec880287"
            },
            {
              "fixed": "0ab1452144d8f4d57c50b37ce50dad218868e950"
            }
          ],
          "repo": "https://github.com/argoproj/argo-workflows",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-5jv8-h7qh-rf5p"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-129"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40886.json"
  },
  "details": "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.",
  "id": "CVE-2026-40886",
  "modified": "2026-07-16T03:31:02.521013773Z",
  "published": "2026-04-23T18:12:05.782Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40886.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/security/cve/CVE-2026-40886"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40886.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/argoproj/argo-workflows/security/advisories/GHSA-5jv8-h7qh-rf5p"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40886"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2461236"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Argo Workflows: Unchecked annotation parsing in pod informer crashes Argo Workflows controller"
}