{"schemaVersion":3,"id":"CVE-2022-31036","aliases":["GHSA-q4w5-4gq2-98vm","GO-2022-0499"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2022-06-27T19:15:16.000Z","modified":"2025-04-23T18:08:03.735Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":7.2,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0087,"percentile":0.58112,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.0087},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0087,"percentile":0.58112}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0087,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0087,"percentile":0.58112}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"},{"id":"CWE-61","name":"UNIX Symbolic Link (Symlink) Following","description":"The 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.","type":"weakness","status":"Incomplete","abstraction":"Compound","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/61.html"},{"id":"CWE-59","name":"Improper Link Resolution Before File Access ('Link Following')","description":"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.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/59.html"}],"affected":[{"vendor":"argoproj","product":"argo_cd","name":"argo cd","label":"argo_cd","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.3.0, < 2.1.6","noFixRecorded":false,"fixedIn":null},{"text":"2.2.9","noFixRecorded":false,"fixedIn":null},{"text":"2.3.4","noFixRecorded":false,"fixedIn":null},{"text":"2.4.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.3.0, < 2.1.6 | 2.2.9 | 2.3.4 | 2.4.0","eol":{"isEol":true,"eolDate":"2022-10-26T00:00:00.000Z","matchMethod":"name_exact","cycle":{"name":"2.2","label":"2.2","eolFrom":"2022-10-26T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"2.2.16"},"product":{"name":"argo-cd","label":"Argo CD","category":"server-app"}},"hubHref":"/vendor/argoproj/argo_cd"},{"vendor":"argoproj","product":"argo-cd","name":"argo-cd","label":"argo-cd","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.3.0, < 2.1.16","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.2.0, < 2.2.10","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.3.0, < 2.3.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.4.0, < 2.4.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.3.0, < 2.1.16 | ≥ 2.2.0, < 2.2.10 | ≥ 2.3.0, < 2.3.5 | ≥ 2.4.0, < 2.4.1","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"argo-cd","label":"Argo CD","category":"server-app"}},"hubHref":"/vendor/argoproj/argo-cd"},{"vendor":"github.com/argoproj","product":"argo-cd","name":"github.com/argoproj/argo-cd","label":"argo-cd","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/argoproj/argo-cd","purlType":"golang","versions":[{"text":"≥ 1.3.0, < 2.1.16","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.3.0","noFixRecorded":true,"fixedIn":null}],"versionsText":"≥ 1.3.0, < 2.1.16 | ≥ 1.3.0 (No fix recorded)","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"argo-cd","label":"Argo CD","category":"server-app"}},"hubHref":null},{"vendor":"github.com/argoproj/argo-cd","product":"v2","name":"github.com/argoproj/argo-cd/v2","label":"v2","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/argoproj/argo-cd/v2","purlType":"golang","versions":[{"text":"< 2.1.16","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.2.0, < 2.2.10","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.3.0, < 2.3.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.4.0, < 2.4.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1.16 | ≥ 2.2.0, < 2.2.10 | ≥ 2.3.0, < 2.3.5 | ≥ 2.4.0, < 2.4.1","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-q4w5-4gq2-98vm","label":"github.com/argoproj/argo-cd/security/advisories/GHSA-q4w5-4gq2-98vm","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Mitigation","Third Party Advisory"]},{"url":"https://github.com/argoproj/argo-cd/commit/04c305396458508a31d03d44afea07b1c620d7cd","label":"github.com/argoproj/argo-cd/commit/04c305396458508a31d03d44afea07b1c620d7cd","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31036","label":"nvd.nist.gov/vuln/detail/CVE-2022-31036","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/argoproj/argo-cd","label":"github.com/argoproj/argo-cd","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-06-27T19:15:16.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-23T18:08:03.735Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":17,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T19:33:50.661Z","stale":false,"partial":false}}