CVE-2025-48951: Auth0-PHP SDK Deserialization of Untrusted Data vulnerability
Overview The Auth0 PHP SDK contains a vulnerability due to insecure deserialization of cookie data. If exploited, since SDKs process cookie content without prior authentication, a threat actor could send a specially crafted cookie containing malicious serialized data.
Am I Affected? You are affected by this vulnerability if you meet the following preconditions:
1. Applications using the Auth0-PHP SDK, versions between 8.0.0-BETA3 to 8.3.0. 2. Applications using the following SDKs that rely on the Auth0-PHP SDK versions between 8.0.0-BETA3 to 8.3.0: a. Auth0/symfony, b. Auth0/laravel-auth0, c. Auth0/wordpress.
Fix Upgrade Auth0/Auth0-PHP to 8.3.1.
Acknowledgement Okta would like to thank Andreas Forsblom for discovering this vulnerability.
Other sources
Auth0-PHP is a PHP SDK for Auth0 Authentication and Management APIs. Versions 8.0.0-BETA3 prior to 8.3.1 contain a vulnerability due to insecure deserialization of cookie data. If exploited, since SDKs process cookie content without prior authentication, a threat actor could send a specially crafted cookie containing malicious serialized data. Applications using the Auth0-PHP SDK are affected, as are applications using the Auth0/symfony, Auth0/laravel-auth0, or Auth0/wordpress SDKs, because those SDKsrely on the Auth0-PHP SDK versions from 8.0.0-BETA3 until 8.14.0. Version 8.3.1 contains a patch for the issue.
— NVD
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-48951?
CVE-2025-48951 has been classified as a high-severity vulnerability due to the potential for unauthorized access through insecure deserialization of cookie data.
How do I fix CVE-2025-48951?
To mitigate CVE-2025-48951, upgrade to Auth0-PHP version 8.14.0 or later where the vulnerability has been addressed.
What impact does CVE-2025-48951 have on my application?
CVE-2025-48951 could allow attackers to manipulate cookie data, potentially leading to unauthorized user authentication and data exposure.
Which versions of Auth0-PHP are affected by CVE-2025-48951?
Auth0-PHP versions prior to 8.14.0 are affected by CVE-2025-48951.
Is there a known exploit for CVE-2025-48951?
As of now, there are no publicly known exploits for CVE-2025-48951, but the vulnerability presents a risk if not patched.