# CVE-2026-31892: WorkflowTemplate Security Bypass via podSpecPatch in Strict/Secure Reference Mode

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.9
- **CVSS:** 8.9 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: Low; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: High; Integrity impact on other systems: High; Availability impact on other systems: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.76% (percentile 52, 2026-11-28)
- **CWE:** CWE-863
- **Aliases:** BIT-argo-workflows-2026-31892, GHSA-3wf5-g532-rcrr, GO-2026-4681
- **Published:** 2026-03-11T15:41:14.376Z
- **Modified:** 2026-09-10T03:50:36.947Z

## Who should check

- Projects that depend on Go package github.com/argoproj/argo-workflows/v4 (\< 4.0.2)
- Projects that depend on Go package github.com/argoproj/argo-workflows/v3 (\< 3.7.11)
- Projects that depend on Go package github.com/argoproj/argo-workflows (\>= 2.9.0)
- Projects that depend on Go package github.com/argoproj/argo-workflows/v2 (\>= 2.9.0)
- Anyone running argoproj argo-workflows \>= 4.0.0, \< 4.0.2; \>= 2.9.0, \< 3.7.11

## Description

Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. From 2.9.0 to before 4.0.2 and 3.7.11, A user who can submit Workflows can completely bypass all security settings defined in a WorkflowTemplate by including a podSpecPatch field in their Workflow submission. This works even when the controller is configured with templateReferencing: Strict, which is specifically documented as a mechanism to restrict users to admin-approved templates. The podSpecPatch field on a submitted Workflow takes precedence over the referenced WorkflowTemplate during spec merging and is applied directly to the pod spec at creation time with no security validation. This vulnerability is fixed in 4.0.2 and 3.7.11.

## Affected and fixed versions

- Go `github.com/argoproj/argo-workflows/v4`: affected \< 4.0.2; fixed 4.0.2 (osv)
- Go `github.com/argoproj/argo-workflows/v3`: affected \< 3.7.11; fixed 3.7.11 (osv)
- Go `github.com/argoproj/argo-workflows`: affected \>= 2.9.0; fixed no fix listed yet (osv)
- Go `github.com/argoproj/argo-workflows/v2`: affected \>= 2.9.0; fixed no fix listed yet (osv)
- argoproj argo-workflows: \>= 4.0.0, \< 4.0.2; \>= 2.9.0, \< 3.7.11 (cvelist)

## Mitigation

- Upgrade github.com/argoproj/argo-workflows/v4 to 4.0.2 or later.
- Upgrade github.com/argoproj/argo-workflows/v3 to 3.7.11 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-31892. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-31892.md
Affected: github.com/argoproj/argo-workflows/v4 < 4.0.2; github.com/argoproj/argo-workflows/v3 < 3.7.11; github.com/argoproj/argo-workflows >= 2.9.0; github.com/argoproj/argo-workflows/v2 >= 2.9.0
Fixed in: 4.0.2, 3.7.11

Steps:
1. Search this machine and project for github.com/argoproj/argo-workflows/v4 (Go), github.com/argoproj/argo-workflows/v3 (Go), github.com/argoproj/argo-workflows (Go), github.com/argoproj/argo-workflows/v2 (Go), argoproj argo-workflows: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-31892 being exploited?

There is no confirmed exploitation: CVE-2026-31892 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.76% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-31892?

High: CVSS 8.9 (v4.0, scored by CNA). Remote, login needed.

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

github.com/argoproj/argo-workflows/v4 \< 4.0.2; github.com/argoproj/argo-workflows/v3 \< 3.7.11; github.com/argoproj/argo-workflows \>= 2.9.0; github.com/argoproj/argo-workflows/v2 \>= 2.9.0.

### Is there a fix for CVE-2026-31892?

Yes. Fixed in 4.0.2, 3.7.11. Upgrade github.com/argoproj/argo-workflows/v4 to 4.0.2 or later. Upgrade github.com/argoproj/argo-workflows/v3 to 3.7.11 or later.

### How do I check if I'm affected by CVE-2026-31892?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/argoproj/argo-workflows/security/advisories/GHSA-3wf5-g532-rcrr>
- vendor: <https://access.redhat.com/errata/RHSA-2026:10184>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-31892>
- other: <https://access.redhat.com/security/cve/CVE-2026-31892>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2446551>
- other: <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31892.json>
- other: <https://github.com/argoproj/argo-workflows>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-31892>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-3wf5-g532-rcrr> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-4681> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-31892> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-31892>
