{"id":"CVE-2026-42295","aliases":["CVE-2026-42295","GHSA-7vf8-2cr6-54mf","BIT-ARGO-WORKFLOWS-2026-42295","GO-2026-5235"],"related":["CGA-7759-68fr-82cg"],"kind":"vulnerability","state":"published","title":"Argo Workflows: Exposure of artifact repository credentials","summary":"Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. From version 4.0.0 to before version 4.0.5, the workflow executor logs all artifact repository credentials (S3 access keys, secret keys, GCS service account keys, Azure account keys, Git passwords, etc.) in plaintext on artifact operation. Any user with read access to workflow pod logs can extract these credentials. This issue has been patched in version 4.0.5.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. From version 4.0.0 to before version 4.0.5, the workflow executor logs all artifact repository credentials (S3 access keys, secret keys, GCS service account keys, Azure account keys, Git passwords, etc.) in plaintext on artifact operation. Any user with read access to workflow pod logs can extract these credentials. This issue has been patched in version 4.0.5.","source":"cvelist"},{"lang":"en","text":"### Summary\nThe workflow executor logs all artifact repository credentials (S3 access keys, secret keys, GCS service account keys, Azure account keys, Git passwords, etc.) in plaintext on artifact operation. Any user with read access to workflow pod logs can extract these credentials.\n\n**Note:** This is an incomplete fix of [CVE-2025-62157](https://github.com/argoproj/argo-workflows/security/advisories/GHSA-c2hv-4pfj-mm2r)\n### Details\nThe logging driver passes the entire ArtifactDriver struct to the structured logger, for example:\nhttps://github.com/argoproj/argo-workflows/blob/59f1089b9875723ddffd524513e6bd5cb37e5e31/workflow/artifacts/logging/driver.go#L24\n\nExposed credential fields:\n- S3 (workflow/artifacts/s3/s3.go): AccessKey, SecretKey, SessionToken, ServerSideCustomerKey\n- OSS (workflow/artifacts/oss/oss.go): AccessKey, SecretKey, SecurityToken\n- GCS (workflow/artifacts/gcs/gcs.go): ServiceAccountKey\n\n### PoC\n1. Create template\n```yml\napiVersion: argoproj.io/v1alpha1\nkind: Workflow\nmetadata:\n  name: cred-leak-test\n  namespace: argo\nspec:\n  entrypoint: main\n  templates:\n  - name: main\n    container:\n      image: alpine:3.13\n      command: [sh, -c]\n      args: [\"echo 'hello' > /tmp/output.txt\"]\n    outputs:\n      artifacts:\n      - name: output\n        path: /tmp/output.txt\n        s3:\n          endpoint: minio:9000\n          insecure: true\n          bucket: my-bucket\n          key: test-output.txt\n          accessKeySecret:\n            name: my-minio-cred\n            key: accesskey\n          secretKeySecret:\n            name: my-minio-cred\n            key: secretkey\n```\n\n2. Then check the logs\n`kubectl -n argo logs \"cred-leak-test\" -c wait`\n<img width=\"1248\" height=\"322\" alt=\"image\" src=\"https://github.com/user-attachments/assets/a5cf6d66-7d67-408d-8583-27d11ecf1507\" />\n\n\n### Impact\nAny user with Kubernetes RBAC permissions to read pod logs in the workflow namespace can extract artifact repository credentials.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Argo vulnerable to exposure of artifact repository credentials 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. Desde la versión 4.0.0 hasta antes de la versión 4.0.5, el ejecutor del flujo de trabajo registra todas las credenciales del repositorio de artefactos (claves de acceso de S3, claves secretas, claves de cuenta de servicio de GCS, claves de cuenta de Azure, contraseñas de Git, etc.) en texto plano en la operación de artefactos. Cualquier usuario con acceso de lectura a los registros de los pods del flujo de trabajo puede extraer estas credenciales. Este problema ha sido parcheado en la versión 4.0.5.","source":"nvd"}],"published":"2026-05-04T20:12:01.000Z","modified":"2026-09-10T03:50:46.312Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":8.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":8.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","score":4.9,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-522"],"affected":[{"ranges":[{"version":">= 4.0.0, < 4.0.5","status":"affected"}],"vendor":"argoproj","product":"argo-workflows","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"4.0.0","status":"affected","fixed":"4.0.5"}],"ecosystem":"Go","package":"github.com/argoproj/argo-workflows/v4","purl":"pkg:golang/github.com/argoproj/argo-workflows/v4","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"}],"ecosystem":"Go","package":"github.com/argoproj/argo-workflows/v3","purl":"pkg:golang/github.com/argoproj/argo-workflows/v3","source":"go"},{"ranges":[{"type":"semver","introduced":"4.0.0","status":"affected","fixed":"4.0.5"}],"ecosystem":"Go","package":"github.com/argoproj/argo-workflows/v4","purl":"pkg:golang/github.com/argoproj/argo-workflows/v4","source":"go"},{"ranges":[{"status":"affected","introduced":"4.0.0","fixed":"4.0.5"}],"vendor":"argoproj","product":"argo_workflows","cpe":"cpe:2.3:a:argoproj:argo_workflows:*:*:*:*:*:go:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"4.0.0","status":"affected","fixed":"4.0.5"}],"ecosystem":"Bitnami","package":"argo-workflows","purl":"pkg:bitnami/argo-workflows","source":"bitnami"}],"references":[{"url":"https://github.com/argoproj/argo-workflows/security/advisories/GHSA-7vf8-2cr6-54mf","tags":["advisory","exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/argoproj/argo-workflows/releases/tag/v4.0.5","tags":["article","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/argoproj/argo-workflows/security/advisories/GHSA-c2hv-4pfj-mm2r","tags":["web"],"sources":["ghsa","go"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42295","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/argoproj/argo-workflows/commit/bdd40908580f727c590c8743836e338b04fe4a87","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/argoproj/argo-workflows","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/argoproj/argo-workflows/blob/59f1089b9875723ddffd524513e6bd5cb37e5e31/workflow/artifacts/logging/driver.go#L24","tags":["web"],"sources":["ghsa","go"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-05-11T14:46:35.547Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42295","url":"https://www.cve.org/CVERecord?id=CVE-2026-42295","licence":"CVE Terms of Use","modified":"2026-05-11T14:47:01.190Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7vf8-2cr6-54mf","url":"https://github.com/advisories/GHSA-7vf8-2cr6-54mf","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:46.312Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5235","url":"https://pkg.go.dev/vuln/GO-2026-5235","licence":"CC-BY-4.0","modified":"2026-07-02T14:44:22.829Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42295","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42295","licence":"Public domain","modified":"2026-07-24T21:10:00.143Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-ARGO-WORKFLOWS-2026-42295","url":"https://osv.dev/vulnerability/BIT-ARGO-WORKFLOWS-2026-42295","licence":"Apache-2.0","modified":"2026-09-08T08:45:35.524Z"}],"updatedAt":"2026-11-25T22:59:21.136Z","epss":{"score":0.00357,"percentile":0.31475,"date":"2026-12-01T12:00:22.000Z"}}