CVE-2025-68129: Auth0-PHP SDK has Improper Audience Validation
Description In applications built with the Auth0-PHP SDK, the audience validation in access tokens is performed improperly. Without proper validation, affected applications may accept ID tokens as Access tokens. Affected product and versions Projects are affected if they meet the following preconditions:
- Applications using the Auth0-PHP SDK, versions between v8.0.0 and v8.17.0, or - Applications using the following SDKs that rely on the Auth0-PHP SDK versions between v8.0.0 and v8.17.0: - a. Auth0/symfony, - b. Auth0/laravel-auth0, - c. Auth0/wordpress.
Resolution Upgrade Auth0/Auth0-PHP to version 8.18.0 or greater.
Acknowledgement Okta would like to thank Jafar Sadiq (iaf4r) for their discovery and responsible disclosure.
Other sources
Auth0-PHP is a PHP SDK for Auth0 Authentication and Management APIs. In applications built with the Auth0-PHP SDK, the audience validation in access tokens is performed improperly. Without proper validation, affected applications may accept ID tokens as Access tokens. Projects are affected if they use Auth0-PHP SDK versions between v8.0.0 and v8.17.0, or applications using the following SDKs that rely on the Auth0-PHP SDK versions between v8.0.0 and v8.17.0: Auth0/symfony versions between 5.0.0 and 5.5.0, Auth0/laravel-auth0 versions between 7.0.0 and 7.19.0, and/or Auth0/wordpress plugin versions between 5.0.0-BETA0 and 5.4.0. Auth0/Auth0-PHP version 8.18.0 contains a patch for the issue.
— MITRE
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-68129?
CVE-2025-68129 has a medium severity level due to improper audience validation in access tokens.
How do I fix CVE-2025-68129?
To fix CVE-2025-68129, upgrade the Auth0-PHP SDK to version 8.18.0 or later.
What impact does CVE-2025-68129 have on my application?
CVE-2025-68129 can lead to security risks by allowing applications to improperly accept ID tokens as access tokens.
Which versions of Auth0-PHP are affected by CVE-2025-68129?
CVE-2025-68129 affects Auth0-PHP versions between 8.0.0 and 8.18.0.
Is my application vulnerable if it uses Auth0-PHP SDK?
Yes, your application is vulnerable to CVE-2025-68129 if it uses affected versions of the Auth0-PHP SDK without the proper fix.