CVE-2022-31036: argoproj argo_cd Improper Input Validation
Vulnerability summary
CVE-2022-31036 is a medium (CVSS 4.3) Improper Input Validation vulnerability in argoproj argo_cd. EPSS estimates a 0.87% chance of exploitation in the next 30 days, higher than 58.1% of scored vulnerabilities.
Timeline
- 27-06-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. All versions of Argo CD starting with v1.3.0 are vulnerable to a symlink following bug allowing a malicious user with repository write access to leak sensitive YAML 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 Helm-type Application may commit a symlink which points to an out-of-bounds file. If the target file is a valid YAML file, the attacker can read the contents of that 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 YAML-formatted secrets which have been mounted as files on the repo-server. Patches for this vulnerability has been released in the following Argo CD versions: v2.4.1, v2.3.5, v2.2.10 and v2.1.16. If you are using a version >=v2.3.0 and do not have any Helm-type Applications you may disable the Helm 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
0.87%
Chance of exploitation in the next 30 days
Percentile
58%
Versus all other CVEs
30-day change
0.00 pp
From 0.87% 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-20Improper Input ValidationThe product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
- 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.
- 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.
Affected systems
Argoproj2 products
Github.com/argoproj1 product
- argo-cd≥ 1.3.0, < 2.1.16 | ≥ 1.3.0 (No fix recorded)
Github.com/argoproj/argo-cd1 product
- v2< 2.1.16 | ≥ 2.2.0, < 2.2.10 | ≥ 2.3.0, < 2.3.5 | ≥ 2.4.0, < 2.4.1
3 vendors · 4 products
References
4 links- github.com/argoproj/argo-cd/security/advisories/GHSA-q4w5-4gq2-98vmX Refsource CONFIRMWEBAdvisoryMitigationThird Party Advisory
- github.com/argoproj/argo-cd/commit/04c305396458508a31d03d44afea07b1c620d7cdX Refsource MISCWEBFIXPatchThird Party Advisory
- github.com/argoproj/argo-cdPACKAGE