{"id":"GHSA-xrqc-7xgx-c9vh","revision":"b6fb64757c9c4560b10f978b9ab1c7f0","records":[{"revision":"b6fb64757c9c4560b10f978b9ab1c7f0","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-xrqc-7xgx-c9vh","aliases":["BIT-argo-workflows-2025-66626","CVE-2025-66626","GO-2025-4223"],"title":" RCE via ZipSlip and symbolic links in argoproj/argo-workflows","description":"### 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.","state":0,"publishedAt":"2025-12-09T17:17:22+00:00","modifiedAt":"2026-09-10T03:50:32.3355872+00:00","affected":[{"ecosystem":"Go","name":"github.com/argoproj/argo-workflows/v3","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"3.7.0"},{"kind":"fixed","version":"3.7.5"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/argoproj/argo-workflows/v3","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"3.6.14"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/argoproj/argo-workflows","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"last_affected","version":"2.5.3-rc4"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/argoproj/argo-workflows/security/advisories/GHSA-xrqc-7xgx-c9vh","https://nvd.nist.gov/vuln/detail/CVE-2025-66626","https://github.com/argoproj/argo-workflows/commit/6b92af23f35aed4d4de8b04adcaf19d68f006de1","https://github.com/advisories/GHSA-p84v-gxvw-73pf","https://github.com/argoproj/argo-workflows","https://github.com/argoproj/argo-workflows/blob/5291e0b01f94ba864f96f795bb500f2cfc5ad799/workflow/executor/executor.go#L1034-L1037"],"sourceUrl":"https://github.com/advisories/GHSA-xrqc-7xgx-c9vh","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-xrqc-7xgx-c9vh","identifiers":["GHSA-xrqc-7xgx-c9vh","BIT-argo-workflows-2025-66626","CVE-2025-66626","GO-2025-4223"]},"retained":false,"historicalAffected":[]}],"coverage":[]}