CVE-2026-17194: GitLab Approval Bypass on Branches

GitLab has fixed a flaw that let a developer merge code into protected branches without triggering the approval reset that is supposed to force a fresh review. The vulnerability, CVE-2026-17194, was published on 26 November and is rated medium severity with a CVSS score of 5.7.
The problem sits in GitLab's merge request approval change detection. When a merge request is approved, GitLab fingerprints the change set so that any later edit resets the approval and sends the request back for review. That fingerprint was built with an additive character checksum, a weak, non-cryptographic hash. An authenticated user with developer permissions could craft a malicious change set that produces the same fingerprint as the already-approved version, so the approval never reset and the new code slipped into a protected branch.
GitLab has replaced the checksum with SHA-256 in the patched releases. The flaw affects GitLab Community and Enterprise Editions from version 16.7.0 up to 19.4.10, 19.5 up to 19.5.8, and 19.6 up to 19.6.1. The fix is in versions 19.4.11, 19.5.9 and 19.6.2, released as part of GitLab's 25 November patch release. The vulnerability was reported by researcher secundumkid through GitLab's HackerOne bug bounty programme.
Why a medium flaw still matters
A score of 5.7 understates the practical risk for teams that rely on approvals as a control. The flaw does not give an attacker higher privileges or let them run code on the server, and it needs an account with developer access. But branch protection exists precisely to stop unreviewed code reaching production, and this bypass defeats that control silently: the merge looks approved, the history shows an approval, and nothing in the ordinary workflow flags that the code reviewed was not the code merged.
For organisations with compliance or audit requirements around code review, that is the real damage. An insider, or an attacker who has already stolen a developer's credentials, could introduce a backdoor or a subtle logic change into a protected branch while the approval trail still looks clean. GitLab's own guidance reflects that: alongside upgrading, it advises teams to review merge request and approval history on protected branches for the period before the patch, looking for rapid successive change sets on the same request without intervening approval resets.
What administrators should do
Upgrade to 19.4.11, 19.5.9 or 19.6.2, depending on the release line in use. After patching, audit recent merges into protected branches, check which accounts hold developer roles, and confirm that approval rules reset on every change as expected. No exploitation of the flaw has been reported, and no public exploit has been confirmed, but the fix is available now and the bypass is straightforward enough that defenders should not wait for one to appear.