Skip to content
OpenAdvisories
Medium · 6.4 CVE-2023-50726 BIT-argo-cd-2023-50726EUVD-2024-0926GHSA-g623-jcgg-mhmmGO-2024-2643

Users with `create` but not `override` privileges can perform local sync in argo-cd

Published Mar 13, 2024 · Updated Apr 15, 2025 · Assigned by GitHub_M

Description

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. "Local sync" is an Argo CD feature that allows developers to temporarily override an Application's manifests with locally-defined manifests. Use of the feature should generally be limited to highly-trusted users, since it allows the user to bypass any merge protections in git. An improper validation bug allows users who have `create` privileges but not `override` privileges to sync local manifests on app creation. All other restrictions, including AppProject restrictions are still enforced. The only restriction which is not enforced is that the manifests come from some approved git/Helm/OCI source. The bug was introduced in 1.2.0-rc1 when the local manifest sync feature was added. The bug has been patched in Argo CD versions 2.10.3, 2.9.8, and 2.8.12. Users are advised to upgrade. Users unable to upgrade may mitigate the risk of branch protection bypass by removing `applications, create` RBAC access. The only way to eliminate the issue without removing RBAC access is to upgrade to a patched version.

Affected products

VendorProductAffectedFixed
argoproj argo-cd >= 1.2.0-rc1, < 2.8.12, >= 2.9.0, < 2.9.8, >= 2.10.0, < 2.10.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Openshift Gitops 1 microshift-gitops +3 1.12.1-4.el9 RHSA-2024:1752

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/argoproj/argo-cd >= 1.2.0-rc1, <= 1.8.7 — GHSA-g623-jcgg-mhmm
Go github.com/argoproj/argo-cd >= 1.2.0-rc1 — GO-2024-2643
Go github.com/argoproj/argo-cd/v2 >= 2.9.0, < 2.9.8 2.9.8 GHSA-g623-jcgg-mhmm
Go github.com/argoproj/argo-cd/v2 >= 2.10.0, < 2.10.3 2.10.3 GHSA-g623-jcgg-mhmm
Go github.com/argoproj/argo-cd/v2 >= 2.0.0-rc3, < 2.8.12 2.8.12 GHSA-g623-jcgg-mhmm
Go github.com/argoproj/argo-cd/v2 >= 2.0.0, < 2.8.12 · >= 2.9.0, < 2.9.8 · >= 2.10.0, < 2.10.3 2.8.12, 2.9.8, 2.10.3 GO-2024-2643

Advisories 2

References