Skip to main content

Argo Workflows CVE-2026-42295

HIGH
Insufficiently Protected Credentials (CWE-522)
2026-05-04 https://github.com/argoproj/argo-workflows GHSA-7vf8-2cr6-54mf
8.5
CVSS 4.0 · Vendor: https://github.com/argoproj/argo-workflows
View

Attack ChainAIDerived

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

  1. Access
    Obtain K8s pod log read permissions
  2. Delivery
    Submit workflow with artifact output
  3. Exploit
    Retrieve pod logs via kubectl
  4. Execution
    Extract plaintext credentials from log output
  5. Persist
    Access artifact storage backend directly
  6. Impact
    Exfiltrate or modify stored artifacts

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V6 - Authentication Credential protection in transit/storage
Exploitation Conditions

Requires Kubernetes RBAC permissions to read pod logs in the namespace where Argo Workflows executes (specifically verbs: get or list on resource: pods/log). Exploitation occurs when workflows define output artifacts with external storage backends (S3, GCS, OSS, Azure, Git) using credential references via accessKeySecret, secretKeySecret, or serviceAccountKey fields. Only workflows that perform artifact operations trigger credential logging - workflows without artifact inputs/outputs do not expose credentials. Attack is limited to users with legitimate cluster access, making this primarily an insider threat or lateral movement scenario post-initial compromise. The vulnerability does NOT affect deployments using IRSA (IAM Roles for Service Accounts), Workload Identity, or other IAM-based authentication for artifact storage, as these methods do not require static credentials in workflow definitions. Exploitation is further constrained to environments where pod logs are retained and accessible - clusters with aggressive log rotation or no log retention have reduced exposure windows.

Impact

Real-world risk is elevated for multi-tenant Kubernetes environments where workflow users have pod log read access. CVSS 8.5 High with vector AV:N/AC:L/PR:H indicates network-exploitable attack requiring high privileges (Kubernetes RBAC log read permissions). However, the PR:H requirement creates a significant barrier - attackers need legitimate cluster access first, making this primarily an insider threat or lateral movement scenario rather than initial access vector. EPSS data not available, but exploitation probability is high in misconfigured clusters where developers have broad namespace log access. No CISA KEV listing indicates targeted rather than widespread exploitation. SSVC decision factors: exploitation status is POC-public (working YAML provided), automatable (yes, via kubectl logs commands in CI/CD pipelines), technical impact is total compromise of artifact storage credentials enabling data exfiltration from S3/GCS/Azure backends. This is a credential harvesting vulnerability rather than direct workflow compromise. Primary concern: credentials persist in log aggregation systems (Splunk, ELK, CloudWatch) long after remediation, requiring log purging. The 'incomplete fix of CVE-2025-62157' statement suggests this is a regression, indicating testing gaps in the original remediation.

Exploit ScenarioDerived

An authenticated Kubernetes user with pod log read permissions in the Argo workflow namespace creates a workflow with artifact outputs configured to use S3 storage with credential secrets. After the workflow executes, the attacker runs kubectl logs against the workflow pod's wait container, retrieving plaintext S3 access and secret keys from structured log output. Using the harvested credentials, the attacker accesses the S3 bucket directly outside the Kubernetes cluster to exfiltrate workflow artifacts, inject malicious artifacts for supply chain attacks, or delete production data. In multi-tenant environments, a malicious tenant can harvest credentials from workflows belonging to other tenants sharing the namespace, enabling cross-tenant data access. Proof-of-concept YAML template is publicly available in the GitHub advisory, making exploitation trivial for actors with requisite Kubernetes access.

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 – May 09, 2026

Argo Workflows executor logs artifact repository credentials in plaintext to pod logs during artifact operations, exposing S3 access/secret keys, GCS service account keys, Azure storage keys, and Git passwords. Users with Kubernetes RBAC permissions to read pod logs in the workflow namespace can extract these credentials directly from workflow execution logs. This vulnerability affects Argo Workflows v4.0.0 through v4.0.4 and represents an incomplete fix of CVE-2025-62157. Vendor-released patch (v4.0.5) is available with GitHub commit bdd40908 removing credential-bearing struct logging. No public exploit identified at time of analysis, though exploitation is trivial given the included working proof-of-concept YAML.

Earlier versions of this analysis (1)
v1 May 04, 2026 - 21:02

Argo Workflows executor logs artifact repository credentials in plaintext during artifact operations, exposing S3 access keys, GCS service account keys, Azure account keys, and Git passwords to any user with Kubernetes RBAC permissions to read workflow pod logs. Vendor-released patch available in version 4.0.5. This represents an incomplete fix of CVE-2025-62157, with the logging driver still passing the entire ArtifactDriver struct (containing secrets) to structured loggers. GitHub security advisory GHSA-7vf8-2cr6-54mf includes proof-of-concept showing credentials visible via kubectl logs command. No public exploit identified at time of analysis beyond the vendor-provided PoC.

