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

Published Mar 13, 2024
·
Updated

Impact

"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.

Patches

The bug has been patched in the following versions:

2.10.3 2.9.8 2.8.12

Workarounds

To immediately mitigate the risk of branch protection bypass, remove applications, create RBAC access. The only way to eliminate the issue without removing RBAC access is to upgrade to a patched version.

Branch protection rules and review requirements are a great way to enforce security constraints in a GitOps environment, but they should be just one layer in a multi-layered approach. Make sure your AppProject and RBAC restrictions are as thorough as possible to prevent a review bypass vulnerability from permitting excessive damage.

References

Argo CD RBAC documentation

For more information

Open an issue in the Argo CD issue tracker or discussions Join us on Slack in channel #argo-cd

Other sources

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.

MITRE

Affected Software

10 affected componentsFixes available
redhat/argo-cd<2.10.3
2.10.3
redhat/argo-cd<2.9.8
2.9.8
redhat/argo-cd<2.8.12
2.8.12
argoproj Argo CD>=1.2.0<2.8.12
argoproj Argo CD>=2.9.0<2.9.7
argoproj Argo CD>=2.10.0<2.10.3
go/github.com/argoproj/argo-cd/v2>=2.0.0-rc3<2.8.12
2.8.12
go/github.com/argoproj/argo-cd/v2>=2.10.0<2.10.3
2.10.3
go/github.com/argoproj/argo-cd/v2>=2.9.0<2.9.8
2.9.8
go/github.com/argoproj/argo-cd>=1.2.0-rc1<=1.8.7

Event History

Mar 13, 2024
CVE Published
via MITRE·08:50 PM
Data Sourced
via MITRE·08:50 PM
DescriptionSeverityWeakness
Mar 14, 2024
Data Sourced
via Red Hat·04:59 AM
DescriptionSeverityAffected Software
Mar 15, 2024
Advisory Published
via GitHub·04:33 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-50726?

CVE-2023-50726 is considered to have a high severity as it allows local overrides of application manifests, potentially leading to unauthorized changes.

2

How do I fix CVE-2023-50726?

To mitigate CVE-2023-50726, upgrade to Argo CD version 2.10.3, 2.9.8, or 2.8.12 depending on your current version.

3

What feature does CVE-2023-50726 affect in Argo CD?

CVE-2023-50726 affects the 'local sync' feature in Argo CD that allows users to override application manifests locally.

4

Who should be granted access to the local sync feature affected by CVE-2023-50726?

Access to the local sync feature should be limited to highly-trusted users to prevent bypassing merge protections.

5

What versions of Argo CD are impacted by CVE-2023-50726?

CVE-2023-50726 affects multiple versions of Argo CD, specifically from version 1.2.0-rc1 up to 2.10.3.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203