CVE-2026-75542: Oauth Scope Prefix Authorization Bypass

Validating repository OAuth scopes using only string prefix matching (`String.starts_with?/2`) allows unauthorized access to arbitrary repositories. The principal's permissions must be verified against the specific repository.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Elixir
greprules fetch cve-2026-75542-oauth-scope-prefix-authorization-bypass --engine opengrep

Description

Validating repository OAuth scopes using only string prefix matching (`String.starts_with?/2`) allows unauthorized access to arbitrary repositories. The principal's permissions must be verified against the specific repository.