cve.bz

CVE-2022-24730 argoproj argo cd: Path traversal

6.5 mediumEPSS 0.9%Fix available

Medium (6.5) in argoproj argo cd. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/argoproj/argo-cd 2.1.11, 2.2.6, 2.3.0.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 60th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-04-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
CWE-863 Incorrect Authorization
CWE-284 Improper Access Control
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • github.com/argoproj/argo-cd (Go): fixed in 2.1.11, 2.2.6, 2.3.0
  • github.com/argoproj/argo-cd/v2 (Go): fixed in 2.1.11, 2.2.6, 2.3.0

Ask an AI about this CVE

Show the promptExplain CVE-2022-24730 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-24730?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-24730?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-24730 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
argoproj:argo_cdfrom 1.3.0 before 2.1.11
argoproj:argo_cdfrom 2.2.0 before 2.2.6
argoproj:argo_cd2.3.0:rc1
argoproj:argo_cd2.3.0:rc2
argoproj:argo_cd2.3.0:rc4
argoproj:argo_cd2.3.0:rc5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-r9cr-hvjj-496vGogithub.com/argoproj/argo-cd>=1.3.0 <2.1.112.1.11
GHSA-r9cr-hvjj-496vGogithub.com/argoproj/argo-cd>=2.2.0 <2.2.62.2.6
GHSA-r9cr-hvjj-496vGogithub.com/argoproj/argo-cd>=2.3.0-rc1 <2.3.02.3.0
GO-2022-0357Gogithub.com/argoproj/argo-cd>=1.3.0no fix published
GO-2022-0357Gogithub.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

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat OpenShift GitOps 1.2openshift-gitops-1/argocd-rhel8:v1.2.3-3Fixed 2022-03-23RHSA-2022:1039
Red Hat OpenShift GitOps 1.3openshift-gitops-1/argocd-rhel8:v1.3.5-4Fixed 2022-03-23RHSA-2022:1040
Red Hat OpenShift GitOps 1.3openshift-gitops-1/argocd-rhel8:v1.3.6-3Fixed 2022-03-23RHSA-2022:1042
Red Hat OpenShift GitOps 1.4openshift-gitops-1/argocd-rhel8:v1.4.4-6Fixed 2022-03-23RHSA-2022:1041

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-24730.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-284 (17).

References

Check your stackJSON