CVE-2026-87720
Published:September 24, 2026
Updated:October 09, 2026
Incorrect Authorization (CWE-863) in project name normalization (ProjectUtil.stripGitSuffix) and ProjectCache eviction logic (ProjectCacheImpl) in Gerrit Code Review versions 2.16.0 through 3.12.9, 3.13.0 through 3.13.8, and 3.14.0 through 3.14.2 allows an authenticated user (or an unauthenticated user if the repository was previously public) to cause unauthorized disclosure of private repository content and durable restoration of revoked project-owner administrative privileges via crafted requests using repeated .git suffixes (such as project.git.git) across REST APIs, Gitiles, or SSH Git commands. Because Gerrit strips only a single terminal .git suffix when constructing the logical ProjectCache key while JGit (FileKey.lenient) resolves the suffixed alias to the same canonical bare repository on disk, revoking read access or removing owner rules on the canonical project name fails to evict the cached alias ProjectState during the cache validity window, enabling reads of newly created private commits or writes to refs/meta/config. This issue is fixed in Gerrit Code Review versions 3.12.10, 3.13.9, and 3.14.3.
Affected Packages
com.google.gerrit:gerrit-war (JAVA):
Affected version(s) >=3.13.0 <3.13.9Fix Suggestion:
Update to version 3.13.9com.google.gerrit:gerrit-plugin-api (JAVA):
Affected version(s) >=3.13.0 <3.13.9Fix Suggestion:
Update to version 3.13.9com.google.gerrit:gerrit-plugin-api (JAVA):
Affected version(s) >=3.0.0-rc0 <3.12.10Fix Suggestion:
Update to version 3.12.10com.google.gerrit:gerrit-war (JAVA):
Affected version(s) >=3.0.0-rc0 <3.12.10Fix Suggestion:
Update to version 3.12.10https://gerrit.googlesource.com/gerrit (SCM_GIT):
Affected version(s) >=v3.14.0 <v3.14.3Fix Suggestion:
Update to version v3.14.3https://gerrit.googlesource.com/gerrit (SCM_GIT):
Affected version(s) >=v3.0.0-rc0 <v3.12.10Fix Suggestion:
Update to version v3.12.10https://gerrit.googlesource.com/gerrit (SCM_GIT):
Affected version(s) >=v3.13.0 <v3.13.9Fix Suggestion:
Update to version v3.13.9Related Resources (2)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.6
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
EPSS
Base Score:
0.25