cve.bz

CVE-2022-24731 argoproj argo cd: Path traversal

4.9 mediumEPSS 1.0%Fix available

Medium (4.9) in argoproj argo cd. EPSS 1.0% 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.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.

Severity

CVSS 3.1

4.9 medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 62nd 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-209 Generation of Error Message Containing Sensitive Information
CWE-284 Improper Access Control
OWASP Top 10
A01:2025 Broken Access Control, A10:2025 Mishandling of Exceptional Conditions
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-24731 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-24731?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-24731?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-24731 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.5.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-h6h5-6fmq-rh28Gogithub.com/argoproj/argo-cd>=1.5.0 <2.1.112.1.11
GHSA-h6h5-6fmq-rh28Gogithub.com/argoproj/argo-cd>=2.2.0 <2.2.62.2.6
GHSA-h6h5-6fmq-rh28Gogithub.com/argoproj/argo-cd>=2.3.0-rc1 <2.3.02.3.0
GO-2022-0358Gogithub.com/argoproj/argo-cd>=1.5.0no fix published
GO-2022-0358Gogithub.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-24731.

Attack patterns (CAPEC)

  • CAPEC-7 Blind SQL Injection Likelihood: High · Severity: High
  • CAPEC-54 Query System for Information Likelihood: High · Severity: Low
  • CAPEC-215 Fuzzing for application mapping Likelihood: High · Severity: Low
  • CAPEC-463 Padding Oracle Crypto Attack Severity: High
  • 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