Symlink following allows leaking out-of-bound manifests and JSON files from Argo CD repo-server
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-24904
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 15:36 UTC · Revision 1
Source evidence
Symlink following allows leaking out-of-bound manifests and JSON files from Argo CD repo-server
core-osv · Original sourcePublished 20 May 2022, 13:55 UTC
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.
osv:CVE-2022-24904
Complete source record
{
"id": "350fd7cdcb63a7d236cb67ec532076342cd8768d8566f792bb650122ecc7e82f",
"url": "https://osv.dev/vulnerability/CVE-2022-24904",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Symlink following allows leaking out-of-bound manifests and JSON files from Argo CD repo-server",
"summary": "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.",
"evidence": "osv:CVE-2022-24904",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2022-24904",
"aliases": [
"CVE-2022-24904",
"GHSA-6gcg-hp2x-q54h",
"GO-2022-0453"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/argoproj/argo-cd",
"type": "GIT",
"events": [
{
"introduced": "6fc345f555dff62d232fe03bf17b8bf84d7f1b5d"
},
{
"fixed": "52f917a18165416baa418822daae36c5f011e91f"
},
{
"introduced": "6da92a8e8103ce4145bb0fe2b7e952be79c9ff0a"
},
{
"fixed": "38755a4c1e5232aa2e6f80c062593c9f07da0757"
},
{
"introduced": "fe427802293b090f43f91f5839393174df6c3b3a"
},
{
"fixed": "ac8b7df9467ffcc0920b826c62c4b603a7bfed24"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.7.0"
},
{
"fixed": "2.1.15"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.2.0"
},
{
"fixed": "2.2.9"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.3.0"
},
{
"fixed": "2.3.4"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "52f917a18165416baa418822daae36c5f011e91f"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v2.1.15"
},
{
"range": [
{
"fixed": "38755a4c1e5232aa2e6f80c062593c9f07da0757"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v2.2.9"
},
{
"range": [
{
"fixed": "ac8b7df9467ffcc0920b826c62c4b603a7bfed24"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v2.3.4"
}
]
}
}
],
"versions": [
"v2.1.14",
"v2.2.8",
"v2.3.3",
"v2.3.2",
"v2.1.13",
"v2.2.7",
"v2.1.12",
"v2.3.1",
"v2.1.11",
"v2.2.6",
"v2.3.0",
"v2.1.10",
"v2.2.5",
"v2.1.9",
"v2.2.4",
"v2.1.8",
"v2.2.3",
"v2.2.2",
"v2.2.1",
"v2.2.0",
"v2.1.7",
"v2.1.2",
"v2.1.6",
"v2.1.5",
"v2.1.4",
"v2.1.3",
"v2.1.1",
"v2.1.0",
"v2.1.0-rc3",
"v2.1.0-rc2",
"v2.1.0-rc1",
"v0.8.0",
"v0.7.1",
"v0.7.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-24904.json"
}
}
],
"modified": "2026-10-28T02:30:37.175727317Z",
"provider": "osv",
"references": [
"https://github.com/argoproj/argo-cd/releases/tag/v2.1.15",
"https://github.com/argoproj/argo-cd/releases/tag/v2.2.9",
"https://github.com/argoproj/argo-cd/releases/tag/v2.3.4",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24904.json",
"https://github.com/argoproj/argo-cd/security/advisories/GHSA-6gcg-hp2x-q54h",
"https://nvd.nist.gov/vuln/detail/CVE-2022-24904"
],
"provider_metadata": {
"cwe_ids": [
"CWE-59",
"CWE-61"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24904.json"
}
},
"related_cves": [
{
"value": "CVE-2022-24904",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 504172,
"published_at": "2022-05-20T13:55:11+00:00"
}