{"schemaVersion":3,"id":"CVE-2022-24904","aliases":["GHSA-6gcg-hp2x-q54h","GO-2022-0453"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2022-05-20T13:55:11.000Z","modified":"2025-04-23T18:25:13.878Z","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.01151,"percentile":0.6643,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.01799999999999996,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01133},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01106,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01106,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01106,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01106,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01151,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01151,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01151,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01151,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01151,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01151,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01151,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01151,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01151,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01151,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01151,"percentile":0.6643}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01133,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01151,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01151,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01151,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01151,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01151,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01151,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01151,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01151,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01151,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01151,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01151,"percentile":0.6643}]},"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-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"},{"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"}],"affected":[{"vendor":"argoproj","product":"argo_cd","name":"argo cd","label":"argo_cd","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.7.0, < 2.1.15","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.2.0, < 2.2.9","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.3.0, < 2.3.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.7.0, < 2.1.15 | ≥ 2.2.0, < 2.2.9 | ≥ 2.3.0, < 2.3.4","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":"argoproj","product":"argo-cd","name":"argo-cd","label":"argo-cd","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.7.0, < 2.1.15","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.2.0, < 2.2.9","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.3.0, < 2.3.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.7.0, < 2.1.15 | ≥ 2.2.0, < 2.2.9 | ≥ 2.3.0, < 2.3.4","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":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (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.15","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.2.0, < 2.2.9","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.3.0, < 2.3.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1.15 | ≥ 2.2.0, < 2.2.9 | ≥ 2.3.0, < 2.3.4","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-6gcg-hp2x-q54h","label":"github.com/argoproj/argo-cd/security/advisories/GHSA-6gcg-hp2x-q54h","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Mitigation","Third Party Advisory"]},{"url":"https://github.com/argoproj/argo-cd/releases/tag/v2.1.15","label":"github.com/argoproj/argo-cd/releases/tag/v2.1.15","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes","Third Party Advisory"]},{"url":"https://github.com/argoproj/argo-cd/releases/tag/v2.2.9","label":"github.com/argoproj/argo-cd/releases/tag/v2.2.9","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes","Third Party Advisory"]},{"url":"https://github.com/argoproj/argo-cd/releases/tag/v2.3.4","label":"github.com/argoproj/argo-cd/releases/tag/v2.3.4","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24904","label":"nvd.nist.gov/vuln/detail/CVE-2022-24904","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/argoproj/argo-cd/commit/5e767a4b9e30983330c0fdec322192281a90eb84","label":"github.com/argoproj/argo-cd/commit/5e767a4b9e30983330c0fdec322192281a90eb84","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://github.com/argoproj/argo-cd/commit/7357cfdb58a560de70a0538c6e3bef6fe39505ea","label":"github.com/argoproj/argo-cd/commit/7357cfdb58a560de70a0538c6e3bef6fe39505ea","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://github.com/argoproj/argo-cd/commit/d36d95dc9f71ec61c1a93794f81ece6d61a0d943","label":"github.com/argoproj/argo-cd/commit/d36d95dc9f71ec61c1a93794f81ece6d61a0d943","hostname":"github.com","tags":["WEB","FIX"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-05-20T13:55:11.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-23T18:25:13.878Z","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-20T12:06:26.835Z","stale":false,"partial":false}}