CVE-2025-47275: Auth0-PHP SDK Session Cookie Vulnerability Leading to Unauthorized Access

auth0/auth0-php Updated 02 Oct 2025

Summary

16/05/2025
Yes i
Critical
9.1

CVE-2025-47275: Brute Force Authentication Tags of CookieStore Sessions in Auth0-PHP SDK. Affects auth0/auth0-php versions >= 8.0.0-BETA1, < 8.14.0. Fixed in 8.14.0. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Auth0-PHP SDK is a widely used library for integrating authentication and authorization into PHP applications. It provides developers with tools to implement secure user authentication, manage sessions, and handle user data. However, a critical vulnerability has been identified in applications using this SDK when configured with CookieStore for session storage, which can lead to unauthorized access due to weak encryption mechanisms.

Vulnerability Detail

The vulnerability arises from the session cookies generated by the Auth0-PHP SDK, which are configured with CookieStore. These cookies contain authentication tags that can be brute-forced, allowing an attacker to gain unauthorized access to user sessions. This issue is particularly concerning for applications that rely on the integrity of session management for security. The vulnerability is classified under CWE-287, indicating improper authentication.

How To Fix

Minimum fixed version

8.14.0

This is the first release that contains the fix.

composer require auth0/auth0-php:8.14.0

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

Workaround

As a temporary workaround, consider switching to an alternative session storage mechanism instead of CookieStore until the upgrade can be applied. This may involve using database or file-based session storage to mitigate the risk associated with the vulnerable session cookies.

Conclusion

The Auth0-PHP SDK vulnerability (CVE-2025-47275) poses a critical risk to applications using CookieStore for session management. It is essential to upgrade to version 8.14.0 to mitigate this risk and ensure the security of user sessions. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for auth0/auth0-php →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 9.1, indicating a critical level of severity.

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

After upgrading to version 8.14.0, any previously issued session cookies will be rejected, requiring users to log in again.

Continuing to use the Auth0-PHP SDK without upgrading poses a significant security risk due to the potential for unauthorized access through brute-forced session cookies.

If an immediate upgrade is not possible, consider implementing a workaround by switching to a different session storage method to reduce the risk of exploitation.

Related vulnerabilities

Recent vulnerabilities recorded for auth0/auth0-php.

How To Fix

Minimum fixed version

8.14.0

This is the first release that contains the fix.

composer require auth0/auth0-php:8.14.0

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