Loading advisory.
Loading advisory.
Argo Vulnerable to Unauthenticated Memory Exhaustion (DoS) in Webhook Interceptor
Severity: Medium Component: Webhook Interceptor (server/auth/webhook) Vulnerability Type: Denial of Service (DoS)
Published 2026-05-04 20:11 UTC · Modified 2026-07-21 15:00 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| github.com/argoproj/argo-workflows/v3 | Go | < 3.7.14 | 3.7.14 | go get github.com/argoproj/argo-workflows/v3@v3.7.14 |
| github.com/argoproj/argo-workflows/v4 | Go | >= 4.0.0, < 4.0.5 | 4.0.5 | go get github.com/argoproj/argo-workflows/v4@v4.0.5 |
| github.com/argoproj/argo-workflows | Go | all versions | No patch yet | No command until a fix exists. |
| github.com/argoproj/argo-workflows/v2 | Go | all versions | No patch yet | No command until a fix exists. |
Severity: Medium
Component: Webhook Interceptor (server/auth/webhook)
Vulnerability Type: Denial of Service (DoS)
The Webhook Interceptor loads the entire request body into memory before authenticating the request or verifying its signature. This occurs on the /api/v1/events/ endpoint, which is publicly accessible (albeit intended for webhooks). An attacker can send a request with an extremely large body (e.g., multiple gigabytes), causing the Argo Server to allocate excessive memory, potentially leading to an Out-Of-Memory (OOM) crash and denial of service.
In server/auth/webhook/interceptor.go:
func (i *WebhookInterceptor) addWebhookAuthorization(r *http.Request, kube kubernetes.Interface) error {
// ... basic checks ...
// Vulnerability: Reads entire body into memory unconditionally
buf, _ := io.ReadAll(r.Body)
defer func() { r.Body = io.NopCloser(bytes.NewBuffer(buf)) }()
// ... subsequent logic finds correct service account and secret ...
// ... verification happens later ...
}The io.ReadAll call happens before the signature verification loop.
Service Availability: An attacker can crash the Argo Server, disrupting workflow execution and API access for all users.
Target the webhook endpoint: POST /api/v1/events/some-namespace
Send a Content-Length: 1000000000 (1GB) header.
Stream 1GB of random data.
Monitor server memory usage. It will spike until 1GB is allocated or the process crashes.
Limit Body Size: Enforce a strict limit on webhook body size (e.g., 10MB) using http.MaxBytesReader.
Streaming Verification: If possible, verify the signature in a streaming fashion or use a temporary file for large payloads (though typically webhooks are small).
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.006 on 2026-11-24 to 0.007 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.006 | first score | v2026.06.15 |
| 2026-11-26 | 0.007 | 0.006 | v2026.06.15 |