CVE-2025-23216: Github.com/argoproj/argo cd/v2 Argo CD Does Not Scrub Vulnerability

MODERATE
Advisory Identifier: GHSA-47g2-qmh2-749v
CVSS 6.8
CWE-209 CWE-200
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2025-23216
GHSA Identifier GHSA-47g2-qmh2-749v
Severity MODERATE
CVSS v3.1 Base Score 6.8
CWE Classification CWE-209: Generation of Error Message Containing Sensitive Information
Affected Product Github.com/argoproj/argo cd/v2
Package Ecosystem Go
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required High (PR:H)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (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.

github.com/argoproj/argo-cd/v2 fixed: 2.13.4
Upgrade github.com/argoproj/argo-cd/v2 to 2.13.4
github.com/argoproj/argo-cd/v2 fixed: 2.12.10
Upgrade github.com/argoproj/argo-cd/v2 to 2.12.10
github.com/argoproj/argo-cd/v2 fixed: 2.11.13
Upgrade github.com/argoproj/argo-cd/v2 to 2.11.13
github.com/argoproj/argo-cd fixed: Latest secure release
Upgrade github.com/argoproj/argo-cd to Latest secure release
Verify Direct and Transitive Dependencies

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

### Impact A 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. The 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. ### Patches A patch for this vulnerability is available in the following Argo CD versions: - v2.13.4 - v2.12.10 - v2.11.13 ### Workarounds There is no workaround other than upgrading. ### References Fixed with commit https://github.com/argoproj/argo-cd/commit/6f5537bdf15ddbaa0f27a1a678632ff0743e4107 & https://github.com/argoproj/gitops-engine/commit/7e21b91e9d0f64104c8a661f3f390c5e6d73ddca

CVE-2025-23216 Affected Github.com/argoproj/argo cd/v2 Versions

4 component(s)
Fixed Versions:
2.13.42.12.102.11.13
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?
CVE-2025-23216 is a security vulnerability in Github.com/argoproj/argo cd/v2 involving Argo CD does not scrub secret values from patch errors under CWE-209: Generation of Error Message Containing Sensitive Information.
Which Github.com/argoproj/argo cd/v2 versions are affected?
Affected versions include releases prior to 2.13.4, 2.12.10, 2.11.13 across affected packages: github.com/argoproj/argo-cd/v2, github.com/argoproj/argo-cd.
What version fixes CVE-2025-23216?
Upgrading to 2.13.4, 2.12.10, 2.11.13 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/argoproj/argo-cd/v2 affected?
Yes, github.com/argoproj/argo-cd/v2 is affected in releases prior to 2.13.4, 2.12.10, 2.11.13. Upgrade your dependency to 2.13.4, 2.12.10, 2.11.13 or later.
Is github.com/argoproj/argo-cd affected?
Yes, github.com/argoproj/argo-cd is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2025-23216?
CVE-2025-23216 has a CVSS v3.1 base score of 6.8 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N.
What CWE is associated with CVE-2025-23216?
CVE-2025-23216 is classified under CWE-209: Generation of Error Message Containing Sensitive Information (The product generates an error message that includes sensitive information about its environment, users, or associated data.).
How can I check Go dependencies for CVE-2025-23216?
Run the dependency tree command: 'inspect dependencies for github.com/argoproj/argo-cd/v2'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}