GitHub Advisoryadvisory · Go

GHSA-xrqc-7xgx-c9vh RCE via ZipSlip and symbolic links in argoproj/argo-workflows

HIGH Published 2025-12-09 Modified 2025-12-20 Official page ↗
Aliases
CVE-2025-66626
Ecosystem
Go
Packages
github.com/argoproj/argo-workflows/v3, github.com/argoproj/argo-workflows
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Weaknesses
CWE-23, CWE-59, CWE-78
Reviewed
2025-12-09

Affected packages

• Go github.com/argoproj/argo-workflows/v3: >= 3.7.0, < 3.7.5 → fixed in 3.7.5 • Go github.com/argoproj/argo-workflows/v3: < 3.6.14 → fixed in 3.6.14 • Go github.com/argoproj/argo-workflows: <= 2.5.3-rc4 (no fix yet)

Description

Summary The patch deployed against CVE-2025-62156 is ineffective against malicious archives containing symbolic links. Details The untar code that handles symbolic links in archives is unsafe. Concretely, the computation of the link's target and the subsequent check are flawed: https://github.com/argoproj/argo-workflows/blob/5291e0b01f94ba864f96f795bb500f2cfc5ad799/workflow/executor/executor.go#L1034-L1037 PoC 1. Create a malicious archive containing two files: a symbolik link with path "./work/foo" and target "/etc", and a normal text file with path "./work/foo/hostname". 2. Deploy a workflow like the one in https://github.com/argoproj/argo-workflows/security/advisories/GHSA-p84v-gxvw-73pf with the malicious archive mounted at /work/tmp. 3. Submit the workflow and wait for its execution. 4. Connect to the corresponding pod and observe that the file "/etc/hostname" was altered by the untar operation performed on the malicious archive. The attacker can hence alter arbitrary files in this way. Impact The attacker can overwrite the file /var/run/argo/argoexec with a script of their choice, which will be executed at the pod's start.

Related

Alias · CVE (1)

  • CVE-2025-66626 Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. vulnerability

Weakness · CWE (3)

  • CWE-23 Relative Path Traversal weakness
  • CWE-59 Improper Link Resolution Before File Access weakness
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness

References