OpenShift API server lets users fake admin group membership to take over cluster
What this means
An attacker with basic template creation rights can trick OpenShift into treating them as a cluster administrator. They could then read all data in the cluster, modify or delete workloads, change security settings, and take full control of the system. This is a complete compromise of the cluster.
SecurityElites Manager Brief: the decision in one minute
| SecurityElites Fix-First Score | 54 of 100 Our own ranking of what to fix first. Real attacks count most, then the chance of attack, then severity. |
|---|---|
| SecurityElites fix window | Within 7 days Critical severity. This is our suggestion from common practice; your own policy comes first. |
| Who should own the fix | The team that installed or runs this software, with security checking the result |
Message you can forward to the owning team
Security notice: OpenShift API server lets users fake admin group membership to take over cluster (CVE-2026-140094)
Severity: Critical (9.9 of 10)
SecurityElites Fix-First Score: 54 of 100
SecurityElites fix window: Within 7 days
Action: no fixed version is listed yet; apply the risk-reduction steps and watch the vendor advisory.
What we need from you: confirm whether we run this software, who owns it, and the date it will be fixed.
Full guide: https://securityelites.com/ai-vulnerabilities/cve-2026-140094-openshift-api-server-lets-users-fake-admin-group-membership/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-00016Who is exposed
- OpenShift clusters where standard users have template creation permissions (including clusters with default self-provisioner role enabled)
- Any application or team that relies on OpenShift role-based access control to restrict what users can do
- Clusters connected to external systems that trust OpenShift's authorization decisions
- Development and staging clusters are especially at risk if they use default permission settings
- Air-gapped clusters are not affected if no one with template creation rights can access them
SecurityElites Developer Brief: the technical picture
Kind of coding mistake
- CWE-842
SecurityElites Fix Guide: step by step
- Find your OpenShift version and check the vendor advisoryRun `oc version` to see your OpenShift API server version. Go to the Red Hat security advisory for CVE-2026-140094 to find the fixed version that matches your release. The vendor advisory is the source of truth for which versions are fixed.
- Review who has template creation permissionsList all users and service accounts that have the self-provisioner role or other roles that allow creating templates. Run `oc get rolebinding -A` and `oc get clusterrolebinding` to see role assignments. Document who has these permissions.
- Check for suspicious TemplateInstance requestsReview audit logs for TemplateInstance creation requests from the past 30 days. Look for requests that contain group memberships like 'system:cluster-admins' or 'system:masters'. Check if these came from users who should not have admin access.
- Temporarily reduce exposure while you plan the upgradeIf you cannot upgrade immediately, remove the self-provisioner role from all users except those who absolutely need it. Run `oc delete clusterrolebinding system:authenticated:oauth-self-provisioner` to remove the default role, then grant it only to specific users. This slows down the attack but does not eliminate the flaw.
- Upgrade to the fixed version from the vendor advisoryFollow your OpenShift upgrade procedure using the fixed version number provided in the Red Hat advisory. Test the upgrade in a non-production environment first if possible.
- Verify the fix is in placeRun `oc version` again to confirm you are running the fixed version. Submit a test TemplateInstance request with forged groups and verify it is rejected with an authorization error. Only authenticated users should be able to perform this test.
- Check for attacks before the fix was appliedSearch audit logs for any TemplateInstance requests that included forged group memberships from before your upgrade date. If found, review what those requests did and what they could have accessed. Consider rotating credentials and reviewing cluster activity during that time window.
- Restore normal permissions if you restricted themIf you removed template creation permissions earlier, restore them to the users and teams that need them. After the upgrade, the authorization checks will work properly.
How to confirm it is fixed: Run `oc version` to confirm you are running the fixed version from the vendor advisory, then submit a test TemplateInstance request with forged admin groups and confirm the API server rejects it with an authorization error.
SecurityElites Quick Fixes: copy and paste
Check current OpenShift versionfor this issue
oc versionList users with self-provisioner rolefor this issue
oc get clusterrolebinding system:authenticated:oauth-self-provisionerSearch audit logs for TemplateInstance with forged groups (last 7 days)for this issue
oc adm must-gather --dest-dir=audit-data && grep -r 'TemplateInstance' audit-data/ | grep -i 'system:cluster-admins\|system:masters'Require sign-in with nginx in front of the servicegeneral hardening
location / {
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/.htpasswd;
proxy_pass http://127.0.0.1:8080;
}Test in a non-production environment first. General hardening examples use placeholder names and ports; change them to match your setup.
SecurityElites Incident Drill: could your team handle this?
Four questions to ask in your next team meeting. If any has no clear answer, that is the gap to close.
Ticket for your backlog
Paste into Jira, GitHub Issues or any tracker that reads Markdown.
Ready-made ticket
## OpenShift API server lets users fake admin group membership to take over cluster (CVE-2026-140094)
**Severity:** Critical 9.9 | **SE Fix-First Score:** 54/100 | **Fix window:** Within 7 days
**Record:** SE-AIV-00016 https://securityelites.com/ai-vulnerabilities/cve-2026-140094-openshift-api-server-lets-users-fake-admin-group-membership/
### Why this matters
An attacker with basic template creation rights can trick OpenShift into treating them as a cluster administrator. They could then read all data in the cluster, modify or delete workloads, change security settings, and take full control of the system. This is a complete compromise of the cluster.
### What to do
1. Find your OpenShift version and check the vendor advisory: Run `oc version` to see your OpenShift API server version. Go to the Red Hat security advisory for CVE-2026-140094 to find the fixed version that matches your release. The vendor advisory is the source of truth for which versions are fixed.
2. Review who has template creation permissions: List all users and service accounts that have the self-provisioner role or other roles that allow creating templates. Run `oc get rolebinding -A` and `oc get clusterrolebinding` to see role assignments. Document who has these permissions.
3. Check for suspicious TemplateInstance requests: Review audit logs for TemplateInstance creation requests from the past 30 days. Look for requests that contain group memberships like 'system:cluster-admins' or 'system:masters'. Check if these came from users who should not have admin access.
4. Temporarily reduce exposure while you plan the upgrade: If you cannot upgrade immediately, remove the self-provisioner role from all users except those who absolutely need it. Run `oc delete clusterrolebinding system:authenticated:oauth-self-provisioner` to remove the default role, then grant it only to specific users. This slows down the attack but does not eliminate the flaw.
5. Upgrade to the fixed version from the vendor advisory: Follow your OpenShift upgrade procedure using the fixed version number provided in the Red Hat advisory. Test the upgrade in a non-production environment first if possible.
6. Verify the fix is in place: Run `oc version` again to confirm you are running the fixed version. Submit a test TemplateInstance request with forged groups and verify it is rejected with an authorization error. Only authenticated users should be able to perform this test.
7. Check for attacks before the fix was applied: Search audit logs for any TemplateInstance requests that included forged group memberships from before your upgrade date. If found, review what those requests did and what they could have accessed. Consider rotating credentials and reviewing cluster activity during that time window.
8. Restore normal permissions if you restricted them: If you removed template creation permissions earlier, restore them to the users and teams that need them. After the upgrade, the authorization checks will work properly.
### Done when
- [ ] The risk-reduction steps are applied and the vendor advisory is being watched for a fixed version
- [ ] Lock files, container images and CI configuration are updated
- [ ] Run `oc version` to confirm you are running the fixed version from the vendor advisory, then submit a test TemplateInstance request with forged admin groups and confirm the API server rejects it with an authorization error.
- [ ] Logs were checked for signs of earlier use
SecurityElites Fix Tracker
Record who owns this fix, the date it is due and when it is done, and see everything still open in one list. Free with a SecurityElites account.
Change history
- 1 Dec 2026: Made public
Official record
A flaw was found in openshift-apiserver. Incomplete authorization checks in the TemplateInstance instantiation mechanism allow requests to specify arbitrary group memberships without proper validation. An authenticated attacker with standard template creation permissions (such as the default self-provisioner role) can exploit this flaw by submitting a TemplateInstance request containing forged administrative groups (e.g., system:cluster-admins). Because the openshift-controller-manager trusts these unvalidated groups when processing the request, the attacker can cause the system to perform actions with elevated rights. This flaw allows an attacker to achieve privilege escalation, potentially gaining full administrative control over the cluster.
Weakness type: CWE-842
Use this record in your own tools
Get this record as JSON
curl https://securityelites.com/wp-json/se-aivd/v1/vulns/CVE-2026-140094For scanners and pipelines: OSV format · CycloneDX format · API guide · Email alerts · Fix tracker
The plain-language sections were written with AI from the official record, and the upgrade versions come directly from the official data. Last updated 1 Dec 2026. Read the vendor advisory before changing a production system.