Critical Deserialization Vulnerability in laravel-auth0 SDK

auth0/login Updated 14 Dec 2025

Summary

06/06/2025
CRITICAL
Yes i
Critical
9.3

GHSA-c42h-56wx-h85q: laravel-auth0 SDK Deserialization of Untrusted Data vulnerability. Affects auth0/login versions >= 7.0.0-BETA1, < 7.2.2. Fixed in 7.2.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The laravel-auth0 SDK is a package that integrates Auth0 authentication services into Laravel applications, providing features such as user authentication, session management, and security enhancements. This SDK is widely used for its ease of integration and robust security features. However, it is vulnerable to a critical deserialization issue that can be exploited by attackers.

Vulnerability Detail

The laravel-auth0 SDK contains a critical vulnerability due to insecure deserialization of cookie data. This vulnerability arises because the SDK processes cookie content without prior authentication. An attacker can exploit this by sending a specially crafted cookie containing malicious serialized data, potentially leading to unauthorized access or data manipulation within the application.

How To Fix

Minimum fixed version

7.2.2

This is the first release that contains the fix.

composer require auth0/login:7.2.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can implement additional validation on cookie data before deserialization. However, this is not a substitute for upgrading to the patched version.

Conclusion

The laravel-auth0 SDK is vulnerable to a critical deserialization issue that can be exploited by attackers. It is essential to upgrade to the latest version to mitigate this risk. Regular monitoring and vulnerability management, such as using Vulert, can help keep your applications secure.

See every vulnerability recorded for auth0/login →

Share this vulnerability

FAQ

Versions between 7.0.0-BETA1 and 7.2.1 are affected by this vulnerability.

If exploited, attackers could gain unauthorized access to user data or manipulate application behavior.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

While the best solution is to upgrade, you can implement additional validation on cookie data as a temporary measure.

The vulnerability was discovered by Andreas Forsblom, and Okta has acknowledged this finding.

Related vulnerabilities

Recent vulnerabilities recorded for auth0/login.

How To Fix

Minimum fixed version

7.2.2

This is the first release that contains the fix.

composer require auth0/login:7.2.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback