CVE-2022-41354Medium· 5.3▾ SunlitArgo CD authenticated but unauthorized users may enumerate Application names via the API
▾ Sunlit zone — Low / medium · no exploitation signal
impact 29.2 · likelihood 0.1 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Jul 9.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
0.6%
All versions of Argo CD starting with v0.5.0 are vulnerable to an information disclosure bug allowing unauthorized users to enumerate application names by inspecting API error messages. An attacker could use the discovered application names as the starting point of another attack. For example, the attacker might use their knowledge of an application name to convince an administrator to grant higher privileges (social engineering).
Many Argo CD API endpoints accept an application name as the only parameter. Since Argo CD RBAC requires both the application name and its configured project name (and, if apps-in-any-namespace is enabled, the application's namespace), Argo CD fetches the requested application before performing the RBAC check. If the application does not exist, the API returns a "not found". If the application does exist, and the user does not have access, the API returns an "unauthorized" error. By trial and error, an attacker can infer which applications exist and which do not.
Note that application resources are not fetched for API calls from unauthenticated users. If your Argo CD instance is accessible from the public internet, unauthenticated users will not be able to cause Argo CD to make Kubernetes API calls.
The patch changes API behavior to return "unauthorized" both when the application is missing and when the user is not authorized to access it. This change in API behavior may impact API clients. Check your code to make sure it will handle the new API behavior properly.
A patch for this vulnerability has been released in the following Argo CD versions:
There are no workarounds besides upgrading.
Thank you to bean.zhang of HIT-IDS ChunkL Team who discovered the issue and reported it confidentially according to our guidelines.
github.com/argoproj/argo-cd >= 0.5.0, <= 1.8.7github.com/argoproj/argo-cd/v2 >= 2.5.0, < 2.5.16github.com/argoproj/argo-cd/v2 >= 2.6.0, < 2.6.7github.com/argoproj/argo-cd/v2 < 2.4.28Upgrade to a patched release:
github.com/argoproj/argo-cd/v2 2.5.16github.com/argoproj/argo-cd/v2 2.6.7github.com/argoproj/argo-cd/v2 2.4.28Connected by shared product, vendor, weakness, or advisory.
CVE-2024-21661High· 7.5Denial of Service (DoS) Vulnerability Due to Unsafe Array Modification in Multi-threaded Environment
CVE-2023-40026Medium· 5.0Path traversal allows leaking out-of-bound Helm charts from Argo CD repo-server
CVE-2023-23947Critical· 9.1Users with any cluster secret update access may update out-of-bounds cluster secrets
CVE-2024-36106Medium· 4.3Argo-cd authenticated users can enumerate clusters by name
CVE-2025-47933Critical· 9.0Argo CD allows cross-site scripting on repositories page
CVE-2024-28175Critical· 9.0Cross-site scripting on application summary component