AWS eks: Safety note: AmazonEKSLoadBalancingClusterPolicy can enable cluster admin
Summary
Adds an Important safety note to AmazonEKSLoadBalancingClusterPolicy documenting that the policy includes write access to configmaps, so associating it to a non-service-linked role at cluster scope on an API_AND_CONFIG_MAP cluster lets that identity overwrite the aws-auth ConfigMap and become cluster administrator. Notes the behavior does not apply to API-only clusters or when only the EKS service-linked role is associated, and recommends migrating to API-only authentication. Also adds a changelog entry.
Security assessment
The note documents a concrete privilege-escalation path: configmap write permission plus API_AND_CONFIG_MAP auth mode allows overwriting aws-auth and gaining cluster-admin. It is a documented weakness with a mitigation (migrate to API-only auth), so it is security-issue related and high severity given cluster-admin escalation.
Evidence
+This policy includes write access to `configmaps`. If you associate this policy to a non-service-linked role at cluster scope on a cluster using `API_AND_CONFIG_MAP` authentication mode, that role can overwrite the `aws-auth` ConfigMap. This enables the identity to be a cluster administrator.
Diff
diff --git a/eks/latest/userguide/access-policy-permissions.md b/eks/latest/userguide/access-policy-permissions.md index 5090288..f827ae1 100644 --- a//eks/latest/userguide/access-policy-permissions.md +++ b//eks/latest/userguide/access-policy-permissions.md @@ -465,0 +466,15 @@ Amazon EKS automatically creates an access entry with this access policy for the +Important + +This policy includes write access to `configmaps`. If you associate this policy to a non-service-linked role at cluster scope on a cluster using `API_AND_CONFIG_MAP` authentication mode, that role can overwrite the `aws-auth` ConfigMap. This enables the identity to be a cluster administrator. + +This behavior does not apply when: + + * Your cluster uses `API`-only authentication mode (the `aws-auth` ConfigMap is never consulted for identity resolution). + + * Only the EKS service-linked role is associated with this policy (the default for EKS Auto Mode clusters). + + + + +To avoid this behavior on `API_AND_CONFIG_MAP` clusters, migrate to `API`-only authentication mode. For more information, see [Migrating existing aws-auth ConfigMap entries to access entries](./migrating-access-entries.html). + @@ -773,0 +789 @@ Change | Description | Date +Safety note added | Added a safety note to AmazonEKSLoadBalancingClusterPolicy. The note documents that associating this policy to a non-service-linked role at cluster scope on `API_AND_CONFIG_MAP` clusters allows the associated identity to become a cluster administrator. Clusters using `API`-only authentication mode are not affected. For more information, see [Migrating existing aws-auth ConfigMap entries to access entries](./migrating-access-entries.html). | November 23, 2026