GHSA-98j6-67v3-mw34: Auth0/symfony Auth0 Symfony SDK Deserialization Of Vulnerability

CRITICAL
CWE-502
Published
Advisory Summary

GHSA-98j6-67v3-mw34 is a CRITICAL auth0 symfony sdk deserialization of vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Auth0/symfony libraries in the Packagist ecosystem. The issue involves auth0 symfony sdk deserialization of untrusted data vulnerability. Remediation is available by upgrading affected packages to version 5.1.0.

GHSA-98j6-67v3-mw34 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-98j6-67v3-mw34
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification CWE-502: Deserialization of Untrusted Data
Affected Product Auth0/symfony
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix GHSA-98j6-67v3-mw34

To remediate this vulnerability, upgrade all affected Auth0/symfony dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

auth0/symfony fixed: 5.1.0
Upgrade auth0/symfony to 5.1.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for auth0/symfony

How to Check if You Are Affected

To determine whether your application is affected by GHSA-98j6-67v3-mw34, inspect your project dependencies for Auth0/symfony:

inspect dependencies for auth0/symfony

Analyze the terminal output to locate any version of Auth0/symfony in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.1.0), 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/symfony, 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

**Overview** The Auth0 Symfony SDK contains a critical 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 Symfony SDK, versions between 5.0.0 BETA-0 to 5.0.0. 2. Auth0 Symfony SDK uses the Auth0-PHP SDK with version 8.0.0-BETA3 to 8.3.0. **Fix** Upgrade Auth0/symfony to the latest version (v5.4.0). **Acknowledgement** Okta would like to thank Andreas Forsblom for discovering this vulnerability.

GHSA-98j6-67v3-mw34 Affected Auth0/symfony Versions

1 component(s)
Fixed Versions:
5.1.0
Product / Package Ecosystem Affected Versions Fixed Version
auth0/symfony
Packagist
≥ 5.0.0-BETA0
< 5.1.0
5.1.0

References

Frequently Asked Questions

What is GHSA-98j6-67v3-mw34?
GHSA-98j6-67v3-mw34 is a security vulnerability in Auth0/symfony involving Auth0 Symfony SDK Deserialization of Untrusted Data vulnerability under CWE-502: Deserialization of Untrusted Data.
Which Auth0/symfony versions are affected?
Affected versions include releases prior to 5.1.0 across affected packages: auth0/symfony.
What version fixes GHSA-98j6-67v3-mw34?
Upgrading to 5.1.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is auth0/symfony affected?
Yes, auth0/symfony is affected in releases prior to 5.1.0. Upgrade your dependency to 5.1.0 or later.
What CWE is associated with GHSA-98j6-67v3-mw34?
GHSA-98j6-67v3-mw34 is classified under CWE-502: Deserialization of Untrusted Data (The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.).
How can I check Packagist dependencies for GHSA-98j6-67v3-mw34?
Run the dependency tree command: 'inspect dependencies for auth0/symfony'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-98j6-67v3-mw34",
  "modified" : "2025-06-06T00:07:08Z",
  "published" : "2025-06-06T00:07:08Z",
  "aliases" : [ ],
  "summary" : "Auth0 Symfony SDK Deserialization of Untrusted Data vulnerability",
  "details" : "**Overview**\nThe Auth0 Symfony SDK contains a critical 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\n**Am I Affected?**\nYou are affected by this vulnerability if you meet the following preconditions:\n\n1. Applications using the Auth0 Symfony SDK, versions between 5.0.0 BETA-0 to 5.0.0. \n2. Auth0 Symfony SDK uses the Auth0-PHP SDK with version 8.0.0-BETA3 to 8.3.0.\n\n**Fix**\nUpgrade Auth0/symfony to the latest version (v5.4.0).\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/symfony"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.0.0-BETA0"
      }, {
        "fixed" : "5.1.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 5.0.0"
    }
  } ],
  "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" : "PACKAGE",
    "url" : "https://github.com/auth0/symfony"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-502" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-06-06T00:07:08Z",
    "nvd_published_at" : null
  }
}