CVE-2026-2725 Improper Authorization in Gerrit allowing Code Review Bypass via "Submitted Together"

Medium 6.0 Published Updated

An authenticated attacker with force push permissions can bypass code review restrictions to submit unapproved code to protected branches.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-2725?

CVE-2026-2725 is a medium-severity missing authorization vulnerability in Gerrit, published on 13 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Incorrect authorization in the "submitted together" feature in Gerrit versions 2.12 and later allows an authenticated attacker with force push permissions on a secondary branch to bypass code review and forcefully submit code to restricted branches via a crafted submission matching the "topic" tag of an unapproved change.

Weakness: CWE-863

Which versions are affected by CVE-2026-2725?

It affects 1 product.

Products include Google Gerrit.

How do I fix CVE-2026-2725?

No fix has been published for CVE-2026-2725 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-2725 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-2725 exists.

Sources

Also known as GHSA-h457-956r-2pr8.

Is CVE-2026-2725 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free