GHSA-7vf8-2cr6-54mf

Suggest an improvement
Source
https://github.com/advisories/GHSA-7vf8-2cr6-54mf
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-7vf8-2cr6-54mf/GHSA-7vf8-2cr6-54mf.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7vf8-2cr6-54mf
Aliases
Downstream
Published
2026-05-04T20:12:01Z
Modified
2026-09-10T03:50:46Z
Severity
  • 8.5 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Argo vulnerable to exposure of artifact repository credentials
Details

Summary

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.

Note: This is an incomplete fix of CVE-2025-62157

Details

The logging driver passes the entire ArtifactDriver struct to the structured logger, for example: https://github.com/argoproj/argo-workflows/blob/59f1089b9875723ddffd524513e6bd5cb37e5e31/workflow/artifacts/logging/driver.go#L24

Exposed credential fields:

  • S3 (workflow/artifacts/s3/s3.go): AccessKey, SecretKey, SessionToken, ServerSideCustomerKey
  • OSS (workflow/artifacts/oss/oss.go): AccessKey, SecretKey, SecurityToken
  • GCS (workflow/artifacts/gcs/gcs.go): ServiceAccountKey

PoC

  1. Create template
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  name: cred-leak-test
  namespace: argo
spec:
  entrypoint: main
  templates:
  - name: main
    container:
      image: alpine:3.13
      command: [sh, -c]
      args: ["echo 'hello' > /tmp/output.txt"]
    outputs:
      artifacts:
      - name: output
        path: /tmp/output.txt
        s3:
          endpoint: minio:9000
          insecure: true
          bucket: my-bucket
          key: test-output.txt
          accessKeySecret:
            name: my-minio-cred
            key: accesskey
          secretKeySecret:
            name: my-minio-cred
            key: secretkey
  1. Then check the logs kubectl -n argo logs "cred-leak-test" -c wait image

Impact

Any user with Kubernetes RBAC permissions to read pod logs in the workflow namespace can extract artifact repository credentials.

Database specific
{
    "cwe_ids": [
        "CWE-522"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-05-04T20:12:01Z",
    "nvd_published_at": "2026-05-09T04:16:25Z",
    "severity": "HIGH"
}
References

Affected packages

Go / github.com/argoproj/argo-workflows/v4

Package

Name
github.com/argoproj/argo-workflows/v4
View open source insights on deps.dev
Purl
pkg:golang/github.com/argoproj/argo-workflows/v4

Affected ranges

Type
SEMVER
Events
Introduced
4.0.0
Fixed
4.0.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-7vf8-2cr6-54mf/GHSA-7vf8-2cr6-54mf.json"