# CVE-2026-42295: Argo Workflows: Exposure of artifact repository credentials

> Attackers with log access can extract plaintext artifact repository credentials from Argo Workflows executor logs, compromising cloud storage and Git access.

- **Severity:** High 8.5 (`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`)
- **Exploited in the wild:** Not known
- **Login needed:** An administrator
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 9 May 2026
- **Updated:** 11 May 2026
- **Also known as:** BIT-argo-workflows-2026-42295, GHSA-7vf8-2cr6-54mf, GO-2026-5235, MINI-2w2r-925g-72cr, MINI-56p6-g54v-rqqx, MINI-5828-xmpj-9jw9, MINI-583j-fc7p-xpvq, MINI-8437-qhq2-fj86, MINI-9q95-vq2w-x378, MINI-hx8x-fmj8-p594, MINI-jmhh-45jq-rvm4, MINI-rqpw-cc7j-97w5, MINI-v247-6fv7-hmq6, MINI-vvcp-j5w6-q6vj, MINI-xm69-wh9p-2382

## What is CVE-2026-42295?

CVE-2026-42295 is a high-severity vulnerability in argoproj argo-workflows, published on 9 May 2026. An attacker needs administrator access to exploit it, with no action from the victim.

### Official description

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.

Weakness: CWE-522 (Insufficiently Protected Credentials)

## Which versions are affected by CVE-2026-42295?

7 open source packages ship an affected version, including github.com/argoproj/argo-workflows/v4, argo-workflows and github.com/argoproj/argo-workflows. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `github.com/argoproj/argo-workflows/v4` | Go | From 4.0.0 | 4.0.5 |
| `github.com/argoproj/argo-workflows/v4` | Go | From 4.0.0 | 4.0.5 |
| `github.com/argoproj/argo-workflows/v4` | Go | From 4.0.0 | 4.0.5 |
| `argo-workflows` | Bitnami | From 4.0.0 | 4.0.5 |
| `github.com/argoproj/argo-workflows` | Go | All versions | None |
| `github.com/argoproj/argo-workflows/v2` | Go | All versions | None |
| `github.com/argoproj/argo-workflows/v3` | Go | All versions | None |

Products: Argoproj Argo Workflows.

## How do I fix CVE-2026-42295?

Upgrade github.com/argoproj/argo-workflows/v4 to 4.0.5 or later.

## Is CVE-2026-42295 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42295 exists.

## Other vulnerabilities in argoproj argo-workflows

- [CVE-2026-28229](https://insights.sbomify.com/CVE-2026-28229/): Argo Workflows has unauthorized access to Argo Workflows Template (critical 9.8)
- [CVE-2026-54526](https://insights.sbomify.com/CVE-2026-54526/): Argo Workflows: Incomplete fix for CVE-2026-31892: ArtifactGC.PodSpecPatch bypass of Strict/Secure templateReferencing (high 8.9)
- [CVE-2026-31892](https://insights.sbomify.com/CVE-2026-31892/): WorkflowTemplate Security Bypass via podSpecPatch in Strict/Secure Reference Mode (high 8.9)
- [CVE-2026-42297](https://insights.sbomify.com/CVE-2026-42297/): Argo Workflows Is Missing Authorization in Sync ConfigMap Provider (high 8.5)
- [CVE-2025-62157](https://insights.sbomify.com/CVE-2025-62157/): Argo Workflows exposes artifact repository credentials in workflow-controller logs (high 8.5)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-42295 and fix it if it is affected.

What it is: CVE-2026-42295 is a high-severity vulnerability in argoproj argo-workflows, published on 9 May 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42295 exists.

Affected packages and fixed versions:
- github.com/argoproj/argo-workflows/v4 (Go): affected from 4.0.0; fixed in 4.0.5
- github.com/argoproj/argo-workflows/v4 (Go): affected from 4.0.0; fixed in 4.0.5
- github.com/argoproj/argo-workflows/v4 (Go): affected from 4.0.0; fixed in 4.0.5
- argo-workflows (Bitnami): affected from 4.0.0; fixed in 4.0.5
- github.com/argoproj/argo-workflows (Go): affected all versions; no fix listed
- github.com/argoproj/argo-workflows/v2 (Go): affected all versions; no fix listed
- github.com/argoproj/argo-workflows/v3 (Go): affected all versions; no fix listed

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-42295/ (Markdown: https://insights.sbomify.com/CVE-2026-42295/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-42295
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-42295
- OSV: https://osv.dev/vulnerability/CVE-2026-42295

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-42295/
Summaries are generated and may contain mistakes; the official description above is the record.
