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 package | Versions | Reported by |
|---|---|---|
| argoproj argo-workflows | < 3.7.14, >= 4.0.0, < 4.0.5 | CVE List |
| rhoai/odh-data-science-pipelines-argo-argoexec-rhel9 | Not specified | CVE List |
| rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel9 | Not specified | CVE List |
| github.com/argoproj/argo-workflows/v3 (Go) | before 3.7.14 | GitHub Advisory Database, Go Vulnerability Database |
| 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 |
| argoproj argo_workflows | before 3.7.14, from 4.0.0 before 4.0.5 | NVD |
| argo-workflows (Bitnami) | before 3.7.14, from 4.0.0 before 4.0.5 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 8.2high CVSS:4.0 | CVSS: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-SADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
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)
- 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.
Recommendation
- 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).
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
| https://github.com/argoproj/argo-workflows/security/advisories/GHSA-jcc8-g2q4-9fxq | advisory, exploit, vendor-advisory, web | |
| https://github.com/argoproj/argo-workflows/commit/7abb4de6c3599e2d5d960ba4d5de4cf1df109965 | fix, patch, web | |
| https://github.com/argoproj/argo-workflows/releases/tag/v3.7.14 | article, release-notes, web | |
| https://github.com/argoproj/argo-workflows/releases/tag/v4.0.5 | article, release-notes, web | |
| https://access.redhat.com/security/cve/CVE-2026-42294 | vdb-entry, web | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2468443 | issue-tracking, web | |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42294.json | web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-42294 | advisory, web | |
| https://github.com/argoproj/argo-workflows | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-42294 changed 2026-07-15 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-jcc8-g2q4-9fxq changed 2026-07-21 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-5462 changed 2026-06-25 | CC-BY-4.0 |
| NVD | CVE-2026-42294 changed 2026-07-24 | Public domain |
| Bitnami Vulnerability Database | BIT-ARGO-WORKFLOWS-2026-42294 changed 2026-09-08 | Apache-2.0 |