{"id":"CVE-2025-62156","published":"2025-10-14T14:52:44Z","modified":"2025-10-14T16:04:24Z","title":"argo-workflows Zip Slip path traversal allows arbitrary file write and container configuration overwrite","vendor":"argoproj","product":"argo-workflows","tier":"tail","description":{"text":"Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. Versions prior to 3.6.12 and versions 3.7.0 through 3.7.2 contain a Zip Slip path traversal vulnerability in artifact extraction. During artifact extraction the unpack/untar logic (workflow/executor/executor.go) uses filepath.Join(dest, filepath.Clean(header.Name)) without validating that header.Name stays within the intended extraction directory. A malicious archive entry can supply a traversal or absolute path that, after cleaning, overrides the destination directory and causes files to be written outside the /work/tmp extraction path and into system directories such as /etc inside the container. The vulnerability enables arbitrary file creation or overwrite in system configuration locations (for example /etc/passwd, /etc/hosts, /etc/crontab), which can lead to privilege escalation or persistence within the affected container. Update to 3.6.12 or 3.7.3 to remediate the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00889,"percentile":0.57176,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/argoproj/argo-workflows/security/advisories/GHSA-p84v-gxvw-73pf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/argoproj/argo-workflows/commit/5659ad9b641fcf52c04ed594cd6493f9170f6011","tags":["x_refsource_MISC"]},{"url":"https://github.com/argoproj/argo-workflows/commit/9f6bc5d236cd1b24d607943384511d71ad17a4c3","tags":["x_refsource_MISC"]},{"url":"https://github.com/argoproj/argo-workflows/blob/946a2d6b9ac3309371fe47f49ae94c33ca7d488d/workflow/executor/executor.go#L993","tags":["x_refsource_MISC"]}],"priority":{"score":17.1,"factors":[{"name":"EPSS percentile","points":11.44},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"argoproj","affectedVersions":[{"vendor":"argoproj","product":"argo-workflows","versions":["< 3.6.12",">= 3.7.0, < 3.7.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-14T16:04:17.130047Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/argoproj/argo-workflows/v3","vulnerableRanges":["<3.6.12",">=3.7.0, <3.7.3"],"patched":["3.6.12","3.7.3"],"from":["GHSA-p84v-gxvw-73pf","GO-2025-4023"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/argoproj/argo-workflows","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2025-4023"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/argoproj/argo-workflows/v2","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2025-4023"],"provenance":"source"}],"summary":{"text":"Argo Workflows (argoproj) has a Zip Slip path traversal flaw in its artifact extraction logic (workflow/executor/executor.go), affecting versions prior to 3.6.12 and 3.7.0 through 3.7.2, where archive entry names are not validated against the extraction directory. An attacker who can supply a malicious archive as a workflow artifact, and who holds low-privilege access to submit or influence workflows (no user interaction required), can write or overwrite files outside the intended /work/tmp path, including system configuration files inside the container.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:39Z"},"euvd":{"id":"EUVD-2025-34251","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-argoproj-argo-workflows-cve-2025-62156","children":[{"from":"CVE-2025-62156","to":"CVE-2025-66626","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"The patch deployed against CVE-2025-62156 is ineffective against malicious archives containing symbolic links.","from":"CVE.org","in":"CVE-2025-66626"},{"kind":"osv-related","provenance":"source","id":"GHSA-p84v-gxvw-73pf","via":"related"},{"kind":"osv-related","provenance":"source","id":"GHSA-xrqc-7xgx-c9vh","via":"reference","url":"https://github.com/advisories/GHSA-p84v-gxvw-73pf"},{"kind":"osv-related","provenance":"source","id":"GO-2025-4223","via":"reference","url":"https://github.com/advisories/GHSA-p84v-gxvw-73pf"},{"kind":"version-step","provenance":"source","package":"Go:github.com/argoproj/argo-workflows/v3","fromFixed":"3.7.3","toFixed":"3.7.5","daysApart":56},{"kind":"same-code","provenance":"machine","files":["workflow/executor/executor.go"],"commits":["https://github.com/argoproj/argo-workflows/commit/5659ad9b641fcf52c04ed594cd6493f9170f6011","https://github.com/argoproj/argo-workflows/commit/9f6bc5d236cd1b24d607943384511d71ad17a4c3","https://github.com/argoproj/argo-workflows/commit/6b92af23f35aed4d4de8b04adcaf19d68f006de1"],"basis":"shared function","functions":["untar"]}]}],"packageHistory":[{"cve":"CVE-2022-29164","published":"2022-05-05","fixed":"3.3.5","kev":false},{"cve":"CVE-2024-47827","published":"2024-10-28","fixed":"3.6.0-rc2","kev":false},{"cve":"CVE-2024-53862","published":"2024-12-02","fixed":"3.6.2","kev":false,"link":{"from":"CVE-2024-53862","to":"CVE-2025-62156","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/argoproj/argo-workflows/v3","fromFixed":"3.6.2","toFixed":"3.6.12","daysApart":316}]}},{"cve":"CVE-2025-62156","published":"2025-10-14","fixed":"3.7.3","kev":false},{"cve":"CVE-2025-62157","published":"2025-10-14","fixed":"3.7.3","kev":false},{"cve":"CVE-2025-66626","published":"2025-12-09","fixed":"3.7.5","kev":false},{"cve":"CVE-2026-23960","published":"2026-01-21","fixed":"3.7.8","kev":false}],"package":"Go:github.com/argoproj/argo-workflows/v3"}}