CVE-2025-66626
8.1Argoproj · Argo Workflows
Argo Workflows contains a path traversal vulnerability in its untar process, allowing authenticated attackers to overwrite critical files and achieve OS command execution.
Executive summary
A critical path traversal vulnerability in Argo Workflows permits authenticated attackers to overwrite sensitive system files and execute arbitrary commands, leading to potential system compromise.
Vulnerability
This vulnerability involves unsafe handling of symbolic links within archives during the untar process. An authenticated attacker can exploit this flaw to overwrite the critical file /var/run/argo/argoexec with a malicious script, which is subsequently executed upon pod startup.
Business impact
The exploitation of this flaw allows an attacker to achieve OS command injection, which can lead to full container compromise, lateral movement within the Kubernetes cluster, and potential exfiltration of sensitive data. With a CVSS score of 8.1, this represents a high-severity risk that could result in significant operational disruption and loss of integrity for the affected workflow orchestration environment.
Remediation
Immediate Action: Upgrade to Argo Workflows version 3.6.14 or 3.7.5 immediately to incorporate the necessary security patches for the untar function.
Proactive Monitoring: Monitor container logs and Kubernetes audit logs for unusual file modification patterns or unauthorized process execution originating from the argoexec binary.
Compensating Controls: Implement strict Kubernetes Network Policies to limit pod communication and ensure that container images are scanned for malicious artifacts prior to deployment.
Exploitation status
Public Exploit Available: No
Analyst recommendation
Given the potential for remote code execution within the containerized environment, organizations should prioritize patching to the versions identified above. Security teams must treat this vulnerability with high urgency and verify that all workflow executors are running the updated, hardened code to prevent unauthorized command execution.
More Argoproj CVEs
Sources
- https://github.com/argoproj/argo-workflows/security/advisories/GHSA-xrqc-7xgx-c9vh
- https://github.com/argoproj/argo-workflows/commit/6b92af23f35aed4d4de8b04adcaf19d68f006de1
- https://github.com/advisories/GHSA-p84v-gxvw-73pf
- https://github.com/argoproj/argo-workflows/blob/5291e0b01f94ba864f96f795bb500f2cfc5ad799/workflow/executor/executor.go#L