Origin validation error in magento-lts - CVE-2026-128044
Published: November 2, 2026 / Updated: November 13, 2026
Vulnerability details
The vulnerability allows a remote user to obtain an OAuth access token carrying an administrator's or customer's API privileges and use it to access or modify data with the victim's authority.
The vulnerability exists due to improper callback origin validation in Mage_Oauth_Model_Server::_validateCallbackUrlParam() and Mage_Oauth_Model_Token::validate() when processing a client-supplied oauth_callback. Callback validation accepts string-prefix matches against the registered URL, and _validateCallbackUrlParam() also accepts any well-formed absolute URL if the prefix check fails. For a registered callback of https://app.example, accepted bypass URLs include https://app.example.attacker.test/ and https://app.example@attacker.test/. A remote user can use a consumer's key and secret to submit an attacker-controlled callback and induce a logged-in administrator or customer to approve the authorization screen, capturing the redirected oauth_token and oauth_verifier and exchanging them for an access token with the victim's API privileges.