CVE-2026-2725

Improper Authorization in Gerrit allowing Code Review Bypass via "Submitted Together"

Published May 13, 2026 CVSS 4.0 · 6 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability is an improper authorization flaw in Gerrit's 'submitted together' feature, enabling an attacker who can force‑push to a secondary branch to bypass code review and forcefully submit changes to restricted branches. By crafting a submission that shares the same topic tag as an unapproved change, the attacker can trick Gerrit into treating the new change as part of the submitted group, thereby circumventing review and branch protection requirements. The impact is the ability to introduce code into protected branches without the intended peer‑review safeguards, compromising code integrity and potentially leading to unauthorized deployment of malicious or erroneous code.

Affected Systems

This issue affects Gerrit 2.12 and later. The flaw resides in the 'submitted together' functionality across all distributions of Gerrit that enable this feature, and is visible for any project where an authenticated user has force‑push access to a secondary branch.

Risk and Exploitability

The CVSS score of 6.0 indicates moderate overall risk. The EPSS score of 0.00035 indicates a very low likelihood of exploitation, though the existence of an exploit is documented. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires an authenticated user with force‑push privilege on a secondary branch, so attackers need existing access and must configure the 'submitted together' settings. Because the attack vector is limited to users who already have certain rights, the potential for widespread compromise is moderate but still significant for organizations where those permissions are abundant.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gerrit to a patched version that addresses the improper authorization issue in the 'submitted together' feature.
  • Restrict force‑push permissions on secondary branches for users who do not require them, limiting the number of accounts that could exploit this flaw.
  • Configure branch protection policies to enforce code review on all incoming changes, and consider disabling the 'submitted together' feature until a patch is applied.

Generated by OpenCVE AI on May 26, 2026 at 13:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-639
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N'}

threat_severity

Moderate

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Gerrit
Gerrit gerrit
Vendors & Products Gerrit
Gerrit gerrit
Type Values Removed Values Added
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.
Title Improper Authorization in Gerrit allowing Code Review Bypass via "Submitted Together"
Weaknesses CWE-863
References
Metrics cvssV4_0

{'score': 6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key

  • CWE-863

    Incorrect Authorization

Sources

Status
PUBLISHED
Assigner
Google
Published
Updated
Jul 6, 2026, 11:17 PM
Reserved
Feb 18, 2026, 9:50 PM
Status
Analyzed
Published
May 13, 2026, 6:16 AM
Modified
Jun 30, 2026, 7:02 PM
Severity
Moderate
Public date
May 13, 2026, 5:32 AM