GHSA-274v-mgcv-cm8j
JSON

6.8medium

Argo CD GitOps Engine does not scrub secret values from patch errors

Severity
6.8medium CVSS:3.1 by GitHub
Published
Last changed
Also known as
GO-2025-3437

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

Affected

Product or packageVersionsReported by
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.2GitHub Advisory Database, Go Vulnerability Database

What each source says

GitHub Advisory Database
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

Go Vulnerability Database

Argo CD GitOps Engine does not scrub secret values from patch errors in github.com/argoproj/gitops-engine.

NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.

(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)

The additional affected modules and versions are: github.com/argoproj/gitops-engine before v0.7.1-0.20250129155113-4c6e03c463141.

References

Related

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-274v-mgcv-cm8j changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2025-3437 changed 2026-02-04CC-BY-4.0