{"schemaVersion":3,"id":"CVE-2026-87720","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-09-24T21:59:06.994Z","modified":"2026-09-25T16:55:03.232Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.6,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":7.6,"severity":"high","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":7.6,"severity":"high","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00251,"percentile":0.15326,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-09-25T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00251,"percentile":0.15326}],"last30":[{"date":"2026-09-25T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00251,"percentile":0.15326}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-613","name":"Insufficient Session Expiration","description":"According to WASC, \"Insufficient Session Expiration is when a web site permits an attacker to reuse old session credentials or session IDs for authorization.\"","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/613.html"},{"id":"CWE-706","name":"Use of Incorrectly-Resolved Name or Reference","description":"The product uses a name or reference to access a resource, but the name/reference resolves to a resource that is outside of the intended control sphere.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/706.html"},{"id":"CWE-863","name":"Incorrect Authorization","description":"The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/863.html"}],"affected":[{"vendor":"gerrit","product":"gerrit","name":"Gerrit","label":"gerrit","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.16.0, < 3.12.10","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.13.0, < 3.13.9","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.14.0, < 3.14.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.16.0, < 3.12.10 | ≥ 3.13.0, < 3.13.9 | ≥ 3.14.0, < 3.14.3","eol":null,"hubHref":"/vendor/gerrit/gerrit"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://issues.gerritcodereview.com/issues/538883789","label":"issues.gerritcodereview.com/issues/538883789","hostname":"issues.gerritcodereview.com","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-09-24T21:59:06.994Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-25T16:55:03.232Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T04:40:44.700Z","stale":false,"partial":false}}