Path traversal and improper access control allows leaking out-of-bound files from Argo CD repo-server
Key facts
- Attack vector
- Network
- Privileges required
- Low
- 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.3.0 but before versions 2.1.11, 2.2.6, and 2.3.0 is vulnerable to a path traversal bug, compounded by an improper access control bug, allowing a malicious user with read-only repository access to leak sensitive files from Argo CD's repo-server. A malicious Argo CD user who has been granted `get` access for a repository containing a Helm chart can craft an API request to the `/api/v1/repositories/{repo_url}/appdetails` endpoint to leak the contents of out-of-bounds files from the repo-server. The malicious payload would reference an out-of-bounds file, and the contents of that file would be returned as part of the response. Contents from a non-YAML file may be returned as part of 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 other Applications' 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 patches prevent path traversal and limit access to users who either A) have been granted Application `create` privileges or B) have been granted Application `get` privileges and are requesting details for a `repo_url` that has already been used for the given Application. There are currently no known workarounds.
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.3.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.3.0 to before 2.1.11 | 2.1.11 | Patch available | GHSA-r9cr-hvjj-496v |
| — | github.com/argoproj/argo-cd (Go) | 2.2.0 to before 2.2.6 | 2.2.6 | Patch available | GHSA-r9cr-hvjj-496v |
| — | github.com/argoproj/argo-cd (Go) | 2.3.0-rc1 to before 2.3.0 | 2.3.0 | Patch available | GHSA-r9cr-hvjj-496v |
- argo-cd Vendorargoproj Affected 1.3.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.3.0 to before 2.1.11 Fixed in 2.1.11 Patch available GHSA-r9cr-hvjj-496v
- github.com/argoproj/argo-cd (Go) Vendor— Affected 2.2.0 to before 2.2.6 Fixed in 2.2.6 Patch available GHSA-r9cr-hvjj-496v
- 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-r9cr-hvjj-496v
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:* | 1.3.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.3.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-r9cr-hvjj-496v github.com/argoproj/argo-cd (Go) Fixed in 2.1.11 Advisory →
- Fix · GHSA-r9cr-hvjj-496v github.com/argoproj/argo-cd (Go) Fixed in 2.2.6 Advisory →
- Fix · GHSA-r9cr-hvjj-496v 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-24730
- 2026-10-03 Alias added: GHSA-r9cr-hvjj-496v
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-24730 · CVE Program
- CVE-2022-24730 · NVD
- FIRST EPSS
- GHSA-r9cr-hvjj-496v · GitHub Advisory Database · CC BY 4.0
- CVE-2022-24730 · 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