# CVE-2026-87720: Incorrect Authorization via Stale ProjectCache Eviction and Repeated .git Suffixes in Gerrit Code Review

- Severity: High 7.6 (CVSS:4.0, scored by Google) `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-24T21:59:06.994Z
- Modified: 2026-09-25T17:17:16.687Z
- Weaknesses: CWE-613, CWE-706, CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: Google

## Description

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.

(As written by CVE List.)

## Affected

- Gerrit Gerrit: from 2.16.0 before 3.12.10; from 3.13.0 before 3.13.9; from 3.14.0 before 3.14.3

## References

- <https://issues.gerritcodereview.com/issues/538883789> (exploit)

## Sources

- CVE List: [CVE-2026-87720](https://www.cve.org/CVERecord?id=CVE-2026-87720), CVE Terms of Use, modified 2026-09-25
- NVD: [CVE-2026-87720](https://nvd.nist.gov/vuln/detail/CVE-2026-87720), Public domain, modified 2026-09-25

---

Page: https://cve.day/CVE-2026-87720 · Whole record: https://cve.day/CVE-2026-87720.json · Rebuilt by cve.day 2026-11-25T22:59:40.913Z
