CVE-2025-23216: Github.com/argoproj/argo cd/v2 Argo CD Does Not Scrub Vulnerability
MODERATECVE-2025-23216 is a MODERATE (CVSS 6.8) argo cd does not scrub vulnerability (CWE-209: Generation of Error Message Containing Sensitive Information) affecting Github.com/argoproj/argo cd/v2 libraries in the Go ecosystem. The issue involves argo cd does not scrub secret values from patch errors. Remediation is available by upgrading affected packages to version 2.13.4, 2.12.10, 2.11.13.
CVE-2025-23216 at a Glance
Security Impact
CVSS: 6.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N).
How to Fix CVE-2025-23216
To remediate this vulnerability, upgrade all affected Github.com/argoproj/argo cd/v2 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/argoproj/argo-cd/v2 to 2.13.4
Upgrade github.com/argoproj/argo-cd/v2 to 2.12.10
Upgrade github.com/argoproj/argo-cd/v2 to 2.11.13
Upgrade github.com/argoproj/argo-cd to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/argoproj/argo-cd/v2
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-23216, inspect your project dependencies for Github.com/argoproj/argo cd/v2:
inspect dependencies for github.com/argoproj/argo-cd/v2
Analyze the terminal output to locate any version of Github.com/argoproj/argo cd/v2 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.13.4), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-209: Generation of Error Message Containing Sensitive Information, where the product generates an error message that includes sensitive information about its environment, users, or associated data. In Github.com/argoproj/argo cd/v2, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-23216 Affected Github.com/argoproj/argo cd/v2 Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/argoproj/argo-cd/v2
|
Go |
≥ 2.13.0
< 2.13.4
|
2.13.4
|
|
github.com/argoproj/argo-cd/v2
|
Go |
≥ 2.12.0
< 2.12.10
|
2.12.10
|
|
github.com/argoproj/argo-cd/v2
|
Go |
< 2.11.13
|
2.11.13
|
|
github.com/argoproj/argo-cd
|
Go |
≤ 1.8.7
|
|
References
Frequently Asked Questions
What is CVE-2025-23216?
Which Github.com/argoproj/argo cd/v2 versions are affected?
What version fixes CVE-2025-23216?
Is github.com/argoproj/argo-cd/v2 affected?
Is github.com/argoproj/argo-cd affected?
What is the CVSS score of CVE-2025-23216?
What CWE is associated with CVE-2025-23216?
How can I check Go dependencies for CVE-2025-23216?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-47g2-qmh2-749v",
"modified" : "2025-02-05T16:21:44Z",
"published" : "2025-01-30T17:52:45Z",
"aliases" : [ "CVE-2025-23216" ],
"summary" : "Argo CD does not scrub secret values from patch errors",
"details" : "### Impact\n\nA vulnerability was discovered in Argo CD that exposed secret values in error messages and the diff view when an invalid Kubernetes Secret resource was synced from a repository. \n\nThe vulnerability assumes the user has write access to the repository and can exploit it, either intentionally or unintentionally, by committing an invalid Secret to repository and triggering a Sync. Once exploited, any user with read access to Argo CD can view the exposed secret data.\n\n### Patches\nA patch for this vulnerability is available in the following Argo CD versions:\n- v2.13.4\n- v2.12.10\n- v2.11.13\n\n### Workarounds\nThere is no workaround other than upgrading.\n\n### References\nFixed with commit https://github.com/argoproj/argo-cd/commit/6f5537bdf15ddbaa0f27a1a678632ff0743e4107 & https://github.com/argoproj/gitops-engine/commit/7e21b91e9d0f64104c8a661f3f390c5e6d73ddca",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/argoproj/argo-cd/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.13.0"
}, {
"fixed" : "2.13.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/argoproj/argo-cd/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.12.0"
}, {
"fixed" : "2.12.10"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/argoproj/argo-cd/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.11.13"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/argoproj/argo-cd"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.8.7"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/argoproj/argo-cd/security/advisories/GHSA-47g2-qmh2-749v"
}, {
"type" : "WEB",
"url" : "https://github.com/argoproj/gitops-engine/security/advisories/GHSA-274v-mgcv-cm8j"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-23216"
}, {
"type" : "WEB",
"url" : "https://github.com/argoproj/argo-cd/commit/6f5537bdf15ddbaa0f27a1a678632ff0743e4107"
}, {
"type" : "WEB",
"url" : "https://github.com/argoproj/gitops-engine/commit/7e21b91e9d0f64104c8a661f3f390c5e6d73ddca"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/argoproj/argo-cd"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200", "CWE-209" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-01-30T17:52:45Z",
"nvd_published_at" : "2025-01-30T16:15:31Z"
}
}