Path traversal allows leaking out-of-bound files from Argo CD repo-server
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure, Security bypass
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-22, CWE-284 and the CVSS impact.
Summary
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Argo CD starting with version 1.5.0 but before versions 2.1.11, 2.2.6, and 2.3.0 is vulnerable to a path traversal vulnerability, allowing a malicious user with read/write access to leak sensitive files from Argo CD's repo-server. A malicious Argo CD user who has been granted `create` or `update` access to Applications can leak the contents of any text file on the repo-server. By crafting a malicious Helm chart and using it in an Application, the attacker can retrieve the sensitive file's contents either as part of the generated manifests or in an error message. The attacker would have to know or guess the location of the target file. Sensitive files which could be leaked include files from another Application's source repositories or any secrets which have been mounted as files on the repo-server. This vulnerability is patched in Argo CD versions 2.1.11, 2.2.6, and 2.3.0. The problem can be mitigated by avoiding storing secrets in git, avoiding mounting secrets as files on the repo-server, avoiding decrypting secrets into files on the repo-server, and carefully limiting who can `create` or `update` Applications.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| argoproj | argo-cd | 1.5.0 to before 2.1.11; 2.2.0 to before 2.2.6; 2.3.0-rc1 to before 2.3.0 | 2.1.11, 2.2.6, 2.3.0 | Patch available | CNA |
| — | github.com/argoproj/argo-cd (Go) | 1.5.0 to before 2.1.11 | 2.1.11 | Patch available | GHSA-h6h5-6fmq-rh28 |
| — | github.com/argoproj/argo-cd (Go) | 2.2.0 to before 2.2.6 | 2.2.6 | Patch available | GHSA-h6h5-6fmq-rh28 |
| — | github.com/argoproj/argo-cd (Go) | 2.3.0-rc1 to before 2.3.0 | 2.3.0 | Patch available | GHSA-h6h5-6fmq-rh28 |
- argo-cd Vendorargoproj Affected 1.5.0 to before 2.1.11; 2.2.0 to before 2.2.6; 2.3.0-rc1 to before 2.3.0 Fixed in 2.1.11, 2.2.6, 2.3.0 Patch available CNA
- github.com/argoproj/argo-cd (Go) Vendor— Affected 1.5.0 to before 2.1.11 Fixed in 2.1.11 Patch available GHSA-h6h5-6fmq-rh28
- github.com/argoproj/argo-cd (Go) Vendor— Affected 2.2.0 to before 2.2.6 Fixed in 2.2.6 Patch available GHSA-h6h5-6fmq-rh28
- github.com/argoproj/argo-cd (Go) Vendor— Affected 2.3.0-rc1 to before 2.3.0 Fixed in 2.3.0 Patch available GHSA-h6h5-6fmq-rh28
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:* | 1.5.0 to before 2.1.11; 2.2.0 to before 2.2.6 | Vulnerable | argoproj |
| cpe:2.3:a:argoproj:argo_cd:2.3.0:rc1:*:*:*:*:*:* | 2.3.0 rc1 | Vulnerable | argoproj |
| cpe:2.3:a:argoproj:argo_cd:2.3.0:rc2:*:*:*:*:*:* | 2.3.0 rc2 | Vulnerable | argoproj |
| cpe:2.3:a:argoproj:argo_cd:2.3.0:rc4:*:*:*:*:*:* | 2.3.0 rc4 | Vulnerable | argoproj |
| cpe:2.3:a:argoproj:argo_cd:2.3.0:rc5:*:*:*:*:*:* | 2.3.0 rc5 | Vulnerable | argoproj |
- cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:* Versions 1.5.0 to before 2.1.11; 2.2.0 to before 2.2.6 Vulnerable ·argoproj
- cpe:2.3:a:argoproj:argo_cd:2.3.0:rc1:*:*:*:*:*:* Versions 2.3.0 rc1 Vulnerable ·argoproj
- cpe:2.3:a:argoproj:argo_cd:2.3.0:rc2:*:*:*:*:*:* Versions 2.3.0 rc2 Vulnerable ·argoproj
- cpe:2.3:a:argoproj:argo_cd:2.3.0:rc4:*:*:*:*:*:* Versions 2.3.0 rc4 Vulnerable ·argoproj
- cpe:2.3:a:argoproj:argo_cd:2.3.0:rc5:*:*:*:*:*:* Versions 2.3.0 rc5 Vulnerable ·argoproj
Remediation
- Fix · CNA argo-cd (argoproj) Fixed in 2.1.11, 2.2.6, 2.3.0
- Fix · GHSA-h6h5-6fmq-rh28 github.com/argoproj/argo-cd (Go) Fixed in 2.1.11 Advisory →
- Fix · GHSA-h6h5-6fmq-rh28 github.com/argoproj/argo-cd (Go) Fixed in 2.2.6 Advisory →
- Fix · GHSA-h6h5-6fmq-rh28 github.com/argoproj/argo-cd (Go) Fixed in 2.3.0 Advisory →
Red Hat 4 advisories
- RHSA-2022:1042 Released 2022-03-23 · Red Hat rating ImportantRed Hat OpenShift GitOps security update
- Red Hat OpenShift GitOps 1.3 openshift-gitops-1/argocd-rhel8
- RHSA-2022:1039 Released 2022-03-23 · Red Hat rating ImportantRed Hat OpenShift GitOps security update
- Red Hat OpenShift GitOps 1.2 openshift-gitops-1/argocd-rhel8
- RHSA-2022:1041 Released 2022-03-23 · Red Hat rating ImportantRed Hat OpenShift GitOps security update
- Red Hat OpenShift GitOps 1.4 openshift-gitops-1/argocd-rhel8
Show 1 more Red Hat advisories
- RHSA-2022:1040 Released 2022-03-23 · Red Hat rating ImportantRed Hat OpenShift GitOps security update
- Red Hat OpenShift GitOps 1.3 openshift-gitops-1/argocd-rhel8
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenShift GitOps 1.2 | Fixed | RHSA-2022:1039 |
| Red Hat OpenShift GitOps 1.3 | Fixed | RHSA-2022:1040, RHSA-2022:1042 |
| Red Hat OpenShift GitOps 1.4 | Fixed | RHSA-2022:1041 |
Not affected: 3 products
- Red Hat OpenShift GitOps 1.2
- Red Hat OpenShift GitOps 1.3
- Red Hat OpenShift GitOps 1.4
Timeline
- 2026-10-02 Threatist record created from CVE-2022-24731
- 2026-10-03 Alias added: GHSA-h6h5-6fmq-rh28
References
More argoproj Argo Cd vulnerabilities
- TI-2024-14377 Argo CD vulnerable to Bypassing of Brute Force Protection via Application Crash and In-Memory Data Loss CVSS 3.1CRITICAL 9.8
- TI-2024-14383 Argo CD vulnerable to Bypassing of Rate Limit and Brute Force Protection Using Cache Overflow CVSS 3.1CRITICAL 9.1
- TI-2026-31086 ArgoCD ServerSideDiff is vulnerable to Kubernetes Secret Extraction CVSS 3.1CRITICAL 9.6
- TI-2023-20919 Cluster secret might leak in cluster details page in Argo CD CVSS 3.1CRITICAL 9.9
- TI-2024-21088 ArgoCD Vulnerable to Use of Risky or Missing Cryptographic Algorithms in Redis Cache CVSS 3.1CRITICAL 9.1
- TI-2026-33475 Argo CD: Stored XSS in application link annotations enables developer-to-admin privilege escalation CVSS 3.1HIGH 8.7
Sources
- CVE-2022-24731 · CVE Program
- CVE-2022-24731 · NVD
- FIRST EPSS
- GHSA-h6h5-6fmq-rh28 · GitHub Advisory Database · CC BY 4.0
- CVE-2022-24731 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences