---
id: CVE-2025-23216
aliases:
  - GHSA-47g2-qmh2-749v
  - BIT-argo-cd-2025-23216
  - GO-2025-3433
title: Argo CD does not scrub secret values from patch errors
summary: Argo CD does not scrub secret values from patch errors
severity: medium
cvss: 6.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N'
vendor: argoproj
product: github.com/argoproj/argo-cd/v2
ecosystem: go
affected:
  - 'github.com/argoproj/argo-cd/v2 >= 2.13.0, < 2.13.4'
  - 'github.com/argoproj/argo-cd/v2 >= 2.12.0, < 2.12.10'
  - github.com/argoproj/argo-cd/v2 < 2.11.13
  - github.com/argoproj/argo-cd <= 1.8.7
patched:
  - github.com/argoproj/argo-cd/v2 2.13.4
  - github.com/argoproj/argo-cd/v2 2.12.10
  - github.com/argoproj/argo-cd/v2 2.11.13
published: '2025-01-30'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:50:21.909242498Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-47g2-qmh2-749v'
references:
  - url: >-
      https://github.com/argoproj/argo-cd/security/advisories/GHSA-47g2-qmh2-749v
  - url: >-
      https://github.com/argoproj/gitops-engine/security/advisories/GHSA-274v-mgcv-cm8j
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-23216'
  - url: >-
      https://github.com/argoproj/argo-cd/commit/6f5537bdf15ddbaa0f27a1a678632ff0743e4107
  - url: >-
      https://github.com/argoproj/gitops-engine/commit/7e21b91e9d0f64104c8a661f3f390c5e6d73ddca
  - url: 'https://github.com/argoproj/argo-cd'
tags:
  - osv
  - go
epss: 0.00475
epssPercentile: 0.38376
ingestedAt: '2026-09-12T03:13:01.752Z'
---

## Overview

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

## Affected packages

- `github.com/argoproj/argo-cd/v2 >= 2.13.0, < 2.13.4`
- `github.com/argoproj/argo-cd/v2 >= 2.12.0, < 2.12.10`
- `github.com/argoproj/argo-cd/v2 < 2.11.13`
- `github.com/argoproj/argo-cd <= 1.8.7`

## Remediation

Upgrade to a patched release:

- `github.com/argoproj/argo-cd/v2 2.13.4`
- `github.com/argoproj/argo-cd/v2 2.12.10`
- `github.com/argoproj/argo-cd/v2 2.11.13`
