CVE-2025-48951: Auth0/auth0 php Auth0-PHP SDK Deserialization Of Untrusted Vulnerability
CRITICALCVE-2025-48951 is a CRITICAL auth0-php sdk deserialization of untrusted vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Auth0/auth0 php libraries in the Packagist ecosystem. The issue involves auth0-php sdk deserialization of untrusted data vulnerability. Remediation is available by upgrading affected packages to version 8.3.1.
CVE-2025-48951 at a Glance
How to Fix CVE-2025-48951
To remediate this vulnerability, upgrade all affected Auth0/auth0 php dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade auth0/auth0-php to 8.3.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for auth0/auth0-php
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-48951, inspect your project dependencies for Auth0/auth0 php:
inspect dependencies for auth0/auth0-php
Analyze the terminal output to locate any version of Auth0/auth0 php in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 8.3.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Auth0/auth0 php, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-48951 Affected Auth0/auth0 php Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
auth0/auth0-php
|
Packagist |
≥ 8.0.0-BETA3
< 8.3.1
|
8.3.1
|
References
Frequently Asked Questions
What is CVE-2025-48951?
Which Auth0/auth0 php versions are affected?
What version fixes CVE-2025-48951?
Is auth0/auth0-php affected?
What CWE is associated with CVE-2025-48951?
How can I check Packagist dependencies for CVE-2025-48951?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-v9m8-9xxp-q492",
"modified" : "2025-06-04T22:56:42Z",
"published" : "2025-06-04T20:31:39Z",
"aliases" : [ "CVE-2025-48951" ],
"summary" : "Auth0-PHP SDK Deserialization of Untrusted Data vulnerability",
"details" : "**Overview**\nThe 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.\n\n**Am I Affected?**\nYou are affected by this vulnerability if you meet the following preconditions:\n\n1. Applications using the Auth0-PHP SDK, versions between 8.0.0-BETA3 to 8.3.0. \n2. Applications using the following SDKs that rely on the Auth0-PHP SDK versions between 8.0.0-BETA3 to 8.3.0:\n a. Auth0/symfony,\n b. Auth0/laravel-auth0,\n c. Auth0/wordpress.\n\n**Fix**\nUpgrade Auth0/Auth0-PHP to 8.3.1.\n\n**Acknowledgement**\nOkta would like to thank Andreas Forsblom for discovering this vulnerability.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "auth0/auth0-php"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0.0-BETA3"
}, {
"fixed" : "8.3.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/auth0/auth0-PHP/security/advisories/GHSA-v9m8-9xxp-q492"
}, {
"type" : "WEB",
"url" : "https://github.com/auth0/laravel-auth0/security/advisories/GHSA-c42h-56wx-h85q"
}, {
"type" : "WEB",
"url" : "https://github.com/auth0/symfony/security/advisories/GHSA-98j6-67v3-mw34"
}, {
"type" : "WEB",
"url" : "https://github.com/auth0/wordpress/security/advisories/GHSA-862m-5253-832r"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-48951"
}, {
"type" : "WEB",
"url" : "https://github.com/auth0/auth0-PHP/commit/04b1f5daa8bdfebc5e740ec5ca0fb2df1648a715"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/auth0/auth0-PHP"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2025-06-04T20:31:39Z",
"nvd_published_at" : "2025-06-03T21:15:21Z"
}
}