2.3low
Argo Workflows: SSO RBAC Delegation Nil Pointer Dereference DoS (gatekeeper.go)
- Severity
- 2.3low CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.38% (higher than 33% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-p4gq-3vxj-f4jqBIT-ARGO-WORKFLOWS-2026-42183GO-2026-5527
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, a nil pointer dereference in server/auth/gatekeeper.go rbacAuthorization() causes a panic (denial of service) for SSO users whose claims match a namespace-level RBAC rule but not an SSO-namespace rule, when SSO_DELEGATE_RBAC_TO_NAMESPACE=true. This issue has been patched in version 4.0.5.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| argoproj argo-workflows | >= 4.0.0, < 4.0.5 | CVE List |
| github.com/argoproj/argo-workflows/v4 (Go) | from 4.0.0 before 4.0.5 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/argoproj/argo-workflows (Go) | all versions | Go Vulnerability Database |
| github.com/argoproj/argo-workflows/v2 (Go) | all versions | Go Vulnerability Database |
| github.com/argoproj/argo-workflows/v3 (Go) | all versions | Go Vulnerability Database |
| argoproj argo_workflows | from 4.0.0 before 4.0.5 | NVD |
| argo-workflows (Bitnami) | from 4.0.0 before 4.0.5 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 2.3low CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| GitHub | low CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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, a nil pointer dereference in server/auth/gatekeeper.go rbacAuthorization() causes a panic (denial of service) for SSO users whose claims match a namespace-level RBAC rule but not an SSO-namespace rule, when SSO_DELEGATE_RBAC_TO_NAMESPACE=true. This issue has been patched in version 4.0.5.
GitHub Advisory Database
Summary
A nil pointer dereference in server/auth/gatekeeper.go rbacAuthorization() causes a panic (denial of service) for SSO users whose claims match a namespace-level RBAC rule but not an SSO-namespace rule, when SSO_DELEGATE_RBAC_TO_NAMESPACE=true.
Details
When getServiceAccount(claims, ssoNamespace) returns nil (no matching rule), the error is suppressed and loginAccount remains nil. If RBAC delegation finds a matching namespaceAccount, line 304 calls precedence(loginAccount) which unconditionally accesses serviceAccount.Annotations — nil pointer dereference.
Affected code (v4.0.4):
// gatekeeper.go:304
} else if precedence(namespaceAccount) > precedence(loginAccount) {
// loginAccount is nil here -> precedence(nil) -> PANIC
// gatekeeper.go:232-234
func precedence(serviceAccount *corev1.ServiceAccount) int {
i, _ := strconv.Atoi(serviceAccount.Annotations[common.AnnotationKeyRBACRulePrecedence])
return i
}
PoC
Live-tested 2026-04-17: kind cluster, Argo Workflows v4.0.4, Dex v2.43.1 OIDC provider.
- Deploy Argo Workflows with
--auth-mode=sso --auth-mode=client, SSO pointing to Dex, RBAC enabled. - Set
SSO_DELEGATE_RBAC_TO_NAMESPACE=trueon the argo-server deployment. - Create an RBAC ServiceAccount with
workflows.argoproj.io/rbac-rule: "true"annotation in a target namespace (e.g.,target-ns). - Do not create a matching RBAC rule in the SSO namespace (
argo). - Authenticate via the Dex SSO flow.
- Request
GET /api/v1/workflows/target-nswith the SSO session cookie. - Server returns HTTP 500:
{"code":13,"message":"runtime error: invalid memory address or nil pointer dereference"} - Server logs:
Recovered from panicwith stack trace atgatekeeper.go:233(precedence()) called fromgatekeeper.go:304.
Every subsequent API request from affected SSO users triggers the same panic.
Impact
Permanent denial of service for any SSO user whose claims don't match SSO-namespace RBAC but do match a target namespace rule. Realistic in multi-tenant deployments with per-namespace RBAC. The gRPC recovery interceptor catches the panic so the server process survives, but the affected user gets HTTP 500 on every request.
Suggested Fix
Add nil check: if loginAccount == nil || precedence(namespaceAccount) > precedence(loginAccount)
AI Disclosure
This advisory was prepared with AI assistance (Claude Code, Anthropic).
Go Vulnerability Database
Argo Affected by SSO RBAC Delegation Nil Pointer Dereference DoS (gatekeeper.go) in github.com/argoproj/argo-workflows
NVD (es)
Argo Workflows es un motor de flujo de trabajo de código abierto nativo de contenedores para orquestar trabajos paralelos en Kubernetes. Desde la versión 4.0.0 hasta antes de la versión 4.0.5, una desreferencia de puntero nulo en server/auth/gatekeeper.go rbacAuthorization() causa un pánico (denegación de servicio) para usuarios de SSO cuyas reclamaciones coinciden con una regla RBAC a nivel de espacio de nombres pero no con una regla de espacio de nombres de SSO, cuando SSO_DELEGATE_RBAC_TO_NAMESPACE=true. Este problema ha sido parcheado en la versión 4.0.5.
References
| https://github.com/argoproj/argo-workflows/security/advisories/GHSA-p4gq-3vxj-f4jq | advisory, exploit, vendor-advisory, web | |
| https://github.com/argoproj/argo-workflows/commit/c4cc17d0c034fa9a9cc01ef1af6c8016c93071d4 | fix, patch, web | |
| https://github.com/argoproj/argo-workflows/releases/tag/v4.0.5 | article, release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-42183 | advisory, web | |
| https://github.com/argoproj/argo-workflows | package | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-42183 changed 2026-05-13 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-p4gq-3vxj-f4jq changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-5527 changed 2026-07-02 | CC-BY-4.0 |
| NVD | CVE-2026-42183 changed 2026-07-24 | Public domain |
| Bitnami Vulnerability Database | BIT-ARGO-WORKFLOWS-2026-42183 changed 2026-09-10 | Apache-2.0 |