Argo CD, the leading GitOps continuous delivery tool for Kubernetes, has issued a high-priority patch for a critical vulnerability that allows read-only users to extract plaintext secrets from the heart of a cluster. Tracked as CVE-2026-42880 with a CVSS score of 9.6, the flaw exposes sensitive dataβincluding API keys, database credentials, and TLS certificatesβthat are normally shielded from view.
The vulnerability targets a specific gap in how Argo CD handles “Server-Side Diffs,” a feature used to compare a developer’s desired state with what is actually running in the live Kubernetes environment.
In most Argo CD operations, a safeguard called hideSecretData() is used to ensure that Kubernetes Secret values are masked before they reach the user interface or API. However, researchers discovered that the ServerSideDiff endpoint was completely overlooked.
When a user requests a diff, the system constructs a response using the “raw, unmasked” states of the resources. While Argo CD has a secondary defense layer designed to strip sensitive fields from these dry-run responses, this defense is entirely skipped if a specific application annotation is present:Β argocd.argoproj.io/compare-options: IncludeMutationWebhook=true.
When this annotation is set to true, the security logic that normally merges masked data is bypassed, allowing raw values read directly from the Kubernetes etcd database to flow into the API response in plaintext.
Because every authenticated Argo CD user typically has “get” access via default policies, even a low-privileged user can trigger the vulnerable endpoint. For the extraction to succeed, the Secret data must be “owned” by at least one manager other than Argo CDβsuch as the standard kube-controller-manager. If this condition is met, the real values survive the dry-run process and are delivered directly to the attacker’s screen.
The Impact includes the theft of:
- Service Account Tokens: Potentially allowing for lateral movement within the cluster.
- TLS Certificates: Enabling Man-in-the-Middle (MitM) attacks.
- API Keys and Database Credentials: Compromising external services and sensitive data storage.
The Argo CD team has released versions 3.3.9 and 3.2.11 to address this authorization and data-masking gap. Organizations utilizing GitOps workflows are urged to upgrade immediately.
Support Our Threat Intelligence
If you find our CVE report and cybersecurity news helpful, consider supporting our work.