Information Disclosure in argo-cd
Summary
vulnerability in argo-cd (CVE-2026-42880). Confidential information can be exposed externally.
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Argo CD has a security issue where certain versions lack the capability to safely mask Kubernetes Secret data, allowing attackers to retrieve sensitive information. This poses a risk similar to past incidents where IDs and passwords were leaked. It is crucial to update to the latest patched versions promptly.
Argo CD's ServerSideDiff endpoint (/application.ApplicationService/ServerSideDiff) lacks authorization and data masking, allowing attackers with read-only access to obtain plaintext Kubernetes Secret data from etcd via the Kubernetes API server's Server-Side Apply dry-run mechanism. This affects versions 3.2.0 to before 3.2.11 and 3.3.0 to before 3.3.9. The issue is fixed in versions 3.2.11 and 3.3.9. A workaround involves not setting the annotation argocd.argoproj.io/compare-options: IncludeMutationWebhook=true in Applications.
Argo CD's ServerSideDiff endpoint lacks authorization and data masking, allowing extraction of Kubernetes Secret data.
/application.ApplicationService/ServerSideDiff in Argo CD versions 3.2.0 to before 3.2.11 and 3.3.0 to before 3.3.9.
Critical severity enabling attackers to extract plaintext secrets via read-only access.
Upgrade to Argo CD version 3.2.11 or 3.3.9 to fix the issue.
Do not set argocd.argoproj.io/compare-options: IncludeMutationWebhook=true annotation.
Monitor API calls to the ServerSideDiff endpoint and check for unnecessary access requests.
Related past incidentsSimilar incidents extracted from past CVEs
Similar GitOps GitHub Actions vulnerability allowing sensitive data exposure.
Another Kubernetes Secret exposure vulnerability via misconfigured permissions.
If this happens at your companyExpected impact per business scenario
Potential leakage of Kubernetes Secret data leads to unauthorized access.
Confidential data leakage could compromise the deployment pipeline security.
Risk of exposing sensitive configuration or credentials stored in Secrets.
Companies should immediately patch Argo CD to the latest safe versions and audit system accesses to the affected endpoints.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
Audit SBOM/dependencies for affected components.依存マニフェストで影響コンポーネントを特定する。
-
7
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| gogithub.com/argoproj/argo-cd/v3 |
≥ 3.3.0, < 3.3.9→ 3.3.9 |
3.3.9 |
| Bitnamiargo-cd |
≥ 3.2.0, < 3.2.11→ 3.2.11 ≥ 3.3.0, < 3.3.9→ 3.3.9 |
3.2.11 3.3.9 |
Original description The description as published by the source.
Summary
There is a missing authorization and data-masking gap in Argo CD's ServerSideDiff endpoint that allows an attacker with read-only access to extract plaintext Kubernetes Secret data from etcd via the Kubernetes API server's Server-Side Apply dry-run mechanism.
Details
Argo CD masks Secret data in every endpoint that returns Kubernetes resource state except one. All the other endpoints such as GetManifests, GetManifestsWithFiles, GetResource and PatchResource utilize hideSecretData() to mask the returned secret value. The vulnerable function ServerSideDiff gRPC/REST endpoint (/application.ApplicationService/ServerSideDiff) constructs its response with raw, unmasked PredictedLive and NormalizedLive states:
// server/application/application.go:3051-3062
responseDiffs = append(responseDiffs, &v1alpha1.ResourceDiff{
TargetState: string(diffRes.PredictedLive),
LiveState: string(diffRes.NormalizedLive),
})
A user only requires RBAC to call this ServerSideDiff function. Every authenticated Argo CD user has get access via the default role:catch-all policy. However, Argo CD has a defense layer called removeWebhookMutation() that normally strips non-Argo CD-managed fields from the Server Side Apply (SSA) dry-run response and merges them with the client-provided (masked) live state. This prevents real Secret values from leaking through the diff. However, this defense is entirely skipped when the Application has the annotation argocd.argoproj.io…
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- exploit github.com
- package github.com
- web github.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web bugzilla.redhat.com
- web security.access.redhat.com