CVE-2025-62156 argo-workflows Zip Slip path traversal allows arbitrary file write and container configuration overwrite
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- Kubernetes
Description
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.
Upgrade path
3 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| argoproj github.com/argoproj/argo-workflows(Go) | < 3.6.12; >= 3.7.0, < 3.7.3; All versions | 3.6.12, 3.7.3 | Partially fixed |
| argoproj argo workflows | < 3.6.12; >= 3.7.0, < 3.7.3 | 3.6.12, 3.7.3 | Fixed |
| argoproj github.com/argoproj/argo-workflows | = < 3.6.12; = >= 3.7.0, < 3.7.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| argoproj github.com/argoproj/argo-workflows(Go) | < 3.6.12 | 3.6.12 |
| argoproj github.com/argoproj/argo-workflows(Go) | >= 3.7.0, < 3.7.3 | 3.7.3 |
| argoproj github.com/argoproj/argo-workflows(Go) | All versions | No fix listed |
| argoproj github.com/argoproj/argo-workflows | = < 3.6.12 | No fix listed |
| argoproj github.com/argoproj/argo-workflows | = >= 3.7.0, < 3.7.3 | No fix listed |
| argoproj argo workflows | < 3.6.12 | 3.6.12 |
| argoproj argo workflows | >= 3.7.0, < 3.7.3 | 3.7.3 |
References
- https://github.com/argoproj/argo-workflows/security/advisories/GHSA-p84v-gxvw-73pf exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/argoproj/argo-workflows/commit/5659ad9b641fcf52c04ed594cd6493f9170f6011 patch
- https://github.com/argoproj/argo-workflows/commit/9f6bc5d236cd1b24d607943384511d71ad17a4c3 patch
- github.com product
- https://github.com/argoproj/argo-workflows/blob/946a2d6b9ac3309371fe47f49ae94c33ca7d488d/workflow/executor/executor.go#L993 product
- pkg.go.dev
- github.com