CVE Catalog
EnglishPolski(English translation not available - showing Polish)

CVE-2026-39976

HighCVSS 7.1
Published: Updated: Translated: NVD NIST

Summary

Laravel Passport, który zapewnia wsparcie dla serwera OAuth2 w Laravel, ma lukę w autoryzacji, która pozwala na ominięcie uwierzytelnienia dla tokenów client_credentials. Wersje od 13.0.0 do przed 13.7.1 nie weryfikują, czy identyfikator użytkownika jest rzeczywiście identyfikatorem użytkownika, co może prowadzić do niezamierzonego uwierzytelnienia maszyny jako rzeczywistego użytkownika.

Risk Assessment

Luka ta stwarza ryzyko, że dowolny token maszyny może uzyskać dostęp do zasobów jako autoryzowany użytkownik, co może prowadzić do nieautoryzowanego dostępu do danych i funkcji w aplikacji.

Recommendation

Zaleca się aktualizację Laravel Passport do wersji 13.7.1 lub nowszej, aby usunąć tę podatność i zapewnić odpowiednią weryfikację identyfikatorów użytkowników.

Related vulnerabilities

Original NVD description (English source)

Laravel Passport provides OAuth2 server support to Laravel. From 13.0.0 to before 13.7.1, there is an Authentication Bypass for client_credentials tokens. the league/oauth2-server library sets the JWT sub claim to the client identifier (since there's no user). The token guard then passes this value to retrieveById() without validating it's actually a user identifier, potentially resolving an unrelated real user. Any machine-to-machine token can inadvertently authenticate as an actual user. This vulnerability is fixed in 13.7.1.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS