CVE-2023-25163 Argo CD leaks repository credentials in user-facing error messages and in logs
Attackers with application creation or update permissions can view repository credentials leaked in error messages and logs.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-25163?
CVE-2023-25163 is a medium-severity vulnerability in Argoproj Argo Cd, published on 8 Feb 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. All versions of Argo CD starting with v2.6.0-rc1 have an output sanitization bug which leaks repository access credentials in error messages. These error messages are visible to the user, and they are logged. The error message is visible when a user attempts to create or update an Application via the Argo CD API (and therefor the UI or CLI). The user must have `applications, create` or `applications, update` RBAC access to reach the code which may produce the error. The user is not guaranteed to be able to trigger the error message. They may attempt to spam the API with requests to trigger a rate limit error from the upstream repository. If the user has `repositories, update` access, they may edit an existing repository to introduce a URL typo or otherwise force an error message. But if they have that level of access, they are probably intended to have access to the credentials anyway. A patch for this vulnerability has been released in version 2.6.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Weakness: CWE-532
Which versions are affected by CVE-2023-25163?
4 open source packages ship an affected version, including github.com/argoproj/argo-cd/v2 and argo-cd. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/argoproj/argo-cd/v2 Go | From 2.6.0-rc1 | 2.6.1 |
github.com/argoproj/argo-cd/v2 Go | From 2.6.0-rc1 | 2.6.1 |
github.com/argoproj/argo-cd/v2 Go | From 2.6.0-rc1 | 2.6.1 |
argo-cd Bitnami | From 2.6.0 to 2.6.0 | None |
Products include Argoproj Argo Cd.
How do I fix CVE-2023-25163?
Upgrade github.com/argoproj/argo-cd/v2 to 2.6.1 or later.
Is CVE-2023-25163 being exploited?
There is no known exploitation of CVE-2023-25163 in the wild and no public exploit code.
Other vulnerabilities in Argoproj Argo Cd
- CVE-2025-55190 Argo CD: Project API Token Exposes Repository Credentials
- CVE-2022-29165 Argo CD will blindly trust JWT claims if anonymous access is enabled
- CVE-2023-40029 Cluster secret might leak in cluster details page in Argo CD
- CVE-2022-24768 Improper access control allows admin privilege escalation in Argo CD
- CVE-2024-21652 Argo CD vulnerable to Bypassing of Brute Force Protection via Application Crash and In-Memory Data Loss
Sources
Also known as BIT-argo-cd-2023-25163, GHSA-mv6w-j4xc-qpfw, GO-2023-1548.