{"id":"CVE-2026-42294","aliases":["CVE-2026-42294","GHSA-jcc8-g2q4-9fxq","BIT-ARGO-WORKFLOWS-2026-42294","GO-2026-5462"],"related":[],"kind":"vulnerability","state":"published","title":"Argo Workflows: Unauthenticated Memory Exhaustion (DoS) in Webhook Interceptor","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"**Severity:** Medium\n**Component:** Webhook Interceptor (`server/auth/webhook`)\n**Vulnerability Type:** Denial of Service (DoS)\n\n## Description\nThe 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.\n\n## Vulnerable Code\nIn `server/auth/webhook/interceptor.go`:\n```go\nfunc (i *WebhookInterceptor) addWebhookAuthorization(r *http.Request, kube kubernetes.Interface) error {\n    // ... basic checks ...\n    \n    // Vulnerability: Reads entire body into memory unconditionally\n    buf, _ := io.ReadAll(r.Body)\n    defer func() { r.Body = io.NopCloser(bytes.NewBuffer(buf)) }()\n    \n    // ... subsequent logic finds correct service account and secret ...\n    // ... verification happens later ...\n}\n```\nThe `io.ReadAll` call happens before the signature verification loop.\n\n## Impact\n- **Service Availability:** An attacker can crash the Argo Server, disrupting workflow execution and API access for all users.\n\n## PoC (Conceptual)\n1.  Target the webhook endpoint: `POST /api/v1/events/some-namespace`\n2.  Send a `Content-Length: 1000000000` (1GB) header.\n3.  Stream 1GB of random data.\n4.  Monitor server memory usage. It will spike until 1GB is allocated or the process crashes.\n\n## Recommendation\n1.  **Limit Body Size:** Enforce a strict limit on webhook body size (e.g., 10MB) using `http.MaxBytesReader`.\n2.  **Streaming Verification:** If possible, verify the signature in a streaming fashion or use a temporary file for large payloads (though typically webhooks are small).","format":"markdown","source":"ghsa"},{"lang":"en","text":"Argo Vulnerable to Unauthenticated Memory Exhaustion (DoS) in Webhook Interceptor in github.com/argoproj/argo-workflows","format":"markdown","source":"go"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-05-04T20:11:01.000Z","modified":"2026-09-08T08:45:37.674Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.2,"rating":"HIGH"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"version":"< 3.7.14","status":"affected"},{"version":">= 4.0.0, < 4.0.5","status":"affected"}],"vendor":"argoproj","product":"argo-workflows","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-data-science-pipelines-argo-argoexec-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.7.14"}],"ecosystem":"Go","package":"github.com/argoproj/argo-workflows/v3","purl":"pkg:golang/github.com/argoproj/argo-workflows/v3","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"4.0.0","status":"affected","fixed":"4.0.5"}],"ecosystem":"Go","package":"github.com/argoproj/argo-workflows/v4","purl":"pkg:golang/github.com/argoproj/argo-workflows/v4","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/argoproj/argo-workflows","purl":"pkg:golang/github.com/argoproj/argo-workflows","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/argoproj/argo-workflows/v2","purl":"pkg:golang/github.com/argoproj/argo-workflows/v2","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.7.14"}],"ecosystem":"Go","package":"github.com/argoproj/argo-workflows/v3","purl":"pkg:golang/github.com/argoproj/argo-workflows/v3","source":"go"},{"ranges":[{"type":"semver","introduced":"4.0.0","status":"affected","fixed":"4.0.5"}],"ecosystem":"Go","package":"github.com/argoproj/argo-workflows/v4","purl":"pkg:golang/github.com/argoproj/argo-workflows/v4","source":"go"},{"ranges":[{"status":"affected","fixed":"3.7.14"},{"status":"affected","introduced":"4.0.0","fixed":"4.0.5"}],"vendor":"argoproj","product":"argo_workflows","cpe":"cpe:2.3:a:argoproj:argo_workflows:*:*:*:*:*:go:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.7.14"},{"type":"semver","introduced":"4.0.0","status":"affected","fixed":"4.0.5"}],"ecosystem":"Bitnami","package":"argo-workflows","purl":"pkg:bitnami/argo-workflows","source":"bitnami"}],"references":[{"url":"https://github.com/argoproj/argo-workflows/security/advisories/GHSA-jcc8-g2q4-9fxq","tags":["advisory","exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/argoproj/argo-workflows/commit/7abb4de6c3599e2d5d960ba4d5de4cf1df109965","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/argoproj/argo-workflows/releases/tag/v3.7.14","tags":["article","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/argoproj/argo-workflows/releases/tag/v4.0.5","tags":["article","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-42294","tags":["vdb-entry","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2468443","tags":["issue-tracking","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42294.json","tags":["web","x-sadp-csaf-vex"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42294","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/argoproj/argo-workflows","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-05-11T15:47:11.506Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42294","url":"https://www.cve.org/CVERecord?id=CVE-2026-42294","licence":"CVE Terms of Use","modified":"2026-07-15T00:57:46.447Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jcc8-g2q4-9fxq","url":"https://github.com/advisories/GHSA-jcc8-g2q4-9fxq","licence":"CC-BY-4.0","modified":"2026-07-21T15:00:42.331Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5462","url":"https://pkg.go.dev/vuln/GO-2026-5462","licence":"CC-BY-4.0","modified":"2026-06-25T23:11:21.376Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42294","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42294","licence":"Public domain","modified":"2026-07-24T21:10:00.143Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-ARGO-WORKFLOWS-2026-42294","url":"https://osv.dev/vulnerability/BIT-ARGO-WORKFLOWS-2026-42294","licence":"Apache-2.0","modified":"2026-09-08T08:45:37.674Z"}],"updatedAt":"2026-11-25T22:59:21.135Z","epss":{"score":0.00599,"percentile":0.50054,"date":"2026-12-01T12:00:22.000Z"}}