CVE-2022-31036: Symlink following allows leaking out-of-bounds YAML files from Argo CD repo-server
Vulnerability summary
CVE-2022-31036 is a medium (CVSS 4.3) Improper Input Validation vulnerability in argoproj argo_cd. EPSS estimates a 0.91% chance of exploitation in the next 30 days, higher than 61% of scored vulnerabilities.
Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?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.91%
Chance of exploitation in the next 30 days
Percentile
61%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.89% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
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 AccessThe 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
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
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