{"id":"CVE-2025-66626","aliases":["BIT-argo-workflows-2025-66626","GHSA-xrqc-7xgx-c9vh","GO-2025-4223"],"url":"https://o3.security/vulnerability/CVE-2025-66626","summary":"argoproj/argo-workflows is vulnerable to RCE via ZipSlip and symbolic links","details":"### Summary\nThe patch deployed against CVE-2025-62156 is ineffective against malicious archives containing symbolic links.\n\n### Details\nThe untar code that handles symbolic links in archives is unsafe. Concretely, the computation of the link's target and the subsequent check are flawed: \nhttps://github.com/argoproj/argo-workflows/blob/5291e0b01f94ba864f96f795bb500f2cfc5ad799/workflow/executor/executor.go#L1034-L1037\n\n### PoC\n1. 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\".\n2. 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.\n3. Submit the workflow and wait for its execution. \n4. 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. \n\n### Impact\nThe attacker can overwrite the file /var/run/argo/argoexec with a script of their choice, which will be executed at the pod's start.","published":"2025-12-09T20:19:14.680Z","modified":"2026-08-12T03:51:28.127523660Z","cvss":{"score":8.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"},"epss":{"score":0.0068,"percentile":0.50766,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/argoproj/argo-workflows/v3","fixedVersion":"3.7.5"},{"ecosystem":"Go","name":"github.com/argoproj/argo-workflows/v3","fixedVersion":"3.6.14"},{"ecosystem":"Go","name":"github.com/argoproj/argo-workflows","fixedVersion":null}],"fix":{"url":"https://github.com/argoproj/argo-workflows/commit/6b92af23f35aed4d4de8b04adcaf19d68f006de1","label":"argoproj/argo-workflows@6b92af2"},"references":[{"type":"WEB","url":"https://github.com/argoproj/argo-workflows/blob/5291e0b01f94ba864f96f795bb500f2cfc5ad799/workflow/executor/executor.go#L1034-L1037"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66626.json"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-p84v-gxvw-73pf"},{"type":"ADVISORY","url":"https://github.com/argoproj/argo-workflows/security/advisories/GHSA-xrqc-7xgx-c9vh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66626"},{"type":"FIX","url":"https://github.com/argoproj/argo-workflows/commit/6b92af23f35aed4d4de8b04adcaf19d68f006de1"},{"type":"PACKAGE","url":"https://github.com/argoproj/argo-workflows"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:28.127523660Z"}}