# GHSA-274v-mgcv-cm8j: Argo CD GitOps Engine does not scrub secret values from patch errors

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-01-30T17:51:33.000Z
- Modified: 2026-09-10T03:50:56.312Z
- Also known as: GO-2025-3437
- Related: CGA-53c2-jpv3-xcmc

## Description

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

### Resources
Fixed with commit https://github.com/argoproj/argo-cd/commit/6f5537bdf15ddbaa0f27a1a678632ff0743e4107 & https://github.com/argoproj/gitops-engine/commit/7e21b91e9d0f64104c8a661f3f390c5e6d73ddca

(As written by GitHub Advisory Database.)

## Affected

- github.com/argoproj/gitops-engine (Go): from 0.7.2 up to 0.7.3; before 0.7.1-0.20250129155113-4c6e03c463141; from 0.7.2

## References

- <https://github.com/argoproj/argo-cd/security/advisories/GHSA-47g2-qmh2-749v> (web)
- <https://github.com/argoproj/gitops-engine/security/advisories/GHSA-274v-mgcv-cm8j> (advisory, web)
- <https://github.com/argoproj/argo-cd/commit/6f5537bdf15ddbaa0f27a1a678632ff0743e4107> (web)
- <https://github.com/argoproj/gitops-engine/commit/7e21b91e9d0f64104c8a661f3f390c5e6d73ddca> (fix, web)
- <https://github.com/argoproj/gitops-engine> (package)
- <https://pkg.go.dev/vuln/GO-2025-3437> (web)

## Sources

- GitHub Advisory Database: [GHSA-274v-mgcv-cm8j](https://github.com/advisories/GHSA-274v-mgcv-cm8j), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2025-3437](https://pkg.go.dev/vuln/GO-2025-3437), CC-BY-4.0, modified 2026-02-04

---

Page: https://cve.day/GHSA-274v-mgcv-cm8j · Whole record: https://cve.day/GHSA-274v-mgcv-cm8j.json · Rebuilt by cve.day 2026-11-25T22:56:23.959Z
