An improper access control issue was identified in GitHub Enterprise Server, allowing authenticated users to gain write access to unauthorized repositories via specifically crafted pull requests and REST API requests. To exploit this, an attacker would need to be able to fork the targeted repository, a setting that is disabled by default for organization-owned private repositories. Branch protections, such as required pull request reviews or status checks, would prevent unauthorized commits from being merged without further review or validation.