AWS Security ChangesHomeSearch

AWS cognito: Warn that default authenticated role over-grants with SAML IdPs

Service: cognito · 2026-11-26 · Security-related medium

File: cognito/latest/developerguide/role-based-access-control.md · Type: authz

Summary

Adds an Important admonition to the role-based access control page warning that choosing 'Use default authenticated role' issues credentials to any user the IdP authenticates, including users authenticated for other applications when a SAML IdP is shared, and recommends 'Deny request' instead.

Security assessment

The note flags an authorization misconfiguration: the default authenticated role fallback grants credentials to every IdP-authenticated user, which with a shared SAML IdP crosses application trust boundaries. Recommending 'Deny request' restricts credential issuance to users matched by rules, reducing over-broad access.

Evidence

When no rules match and you choose **Use default authenticated role** , your identity pool issues credentials for your authenticated role to any user that your IdP authenticates.

Diff

diff --git a/cognito/latest/developerguide/role-based-access-control.md b/cognito/latest/developerguide/role-based-access-control.md
index 60f430d..d258f95 100644
--- a//cognito/latest/developerguide/role-based-access-control.md
+++ b//cognito/latest/developerguide/role-based-access-control.md
@@ -127,0 +128,4 @@ You can set multiple rules for an authentication provider in the identity pool (
+Important
+
+When no rules match and you choose **Use default authenticated role** , your identity pool issues credentials for your authenticated role to any user that your IdP authenticates. With SAML IdPs, this includes users that your IdP authenticated for other applications. To restrict credentials to the users that your rules identify, choose **Deny request**. For more information, see [SAML federation trust scope in identity pools](./saml-identity-provider.html#saml-identity-provider-trust-scope).
+