Skip to content
Heist/ feed
Back to feed
High

Argo Workflows has incomplete fix for CVE-2026-31892: hostNetwork, securityContext, serviceAccountName bypass templateReferencing Strict/Secure

Type: advisorySources: OSV

Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. Prior to versions 3.7.14 and 4.0.5, a user with create Workflow permission can bypass templateReferencing: Strict to get host network access, switch service accounts, override pod security context, add tolerations to schedule on control-plane nodes, or enable SA token mounting. This defeats the stated purpose of the feature. The practical impact depends on what Kubernetes-level controls are in place. Clusters with PodSecurity admission or OPA/Gatekeeper would independently block some of these (like hostNetwork). Clusters that rely on Argo's Strict mode as the primary enforcement layer are fully exposed. This issue has been patched in versions 3.7.14 and 4.0.5.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-42296
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 08:16 UTC · Revision 1

Source evidence

Argo Workflows has incomplete fix for CVE-2026-31892: hostNetwork, securityContext, serviceAccountName bypass templateReferencing Strict/Secure

core-osv · Original source

Published 9 May 2026, 03:52 UTC

Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. Prior to versions 3.7.14 and 4.0.5, a user with create Workflow permission can bypass templateReferencing: Strict to get host network access, switch service accounts, override pod security context, add tolerations to schedule on control-plane nodes, or enable SA token mounting. This defeats the stated purpose of the feature. The practical impact depends on what Kubernetes-level controls are in place. Clusters with PodSecurity admission or OPA/Gatekeeper would independently block some of these (like hostNetwork). Clusters that rely on Argo's Strict mode as the primary enforcement layer are fully exposed. This issue has been patched in versions 3.7.14 and 4.0.5.

osv:CVE-2026-42296
Complete source record
{
  "id": "37f0067488524e5c9f56183e31184b38e1cc439d27c8eab76bd53b4eaba40862",
  "url": "https://osv.dev/vulnerability/CVE-2026-42296",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Argo Workflows has incomplete fix for CVE-2026-31892: hostNetwork, securityContext, serviceAccountName bypass templateReferencing Strict/Secure",
    "summary": "Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. Prior to versions 3.7.14 and 4.0.5, a user with create Workflow permission can bypass templateReferencing: Strict to get host network access, switch service accounts, override pod security context, add tolerations to schedule on control-plane nodes, or enable SA token mounting. This defeats the stated purpose of the feature. The practical impact depends on what Kubernetes-level controls are in place. Clusters with PodSecurity admission or OPA/Gatekeeper would independently block some of these (like hostNetwork). Clusters that rely on Argo's Strict mode as the primary enforcement layer are fully exposed. This issue has been patched in versions 3.7.14 and 4.0.5.",
    "evidence": "osv:CVE-2026-42296",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-42296",
      "aliases": [
        "BIT-argo-workflows-2026-42296",
        "CVE-2026-42296",
        "GHSA-3775-99mw-8rp4",
        "GO-2026-5072"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/argoproj/argo-workflows",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "ca37b537cd34d18029146a755bf42a9b2364c49b"
                },
                {
                  "introduced": "a8bff4a72130bc1a13d95c6f73ff3fafec880287"
                },
                {
                  "fixed": "0ab1452144d8f4d57c50b37ce50dad218868e950"
                },
                {
                  "fixed": "534f4ff1cbd86908e8ff76d97d553ad5a49a950d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:argoproj:argo_workflows:*:*:*:*:*:go:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.7.14"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:argoproj:argo_workflows:*:*:*:*:*:go:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0"
                      },
                      {
                        "fixed": "4.0.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "534f4ff1cbd86908e8ff76d97d553ad5a49a950d"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "ca37b537cd34d18029146a755bf42a9b2364c49b"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v3.7.14"
                  },
                  {
                    "range": [
                      {
                        "fixed": "0ab1452144d8f4d57c50b37ce50dad218868e950"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v4.0.5"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.7.13",
            "v4.0.4",
            "v3.7.12",
            "v4.0.3",
            "v4.0.2",
            "v3.7.11",
            "v3.7.10",
            "v4.0.1",
            "v4.0.0",
            "v4.0.0-rc4",
            "v3.7.9",
            "v3.7.8",
            "v3.7.7",
            "v4.0.0-rc3",
            "v4.0.0-rc2",
            "v4.0.0-rc1",
            "v3.7.6",
            "v3.7.5",
            "v3.7.4",
            "v3.7.3",
            "v3.7.2",
            "v3.7.1",
            "v3.7.0-rc4",
            "v3.7.0",
            "v3.7.0-rc3",
            "v3.7.0-rc2",
            "v3.7.0-rc1",
            "v3.6.0-rc4",
            "v3.6.0",
            "v3.6.0-rc3",
            "v3.6.0-rc2",
            "v3.6.0-rc1",
            "v3.5.0",
            "v3.5.0-rc2",
            "v3.5.0-rc1",
            "v3.4.0-rc4",
            "v3.4.0-rc3",
            "v3.4.0-rc2",
            "v3.4.0-rc1",
            "v3.3.0-rc8",
            "v3.3.0-rc7",
            "v3.3.0-rc6",
            "v3.3.0-rc5",
            "v3.3.0-rc4",
            "v3.3.0-rc3",
            "v3.3.0-rc2",
            "v3.3.0-rc1",
            "v3.2.0-rc4",
            "v3.2.0-rc3",
            "v3.2.0-rc2",
            "v3.2.0-rc1",
            "v3.1.0-rc1",
            "ui-v3-rc1",
            "v2.10.0-rc1",
            "v2.3.0-rc3",
            "v2.3.0-rc2",
            "v2.3.0-rc1",
            "v2.2.1",
            "v2.1.1",
            "v2.2.0",
            "v2.1.0",
            "v2.1.0-beta2",
            "v2.1.0-beta1",
            "v2.1.0-alpha1",
            "v2.0.0",
            "v2.0.0-beta1",
            "v2.0.0-alpha3",
            "v2.0.0-alpha2",
            "v2.0.0-alpha1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42296.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:27.465862693Z",
      "provider": "osv",
      "references": [
        "https://github.com/argoproj/argo-workflows/releases/tag/v3.7.14",
        "https://github.com/argoproj/argo-workflows/releases/tag/v4.0.5",
        "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42296.json",
        "https://access.redhat.com/security/cve/CVE-2026-42296",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42296.json",
        "https://github.com/argoproj/argo-workflows/security/advisories/GHSA-3775-99mw-8rp4",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-42296",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2468446",
        "https://github.com/argoproj/argo-workflows/commit/534f4ff1cbd86908e8ff76d97d553ad5a49a950d"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-863"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42296.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-42296",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 493714,
  "published_at": "2026-05-09T03:52:03.456+00:00"
}