Skip to content
Fencer Vulns
medium 6.8

CVE-2022-24731 json

Path traversal allows leaking out-of-bound files from Argo CD repo-server

published 2022-03-23 4 y ago modified 2026-06-17 4 mo ago also GHSA-h6h5-6fmq-rh28 , GO-2022-0358 , EUVD-2022-1438

cvss
6.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.0%
EPSS 1.0% chance of exploitation in 30 days, percentile 61%
public exploits
0
none known

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.

Patch / fix

  • go github.com/argoproj/argo-cd 2.1.11, 2.2.6, 2.3.0
  • go github.com/argoproj/argo-cd/v2 2.1.11, 2.2.6, 2.3.0
  • argoproj argo_cd 2.1.11, 2.2.6

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-24731 updated cvss 6.8

argocd: path traversal allows leaking out-of-bound files

  • Red Hat OpenShift GitOps 1.2 openshift-gitops-1/argocd-rhel8 v1.2.3-3
    fixed: vendor fix RHSA-2022:1039
  • Red Hat OpenShift GitOps 1.3 openshift-gitops-1/argocd-rhel8 v1.3.5-4, openshift-gitops-1/argocd-rhel8 v1.3.6-3
    fixed: vendor fix RHSA-2022:1040
  • Red Hat OpenShift GitOps 1.4 openshift-gitops-1/argocd-rhel8 v1.4.4-6
    fixed: vendor fix RHSA-2022:1041
  • Red Hat OpenShift GitOps 1.2 openshift-gitops-1/gitops-rhel8 v1.2.3-3, openshift-gitops-1/kam-delivery-rhel8 v1.2.3-3, openshift-gitops-1/applicationset-rhel8 v1.2.3-3, openshift-gitops-1/gitops-rhel8-operator v1.2.3-3, openshift-gitops-1/gitops-operator-bundle v1.2.3-3 Red Hat OpenShift GitOps 1.3 openshift-gitops-1/dex-rhel8 v1.3.5-4, openshift-gitops-1/dex-rhel8 v1.3.6-3, openshift-gitops-1/gitops-rhel8 v1.3.5-4, openshift-gitops-1/gitops-rhel8 v1.3.6-3, openshift-gitops-1/kam-delivery-rhel8 v1.3.5-4, openshift-gitops-1/kam-delivery-rhel8 v1.3.6-3, +6 more Red Hat OpenShift GitOps 1.4 openshift-gitops-1/dex-rhel8 v1.4.4-6, openshift-gitops-1/gitops-rhel8 v1.4.4-6, openshift-gitops-1/kam-delivery-rhel8 v1.4.4-6, openshift-gitops-1/applicationset-rhel8 v1.4.4-6, openshift-gitops-1/gitops-rhel8-operator v1.4.4-6, openshift-gitops-1/gitops-operator-bundle v1.4.4-6
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
18 mo ago

Exploit prediction

0.96% chance of exploitation in the next 30 days, higher than 61% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 6.8 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
NVD 3.1 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
NVD 2.0 4.0 AV:N/AC:L/Au:S/C:P/I:N/A:N
GitHub 3.1 6.8 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
go github.com/argoproj/argo-cd
>=1.5.0, <2.1.11
>=2.2.0, <2.2.6
>=2.3.0-rc1, <2.3.0
>=1.5.0
2.1.11
2.2.6
2.3.0
go github.com/argoproj/argo-cd/v2
<2.1.11
>=2.2.0, <2.2.6
>=2.3.0-rc1, <2.3.0
2.1.11
2.2.6
2.3.0

Affected products

  • argoproj argo-cd

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory
  • CWE-284 Improper Access Control
  • CWE-209 Generation of Error Message Containing Sensitive Information

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.