Skip to content

CVE-2026-54526 Argo Workflows: Incomplete fix for CVE-2026-31892: ArtifactGC.PodSpecPatch bypass of Strict/Secure templateReferencing

HighCVSS 8.9 EPSS 0.55%
Published
Updated
Exploit status
No public exploit known

Description

Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. Prior to 3.7.15 and 4.0.6, the allow-list fix for CVE-2026-31892 is incomplete because workflow/util/merge.go ValidateUserOverrides and SanitizeUserWorkflowSpec walk only the top-level fields of WorkflowSpec via reflection, and WorkflowSpec.ArtifactGC is allow-listed wholesale; the struct behind that field, WorkflowLevelArtifactGC, has a PodSpecPatch sub-field whose contents flow unmodified into util.ApplyPodSpecPatch on the artifact-GC pod, the same sink the original fix closed for WorkflowSpec.PodSpecPatch, so a user submitting a Workflow under templateReferencing: Strict or Secure (against a referenced WorkflowTemplate that declares an output artifact and setting spec.artifactGC.strategy: OnWorkflowCompletion) can still inject an arbitrary strategic merge patch into the artifact-GC pod, including hostPath volumes, privileged: true, arbitrary image and command, and hostNetwork: true, defeating the stated purpose of Strict/Secure reference mode. This issue is fixed in versions 3.7.15 and 4.0.6.

Affected products

ProductAffected versionsFixed in
argoproj github.com/argoproj/argo-workflows = < 3.7.15 No fix listed
argoproj github.com/argoproj/argo-workflows = >= 4.0.0, < 4.0.6 No fix listed
argoproj github.com/argoproj/argo-workflows(Go) >= 4.0.0, < 4.0.6 4.0.6
argoproj github.com/argoproj/argo-workflows(Go) < 3.7.15 3.7.15
argoproj github.com/argoproj/argo-workflows(Go) <= 2.5.3-rc4 No fix listed
argoproj github.com/argoproj/argo-workflows(Go) All versions No fix listed
argoproj argo workflows < 3.7.15 3.7.15
argoproj argo workflows >= 4.0.0, < 4.0.6 4.0.6

References