RemediationAI

Upgrade to Argo Workflows v4.0.5 or later, released at https://github.com/argoproj/argo-workflows/releases/tag/v4.0.5, which implements the complete fix via commit bdd40908580f727c590c8743836e338b04fe4a87. The patch removes credential-bearing struct logging from workflow/artifacts/logging/driver.go, replacing log.WithField calls containing ArtifactDriver structs with generic informational messages. After upgrading, rotate all artifact repository credentials that may have been exposed in logs, including S3 access keys, GCS service account keys, Azure storage account keys, and Git tokens referenced in workflow templates. Purge historical pod logs from aggregation systems (Splunk, ELK, CloudWatch, Loki) covering the exposure period to prevent retroactive credential harvesting. For environments unable to immediately upgrade, implement a compensating control by restricting Kubernetes RBAC pod log read permissions (verbs: get, list on resource: pods/log) to only essential service accounts and administrators. This mitigation reduces attack surface but does not eliminate credential exposure in logs - service accounts and cluster admins with log access can still extract credentials. Additionally, configure log rotation with short retention periods (24-48 hours) and disable centralized log shipping for the argo namespace until patching is complete. Note these workarounds significantly impact debugging capabilities and should only be temporary measures.

Affected Packages

go github.com/argoproj/argo-workflows no fix
go github.com/argoproj/argo-workflows/v2 no fix
go github.com/argoproj/argo-workflows/v3 no fix
go github.com/argoproj/argo-workflows/v4 fix: 4.0.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 4 packages in go

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

Technical ContextAI · show details

The vulnerability exists in Argo Workflows' artifact logging driver (workflow/artifacts/logging/driver.go), a Kubernetes-native workflow orchestration engine written in Go. The logging infrastructure passes entire ArtifactDriver structs to structured loggers using log.WithField("driver", d.ArtifactDriver), which serializes all struct fields including sensitive credential material. Affected artifact drivers include S3 (AccessKey, SecretKey, SessionToken, ServerSideCustomerKey), Alibaba OSS (AccessKey, SecretKey, SecurityToken), and Google Cloud Storage (ServiceAccountKey). This falls under CWE-522 (Insufficiently Protected Credentials), where secrets are exposed through unintended channels. The fix removes credential-bearing struct logging and switches to generic informational messages, demonstrating that credentials were never functionally necessary in log output. The underlying issue is a common Go logging anti-pattern where developers log entire structs without implementing custom masking methods or using struct tags to exclude sensitive fields. Kubernetes RBAC model exacerbates this because pod log access is a common debugging permission that inadvertently grants credential access when logs contain secrets.

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

Vendor (https://github.com/argoproj/argo-workflows) PRIMARY 8.5 HIGH
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
SUSE MEDIUM
Red Hat 5.5 MEDIUM

Primary rating from Vendor (https://github.com/argoproj/argo-workflows).

CVSS VectorVendor: https://github.com/argoproj/argo-workflows

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Analysis Updated
May 09, 2026 - 04:28 vuln.today
v2 - CVSS changed
CVSS changed
May 09, 2026 - 04:22 NVD
8.5 (HIGH)

DescriptionCVE.org

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
yml
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 <img width="1248" height="322" alt="image" src="https://github.com/user-attachments/assets/a5cf6d66-7d67-408d-8583-27d11ecf1507" />

Impact

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

Executive ViewAI

Why It Matters

Argo Workflows versions 4.0.0-4.0.4 inadvertently log cloud storage and Git credentials in plaintext to Kubernetes pod logs, allowing any user with pod log read access to extract active AWS S3 keys, GCS service accounts, Azure storage credentials, and Git passwords. Organizations running affected Argo versions face immediate credential compromise risk across their entire artifact storage infrastructure, potentially enabling lateral movement and data exfiltration.

Business Impact: High
Compensating Controls

Vendor-released patch: Argo Workflows v4.0.5 (GitHub commit bdd40908). If immediate upgrade is not feasible, restrict Kubernetes RBAC pod log read permissions (pods/log) in workflow namespaces to only essential admin accounts; scan historical pod logs for plaintext credential patterns matching S3, GCS, Azure, and Git formats; implement network egress controls to limit lateral movement from compromised credentials pending patch deployment.

Threat Intelligence Overview

EPSS Score
0.0%
Top 89% exploitable
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

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

pkg:go/github.com_argoproj_argo-workflows_v4
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: Moderate
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