CVE-2026-3307 PUBLISHED

Authorization bypass in GitHub Enterprise Server secret scanning push protection allows cross-repository modification of delegated bypass reviewers

Assigner: GitHub_P
Reserved: 26.02.2026 Published: 21.04.2026 Updated: 21.04.2026

An authorization bypass vulnerability was identified in GitHub Enterprise Server that allowed an attacker with admin access on one repository to modify the secret scanning push protection delegated bypass reviewer list on another repository by manipulating the owner_id parameter in the request body. Authorization was verified against the repository in the URL, but the action was applied to a different repository specified in the request body. The impact is limited to assigning existing trusted users as bypass reviewers; it does not allow adding arbitrary external users. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.21 and was fixed in versions 3.14.25, 3.15.20, 3.16.16, 3.17.13, 3.18.7, 3.19.4 and 3.20.1. This vulnerability was reported via the GitHub Bug Bounty program.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
CVSS Score: 5.3

Product Status

Vendor GitHub
Product Enterprise Server
Versions Default: affected
  • affected from 3.14.0 to 3.14.24 (incl.)
  • affected from 3.15.0 to 3.15.19 (incl.)
  • affected from 3.16.0 to 3.16.15 (incl.)
  • affected from 3.17.0 to 3.17.12 (incl.)
  • affected from 3.18.0 to 3.18.6 (incl.)
  • affected from 3.19.0 to 3.19.3 (incl.)
  • affected from 3.20 to 3.20.0 (incl.)

Credits

  • ahacker1 finder

References

Problem Types

  • CWE-639 Authorization Bypass Through User-Controlled Key CWE

Impacts

  • CAPEC-58 Restful Privilege Elevation