Incorrect authorization occurs during project name normalization in `ProjectUtil.stripGitSuffix()` and project cache eviction in `ProjectCacheImpl`. An authenticated user, or an unauthenticated user if the repository was previously public, can cause unauthorized disclosure of private repository content and restore revoked project-owner administrative privileges. This is achieved through crafted requests using repeated .git suffixes (e.g., project.git.git) across REST APIs, Gitiles, or SSH Git commands. The issue arises because the system strips only a single terminal .git suffix when creating the logical `ProjectCache` key, while JGit resolves the suffixed alias to the same canonical bare repository on disk. Consequently, revoking read access or removing owner rules on the canonical project name fails to evict the cached alias `ProjectState` during the cache validity window, allowing reads of private commits or writes to `refs/meta/config`.