Missing Authorization in OpenEMR - #VU158857
Published: November 3, 2026
Vulnerability details
The vulnerability allows a remote user to bypass registered OAuth2 grant-type restrictions and obtain access tokens without user consent or consent-based scope restrictions.
The vulnerability exists due to missing authorization checks in OpenEMR's OAuth2 client validation when processing grant requests, allowing registered clients to use enabled grant types regardless of their registration. A remote user can submit grant_type=password to /oauth2/default/token using a confidential client's credentials and a user's username and password to obtain a token with requested registered scopes without presenting the user with a consent screen.