In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade laravel/passport to version 13.7.2 or higher.
Affected versions of this package are vulnerable to Improper Preservation of Permissions in the authentication process. An attacker can gain unauthorized access to user accounts by exploiting the handling of client_credentials tokens, which may allow a client token to be misinterpreted as a user token. This is only exploitable if the EnsureClientIsResourceOwner middleware is used together with Passport::$clientUuids set to false.
This vulnerability can be mitigated by disallowing usage of client_credentials.