Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/argoproj/argo-workflows/v4
  4. ›
  5. CVE-2026-31892

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

March 11, 2026

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.

References

  • github.com/advisories/GHSA-3wf5-g532-rcrr
  • github.com/argoproj/argo-workflows
  • github.com/argoproj/argo-workflows/security/advisories/GHSA-3wf5-g532-rcrr
  • nvd.nist.gov/vuln/detail/CVE-2026-31892

Code Behaviors & Features

Detect and mitigate CVE-2026-31892 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.0.2

Fixed versions

  • 4.0.2

Solution

Upgrade to version 4.0.2 or above.

Impact 9.9 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

go/github.com/argoproj/argo-workflows/v4/CVE-2026-31892.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 12 Mar 2026 00:17:51 +0000.