CVE-2022-24904: argoproj argo_cd Link Following
- 1 reference with an unsupported link type was hidden.
Vulnerability summary
CVE-2022-24904 is a medium (CVSS 4.3) Link Following vulnerability in argoproj argo_cd. EPSS estimates a 1.15% chance of exploitation in the next 30 days, higher than 66.4% of scored vulnerabilities.
Timeline
- 20-05-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Argo CD starting with version 0.7.0 and prior to versions 2.1.15m 2.2.9, and 2.3.4 is vulnerable to a symlink following bug allowing a malicious user with repository write access to leak sensitive files from Argo CD's repo-server. A malicious Argo CD user with write access for a repository which is (or may be) used in a directory-type Application may commit a symlink which points to an out-of-bounds file. Sensitive files which could be leaked include manifest files from other Applications' source repositories (potentially decrypted files, if you are using a decryption plugin) or any JSON-formatted secrets which have been mounted as files on the repo-server. A patch for this vulnerability has been released in Argo CD versions 2.3.4, 2.2.9, and 2.1.15. Users of versions 2.3.0 or above who do not have any Jsonnet/directory-type Applications may disable the Jsonnet/directory config management tool as a workaround.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · GoEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- NVDNIST4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS trend
Probability
1.15%
Chance of exploitation in the next 30 days
Percentile
66%
Versus all other CVEs
30-day change
+0.02 pp
From 1.13% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-59Improper Link Resolution Before File Access ('Link Following')The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
- CWE-61UNIX Symbolic Link (Symlink) FollowingThe product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. This could allow an attacker to cause the product to operate on unauthorized files.
Affected systems
Argoproj2 products
Github.com/argoproj1 product
- argo-cdAll versions (No fix recorded)
Github.com/argoproj/argo-cd1 product
- v2< 2.1.15 | ≥ 2.2.0, < 2.2.9 | ≥ 2.3.0, < 2.3.4
3 vendors · 4 products
References
8 links- github.com/argoproj/argo-cd/security/advisories/GHSA-6gcg-hp2x-q54hX Refsource CONFIRMWEBAdvisoryMitigationThird Party Advisory
- github.com/argoproj/argo-cd/releases/tag/v2.1.15X Refsource MISCWEBRelease NotesThird Party Advisory