{"id":"EUVD-2023-0369","enisaUuid":"a8e3697c-611a-35de-8112-fd8d430054c0","description":"Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Versions starting with 2.5.0-rc1 and above, prior to 2.5.8, and version 2.6.0-rc4, are vulnerable to an authorization bypass bug which allows a malicious Argo CD user to deploy Applications outside the configured allowed namespaces. Reconciled Application namespaces are specified as a comma-delimited list of glob patterns. When sharding is enabled on the Application controller, it does not enforce that list of patterns when reconciling Applications. For example, if Application namespaces are configured to be argocd-*, the Application controller may reconcile an Application installed in a namespace called other, even though it does not start with argocd-. Reconciliation of the out-of-bounds Application is only triggered when the Application is updated, so the attacker must be able to cause an update operation on the Application resource. This bug only applies to users who have explicitly enabled the \"apps-in-any-namespace\" feature by setting `application.namespaces` in the argocd-cmd-params-cm ConfigMap or otherwise setting the `--application-namespaces` flags on the Application controller and API server components. The apps-in-any-namespace feature is in beta as of this Security Advisory\u0027s publish date. The bug is also limited to Argo CD instances where sharding is enabled by increasing the `replicas` count for the Application controller. Finally, the AppProjects\u0027 `sourceNamespaces` field acts as a secondary check against this exploit. To cause reconciliation of an Application in an out-of-bounds namespace, an AppProject must be available which permits Applications in the out-of-bounds namespace. A patch for this vulnerability has been released in versions 2.5.8 and 2.6.0-rc5. As a workaround, running only one replica of the Application controller will prevent exploitation of this bug. Making sure all AppProjects\u0027 sourceNamespaces are restricted within the confines of the configured Application namespaces will also prevent exploitation of this bug.","datePublished":"Jan 26, 2023, 3:35:27 AM","dateUpdated":"Mar 10, 2025, 9:19:37 PM","baseScore":8.6,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","references":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-6p4m-hw2h-6gmw\n","aliases":"CVE-2023-22736\nGHSA-6p4m-hw2h-6gmw\n","assigner":"GitHub_M","epss":0.8,"enisaIdProduct":[{"id":"3bad7183-60ff-38b6-bcee-85130a4bfa22","product":{"name":"argo-cd","vendor":{"name":"argoproj"}},"product_version":"\u003d 2.6.0-rc4, \u003c 2.6.0-rc5"},{"id":"a46dd436-bfff-39f1-a900-f21f76e8ec83","product":{"name":"argo-cd","vendor":{"name":"argoproj"}},"product_version":"2.5.0\u003drc1, \u003c 2.5.8"}],"enisaIdVendor":[{"id":"f2472806-2c0b-34a6-920e-573dd2c51e13","vendor":{"name":"argoproj"}}],"enisaIdVulnerability":[{"id":"0453b65a-0f07-3676-bba7-6ff6a266ec6c","vulnerability":{"id":"CVE-2023-22736","description":"Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Versions starting with 2.5.0-rc1 and above, prior to 2.5.8, and version 2.6.0-rc4, are vulnerable to an authorization bypass bug which allows a malicious Argo CD user to deploy Applications outside the configured allowed namespaces. Reconciled Application namespaces are specified as a comma-delimited list of glob patterns. When sharding is enabled on the Application controller, it does not enforce that list of patterns when reconciling Applications. For example, if Application namespaces are configured to be argocd-*, the Application controller may reconcile an Application installed in a namespace called other, even though it does not start with argocd-. Reconciliation of the out-of-bounds Application is only triggered when the Application is updated, so the attacker must be able to cause an update operation on the Application resource. This bug only applies to users who have explicitly enabled the \"apps-in-any-namespace\" feature by setting `application.namespaces` in the argocd-cmd-params-cm ConfigMap or otherwise setting the `--application-namespaces` flags on the Application controller and API server components. The apps-in-any-namespace feature is in beta as of this Security Advisory\u0027s publish date. The bug is also limited to Argo CD instances where sharding is enabled by increasing the `replicas` count for the Application controller. Finally, the AppProjects\u0027 `sourceNamespaces` field acts as a secondary check against this exploit. To cause reconciliation of an Application in an out-of-bounds namespace, an AppProject must be available which permits Applications in the out-of-bounds namespace. A patch for this vulnerability has been released in versions 2.5.8 and 2.6.0-rc5. As a workaround, running only one replica of the Application controller will prevent exploitation of this bug. Making sure all AppProjects\u0027 sourceNamespaces are restricted within the confines of the configured Application namespaces will also prevent exploitation of this bug.","datePublished":"Jan 26, 2023, 3:35:27 AM","dateUpdated":"Mar 10, 2025, 9:19:37 PM","status":"PUBLISHED","baseScore":8.6,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","references":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-6p4m-hw2h-6gmw\n","enisa_id":"EUVD-2023-0369\n","assigner":"GitHub_M","epss":0.8,"dataProcessed":"Nov 15, 2026, 7:21:46 AM","vulnerabilityProduct":[{"id":"58fe8eaf-fe8e-39c0-a3e2-3864a22d1aaa","product":{"name":"argo-cd","vendor":{"name":"argoproj"}},"product_version":"\u003d 2.6.0-rc4, \u003c 2.6.0-rc5"},{"id":"fbdeb16c-3ea6-3a2e-b5a1-3f6719d2b26a","product":{"name":"argo-cd","vendor":{"name":"argoproj"}},"product_version":"2.5.0\u003drc1, \u003c 2.5.8"}],"vulnerabilityVendor":[{"id":"9e620926-ae18-325b-9105-54b04393c07a","vendor":{"name":"argoproj"}}]}},{"id":"f04626c1-5451-3b13-92f2-7889e50a09a0","vulnerability":{"id":"GHSA-6p4m-hw2h-6gmw","description":"Controller reconciles apps outside configured namespaces when sharding is enabled","datePublished":"Jan 25, 2023, 7:39:03 PM","dateUpdated":"May 13, 2025, 8:56:19 PM","baseScore":0.0,"references":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-6p4m-hw2h-6gmw\nhttps://nvd.nist.gov/vuln/detail/CVE-2023-22736\nhttps://github.com/argoproj/argo-cd\n","enisa_id":"EUVD-2023-0369\n","aliases":"GHSA-6p4m-hw2h-6gmw\nCVE-2023-22736\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:31:12 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[{"id":"5f7c4094-1df2-3d2c-8e2d-cd0a47c4bc6b","advisory":{"id":"RHSA-2023:0467","description":"Red Hat Security Advisory: Red Hat OpenShift GitOps security update","summary":"An update is now available for Red Hat OpenShift GitOps 1.7.\n\nRed Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.","datePublished":"Jan 25, 2023, 8:31:53 PM","dateUpdated":"Mar 18, 2026, 2:19:40 AM","baseScore":0.0,"references":"https://access.redhat.com/errata/RHSA-2023:0467\nhttps://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_0467.json\n","aliases":"CVE-2023-22482\nCVE-2023-22736\n","source":{"id":9,"name":"csaf_redhat"},"advisoryProduct":[{"id":"21b44871-8b8d-3e9d-9653-1a5fce546f86","product":{"name":"openshift-gitops-1/gitops-rhel8-operator@sha256:e042760919b6ccdc275f84bebd782155125ee059ebbbc81a61427ce2a41ea883_ppc64le","vendor":{"name":"Red Hat"}}},{"id":"28328a90-1c78-310b-b566-d238fe572d65","product":{"name":"openshift-gitops-1/gitops-rhel8@sha256:acacaa3a5164793fd5b8be4dad07b256372ccab79c5a9ca8742f95a6529f6fec_amd64","vendor":{"name":"Red Hat"}}},{"id":"319a6419-1450-3ac0-aed8-97effea117f3","product":{"name":"openshift-gitops-1/dex-rhel8@sha256:a765f97e626340b468f37693caf160b9960520d54694dd66251e3d6221769abd_amd64","vendor":{"name":"Red Hat"}}},{"id":"479a658b-97d3-319e-aec2-274992405090","product":{"name":"openshift-gitops-1/argocd-rhel8@sha256:cdda42e902ec80fa1011d50f0a92bfb1c4664eb2b7fc3c0973d0784f759b06b2_s390x","vendor":{"name":"Red Hat"}}},{"id":"6aa0804d-b5b8-3b45-b3f7-7b35d7bcda8d","product":{"name":"openshift-gitops-1/console-plugin-rhel8@sha256:dd0451c26897a5e03632b073f0e5b2e10d9665f160e071cff66d065c87bc1662_s390x","vendor":{"name":"Red Hat"}}},{"id":"73598a4a-875d-3f68-9d83-658fc42f9a56","product":{"name":"openshift-gitops-1/argocd-rhel8@sha256:5b2ffb708f897def6a30ce79bdd2a0752f9dc94604aa1cc00c3c09888d01dd9b_ppc64le","vendor":{"name":"Red Hat"}}},{"id":"79f63d11-ba1d-358d-839c-60fde20aa1b3","product":{"name":"openshift-gitops-1/console-plugin-rhel8@sha256:f31c15b113daafc9f52c3f3027ded69c45e69868c0ec7f4d51e498de38551e31_ppc64le","vendor":{"name":"Red Hat"}}},{"id":"7ee48e6e-cd5a-346f-8dec-625cc310dff9","product":{"name":"openshift-gitops-1/console-plugin-rhel8@sha256:1aee3b28612788811761b00bcffb97f899643b1ed2d624c4f5c023f2920b9164_amd64","vendor":{"name":"Red Hat"}}},{"id":"7f23c697-ff1e-3ec1-9402-c59272a077d9","product":{"name":"Red Hat OpenShift GitOps 1.7","vendor":{"name":"Red Hat"}}},{"id":"8a574116-673b-39b1-9765-216e07690234","product":{"name":"openshift-gitops-1/kam-delivery-rhel8@sha256:cb0c68dc9fd79ce19f32b3f58a98af084158b4254d7e2884f5036d66328baefe_amd64","vendor":{"name":"Red Hat"}}},{"id":"8ecb43fd-fa26-3d64-a6ce-f1763ff6d525","product":{"name":"openshift-gitops-1/gitops-operator-bundle@sha256:633538bbab3eb3e19e03ef72334547c8ac8456a5468822aab8afe4d5b05217ac_amd64","vendor":{"name":"Red Hat"}}},{"id":"a2ae85c0-a2d1-3328-b580-6eca7f09525a","product":{"name":"openshift-gitops-1/kam-delivery-rhel8@sha256:28674aa8339f438392b8a22764454d8fe6b84824198168eebd654c67217f1e19_s390x","vendor":{"name":"Red Hat"}}},{"id":"a5d4536c-ed6f-36a0-9dd8-bb0bc2ed38cd","product":{"name":"openshift-gitops-1/gitops-rhel8-operator@sha256:8290826e6b7d74c3128228469c4d65e7a888a748bb3ebfdc2a39e19e7a621e5d_s390x","vendor":{"name":"Red Hat"}}},{"id":"a6670be0-95ee-3590-aa9f-295493e72db5","product":{"name":"openshift-gitops-1/kam-delivery-rhel8@sha256:df3b6cb8ae5c120c915415dcd087fc73135ba1da0963c071a581f62d73dc9e6c_ppc64le","vendor":{"name":"Red Hat"}}},{"id":"b455f58d-eb35-3997-9c85-1c38c9a5bc8e","product":{"name":"openshift-gitops-1/dex-rhel8@sha256:441063b467825b620cec873df9edfc5895580c7cd35852d121d15ac8901dc35a_ppc64le","vendor":{"name":"Red Hat"}}},{"id":"c15913e0-72fa-3e30-9997-18642012dd80","product":{"name":"openshift-gitops-1/gitops-rhel8@sha256:5cca52e075a7eb625170bec1c6c4b3cc9ca2e831548b12c38797cb2430b8286b_ppc64le","vendor":{"name":"Red Hat"}}},{"id":"c58c26cd-c2fe-316a-85c4-808d23ebf414","product":{"name":"openshift-gitops-1/gitops-rhel8@sha256:139f2fe77640e8adfed2f94089863c6326f15eb7d346f66345dbee8aa296670c_s390x","vendor":{"name":"Red Hat"}}},{"id":"e0491598-e465-3909-8e5c-7b5ed482244e","product":{"name":"openshift-gitops-1/argocd-rhel8@sha256:697fe3260ad43dd554f6092346c3f0106af0215211771e9b2172de8d24fd53d0_amd64","vendor":{"name":"Red Hat"}}},{"id":"f28191e3-2588-35ad-92a9-77484a4b0fc0","product":{"name":"openshift-gitops-1/dex-rhel8@sha256:d24444f16c81aeeed12c4bce743c66bd4e754beb3d22a7e95e0e541b6b308688_s390x","vendor":{"name":"Red Hat"}}},{"id":"fc5ba6d5-20bf-3264-9688-14a5c02fe451","product":{"name":"openshift-gitops-1/gitops-rhel8-operator@sha256:e9baa10af98c0829ff5e1e34df62b19f7b75775fb80327610911a6ad74cdd041_amd64","vendor":{"name":"Red Hat"}}}]}},{"id":"764c07a0-f0f1-3154-8f30-70ef0896db3b","advisory":{"id":"WID-SEC-W-2023-0201","description":"Red Hat OpenShift: Mehrere Schwachstellen ermöglichen Umgehen von Sicherheitsvorkehrungen","summary":"Ein entfernter, authentisierter Angreifer kann mehrere Schwachstellen in Red Hat OpenShift ausnutzen, um Sicherheitsvorkehrungen zu umgehen.","datePublished":"Jan 25, 2023, 11:00:00 PM","dateUpdated":"Jan 25, 2023, 11:00:00 PM","baseScore":0.0,"references":"https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-0201.json\nhttps://wid.cert-bund.de/portal/wid/securityadvisory?name\u003dWID-SEC-2023-0201\n","aliases":"CVE-2023-22736\nCVE-2023-22482\n","source":{"id":8,"name":"csaf_certbund"},"advisoryProduct":[{"id":"2de995da-b8cb-3255-aa8d-9039686b443e","product":{"name":"Red Hat OpenShift \u003c GitOps 1.6.4","vendor":{"name":"Red Hat"}}},{"id":"4a0b3e93-c4b5-3072-8182-c069eebe24ca","product":{"name":"OpenShift","vendor":{"name":"n/a"}}},{"id":"bf8cd64f-2821-3d1f-bd4e-2eada80810ad","product":{"name":"Red Hat OpenShift \u003c GitOps 1.7","vendor":{"name":"Red Hat"}}},{"id":"f756999f-a08f-368b-8943-06691a87fc66","product":{"name":"Red Hat OpenShift \u003c GitOps 1.5.9","vendor":{"name":"Red Hat"}}}]}}]}