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.
Published: 2026-05-13
Score: 6 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Tue, 26 May 2026 12:15:00 +0000

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


Wed, 13 May 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 13 May 2026 11:00:00 +0000

Type Values Removed Values Added
First Time appeared Gerrit
Gerrit gerrit
Vendors & Products Gerrit
Gerrit gerrit

Wed, 13 May 2026 06:00:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: Google

Published:

Updated: 2026-05-13T14:44:08.541Z

Reserved: 2026-02-18T21:50:06.426Z

Link: CVE-2026-2725

cve-icon Vulnrichment

Updated: 2026-05-13T14:44:05.432Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-05-13T06:16:14.090

Modified: 2026-05-13T16:16:38.627

Link: CVE-2026-2725

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-05-13T05:32:49Z

Links: CVE-2026-2725 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-05-26T14:00:06Z

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key

  • CWE-863

    Incorrect Authorization