CVE-2026-87720
Last modified
CVE-2026-87720 is a high-severity vulnerability rated 7.6/10 on the CVSS scale. 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. EPSS estimates a 0.25% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Gerrit | Gerrit | >= 2.16.0, < 3.12.10; >= 3.13.0, < 3.13.9; >= 3.14.0, < 3.14.3 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-87720?
How severe is CVE-2026-87720?
How do I fix CVE-2026-87720?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-8769A vulnerability was determined in vercel ai up to 3.0.97. Th…6.5
- CVE-2026-8770A vulnerability was identified in continuedev continue up to…3.3
- CVE-2026-87701Improper neutralization of special elements in output used b…9.6
- CVE-2026-8771A security flaw has been discovered in linlinjava litemall u…7.3
- CVE-2026-87719GitLab has remediated an issue in GitLab EE affecting all ve…9.9
- CVE-2026-8772A weakness has been identified in linlinjava litemall up to …4.7
- CVE-2026-87721Uncontrolled Resource Consumption (CWE-400 / CWE-407) in the…8.7
- CVE-2026-87722Uncontrolled Resource Consumption (CWE-400 / CWE-1333) in re…8.7
- CVE-2026-87724Tor before 0.4.9.12 interprets the CC_RESPONSE extension eve…6.5
- CVE-2026-87727a-blog cms Ver. 3.2.33 and earlier contains a path traversal…6.9
- CVE-2026-8773A security vulnerability has been detected in linlinjava lit…4.7
- CVE-2026-87730Rejected reason: this is rejected
Are you affected by CVE-2026-87720?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
