AWS Security ChangesHomeSearch

AWS cognito medium security documentation change

Service: cognito · 2025-08-28 · Security-related medium

File: cognito/latest/developerguide/user-pool-security-best-practices.md

Summary

Corrected scope of 'Prevent user existence errors' setting from user pool to app client level

Security assessment

This correction addresses a security-relevant configuration detail. Properly configuring user existence error prevention at the app client level is crucial to prevent user enumeration attacks. Misconfiguration could lead to information disclosure vulnerabilities.

Diff

diff --git a/cognito/latest/developerguide/user-pool-security-best-practices.md b/cognito/latest/developerguide/user-pool-security-best-practices.md
index 1eb7b8d9c..dcc6f7218 100644
--- a//cognito/latest/developerguide/user-pool-security-best-practices.md
+++ b//cognito/latest/developerguide/user-pool-security-best-practices.md
@@ -36 +36 @@ Examples of user pool settings that affect public user pool access Setting | Ava
-[User disclosure](./cognito-user-pool-managing-errors.html) | Deliver "user not found" messages at sign-in and password reset or prevent disclosure. | User pool | Guard against guessing sign-in name, email address, or phone numbers | **App clients** – **Prevent user existence errors** |  [CreateUserPoolClient](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_CreateUserPoolClient.html#CognitoUserPools-CreateUserPoolClient-request-PreventUserExistenceErrors), [UpdateUserPoolClient](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UpdateUserPoolClient.html#CognitoUserPools-UpdateUserPoolClient-request-PreventUserExistenceErrors) `PreventUserExistenceErrors`  
+[User disclosure](./cognito-user-pool-managing-errors.html) | Deliver "user not found" messages at sign-in and password reset or prevent disclosure. | App client | Guard against guessing sign-in name, email address, or phone numbers | **App clients** – **Prevent user existence errors** |  [CreateUserPoolClient](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_CreateUserPoolClient.html#CognitoUserPools-CreateUserPoolClient-request-PreventUserExistenceErrors), [UpdateUserPoolClient](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UpdateUserPoolClient.html#CognitoUserPools-UpdateUserPoolClient-request-PreventUserExistenceErrors) `PreventUserExistenceErrors`