cve.bz

CVE-2023-22736 argoproj argo cd: Missing Authorization

8.5 highEPSS 0.8%Fix available

High (8.5) in argoproj argo cd. EPSS 0.8% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/argoproj/argo-cd/v2 2.5.8, 2.6.0-rc5.

On this page
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's 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' `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' sourceNamespaces are restricted within the confines of the configured Application namespaces will also prevent exploitation of this bug.

Severity

CVSS 3.1

8.5 high
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 58th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-03-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-862 Missing Authorization
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • github.com/argoproj/argo-cd/v2 (Go): fixed in 2.5.8, 2.6.0-rc5

Ask an AI about this CVE

Show the promptExplain CVE-2023-22736 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-22736?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-22736?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-22736 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
argoproj:argo_cdfrom 2.5.0 before 2.5.8
argoproj:argo_cd2.6.0:rc1
argoproj:argo_cd2.6.0:rc2
argoproj:argo_cd2.6.0:rc3
argoproj:argo_cd2.6.0:rc4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-6p4m-hw2h-6gmwGogithub.com/argoproj/argo-cd/v2>=2.5.0-rc1 <2.5.82.5.8
GHSA-6p4m-hw2h-6gmwGogithub.com/argoproj/argo-cd/v2>=2.6.0-rc4 <2.6.0-rc52.6.0-rc5
GO-2023-1512Gogithub.com/argoproj/argo-cdall versionsno fix published
GO-2023-1512Gogithub.com/argoproj/argo-cd/v2>=2.5.0-rc1 <2.5.8
>=2.6.0-rc4 <2.6.0-rc5
2.5.8, 2.6.0-rc5

Red Hat

Red Hat rates this Important.

Red Hat's statement

This issue only affects Red Hat GitOps version 1.7, as the vulnerability was introduced in ArgoCD-2.5.

This vulnerability affects only deployments with "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.

ProductPackageStateAdvisory
Red Hat OpenShift GitOps 1.7openshift-gitops-1/argocd-rhel8:v1.7.1-2Fixed 2023-01-25RHSA-2023:0467

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-22736.

Attack patterns (CAPEC)

  • CAPEC-665 Exploitation of Thunderbolt Protection Flaws Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON