CVE-2026-42294
JSON

8.2high

Argo Workflows: Unauthenticated Memory Exhaustion (DoS) in Webhook Interceptor

Severity
8.2high CVSS:4.0 by GitHub_M
Exploit likelihood
0.60% (higher than 50% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-jcc8-g2q4-9fxqBIT-ARGO-WORKFLOWS-2026-42294GO-2026-5462

Description

Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. Prior to versions 3.7.14 and 4.0.5, 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. This issue has been patched in versions 3.7.14 and 4.0.5.

Affected

Product or packageVersionsReported by
argoproj argo-workflows< 3.7.14, >= 4.0.0, < 4.0.5CVE List
rhoai/odh-data-science-pipelines-argo-argoexec-rhel9Not specifiedCVE List
rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel9Not specifiedCVE List
github.com/argoproj/argo-workflows/v3 (Go)before 3.7.14GitHub Advisory Database, Go Vulnerability Database
github.com/argoproj/argo-workflows/v4 (Go)from 4.0.0 before 4.0.5GitHub Advisory Database, Go Vulnerability Database
github.com/argoproj/argo-workflows (Go)all versionsGo Vulnerability Database
github.com/argoproj/argo-workflows/v2 (Go)all versionsGo Vulnerability Database
argoproj argo_workflowsbefore 3.7.14, from 4.0.0 before 4.0.5NVD
argo-workflows (Bitnami)before 3.7.14, from 4.0.0 before 4.0.5Bitnami Vulnerability Database

All scores

GitHub_M8.2high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
redhat-SADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-770

SSVC (CISA-ADP): exploitation poc, automatable yes, 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. Prior to versions 3.7.14 and 4.0.5, 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. This issue has been patched in versions 3.7.14 and 4.0.5.

GitHub Advisory Database

Severity: Medium Component: Webhook Interceptor (server/auth/webhook) Vulnerability Type: Denial of Service (DoS)

Description

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.

Vulnerable Code

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.

Impact

  • Service Availability: An attacker can crash the Argo Server, disrupting workflow execution and API access for all users.

PoC (Conceptual)

  1. Target the webhook endpoint: POST /api/v1/events/some-namespace
  2. Send a Content-Length: 1000000000 (1GB) header.
  3. Stream 1GB of random data.
  4. Monitor server memory usage. It will spike until 1GB is allocated or the process crashes.

Recommendation

  1. Limit Body Size: Enforce a strict limit on webhook body size (e.g., 10MB) using http.MaxBytesReader.
  2. Streaming Verification: If possible, verify the signature in a streaming fashion or use a temporary file for large payloads (though typically webhooks are small).
Go Vulnerability Database

Argo Vulnerable to Unauthenticated Memory Exhaustion (DoS) in Webhook Interceptor in github.com/argoproj/argo-workflows

NVD (es)

Argo Workflows es un motor de flujo de trabajo de código abierto nativo de contenedor para orquestar trabajos paralelos en Kubernetes. Antes de las versiones 3.7.14 y 4.0.5, el Interceptor de Webhook carga el cuerpo completo de la solicitud en la memoria antes de autenticar la solicitud o verificar su firma. Esto ocurre en el endpoint /API/v1/events/, que es públicamente accesible (aunque destinado a webhooks). Un atacante puede enviar una solicitud con un cuerpo extremadamente grande (p. ej., múltiples gigabytes), lo que hace que el Argo Servidor asigne memoria excesiva, lo que podría llevar a un fallo por falta de memoria (OOM) y denegación de servicio. Este problema ha sido parcheado en las versiones 3.7.14 y 4.0.5.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-42294 changed 2026-07-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-jcc8-g2q4-9fxq changed 2026-07-21CC-BY-4.0
Go Vulnerability DatabaseGO-2026-5462 changed 2026-06-25CC-BY-4.0
NVDCVE-2026-42294 changed 2026-07-24Public domain
Bitnami Vulnerability DatabaseBIT-ARGO-WORKFLOWS-2026-42294 changed 2026-09-08Apache-2.0