CVE-2025-13888: Openshift-gitops-operator: openshift gitops: namespace admin cluster takeover via privileged jobs

Published Dec 2, 2025
·
Updated

A flaw was found in OpenShift GitOps. Namespace admins can create ArgoCD Custom Resources (CRs) that trick the system into granting them elevated permissions in other namespaces, including privileged namespaces. An authenticated attacker can then use these elevated permissions to create privileged workloads that run on master nodes, effectively giving them root access to the entire cluster.

Other sources

Security issue with OpenShift GitOps that basically allows namespace admins to overtake the whole cluster. If you can create ArgoCD CRs, you basically can overtake the whole cluster. This permission is currently granted to all namespace admins, created with a RoleBinding that binds the ClusterRole admin.

This is how you can achieve it:

When you create a ArgoCD CR in your own namespace (where you are namespace admin) you can specify sourceNamespaces under spec. You can provide whatever namespace you want here (even tho the operator checks wheter the target namespace already has the label). For example, I could specify the namespace default here. Due to the check of the operator, this is only possible for namespaces where this label is not set yet.

When I do create the ArgoCD CR the operator will annotate the specified sourceNamespaces with the label: argocd.argoproj.io/managed-by-cluster-argocd: test-1

In this case test-1 is the name of my namespace where I am namespace admin. For this example I used the default namespace as my sourceNamespace.

Additionally the Operator will create a RoleBinding and a Role within the namespace (in this example the default namespace). The Role allows the managing of ArgoCD Resources but also creation and updating of CronJobs and Jobs. The Rolebinding binds the Role to the ServiceAccounts that are used by my ArgoCD (argocd-server and argocd-application-controller) instance where I have access to.

So now I have access to two ServiceAccounts and their token which are able to create Jobs / Cronjobs in my defined sourceNamespace.

In my example I used the default namespace. The default namespace has the privileged SCC so I am able to run privileged Jobs.

Now I can extract the token of the SericeAccounts that are used by my ArgoCD instance and use it to create a privileged Job in the default namespace. The job can even run on Master nodes so basically, I have root access to the master nodes and can fully overtake the cluster without a problem.

This seems to be a security issue from my point of view because all it needs is a namespace admin to overtake the whole cluster.

Red Hat

Affected Software

2 affected componentsFixes available
Red Hat OpenShift GitOps
go/github.com/redhat-developer/gitops-operator<1.16.2
1.16.2

Event History

Dec 2, 2025
Data Sourced
via Red Hat·03:17 PM
DescriptionSeverityAffected Software
Dec 15, 2025
CVE Published
via MITRE·03:36 PM
Data Sourced
via MITRE·03:36 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·06:30 PM
Data Sourced
via GitHub·06:30 PM
DescriptionSeverityWeaknessAffected Software
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-2025-13888?

CVE-2025-13888 has been classified with a severity rating that indicates a significant risk due to the potential for unauthorized privilege escalation.

2

How do I fix CVE-2025-13888?

To remediate CVE-2025-13888, update to the latest version of Red Hat OpenShift GitOps that addresses this vulnerability.

3

Who is affected by CVE-2025-13888?

CVE-2025-13888 affects users of Red Hat OpenShift GitOps who have the ability to manage ArgoCD Custom Resources.

4

What are the potential consequences of CVE-2025-13888?

The potential consequences of CVE-2025-13888 include unauthorized access to privileged namespaces and elevated permissions within the cluster.

5

Is there a workaround for CVE-2025-13888?

Currently, there are no documented workarounds for CVE-2025-13888 other than applying the recommended updates.

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