The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-48951

CVE-2025-48951: Auth0-PHP SDK Auth Bypass Vulnerability

CVE-2025-48951 is an authentication bypass vulnerability in Auth0-PHP SDK caused by insecure deserialization of cookie data. Attackers can exploit this flaw to bypass authentication. Learn about affected versions and patches.

Published: March 11, 2026

CVE-2025-48951 Overview

Auth0-PHP is a PHP SDK for Auth0 Authentication and Management APIs. A critical insecure deserialization vulnerability exists in versions 8.0.0-BETA3 prior to 8.3.1 due to improper handling of cookie data. Since the SDK processes cookie content without prior authentication, a threat actor could send a specially crafted cookie containing malicious serialized data to compromise affected applications.

Critical Impact

Unauthenticated attackers can exploit insecure deserialization in cookie handling to potentially achieve remote code execution, data manipulation, or unauthorized access to systems running vulnerable Auth0-PHP SDK versions.

Affected Products

  • Auth0-PHP SDK versions 8.0.0-BETA3 to 8.3.0
  • Auth0/symfony SDK (versions relying on Auth0-PHP 8.0.0-BETA3 to 8.14.0)
  • Auth0/laravel-auth0 SDK (versions relying on Auth0-PHP 8.0.0-BETA3 to 8.14.0)
  • Auth0/wordpress SDK (versions relying on Auth0-PHP 8.0.0-BETA3 to 8.14.0)

Discovery Timeline

  • 2025-06-03 - CVE-2025-48951 published to NVD
  • 2025-06-04 - Last updated in NVD database

Technical Details for CVE-2025-48951

Vulnerability Analysis

This vulnerability is classified as CWE-502 (Deserialization of Untrusted Data). The core issue lies in how the Auth0-PHP SDK's CookieStore component processes serialized data from cookies without adequate validation or sanitization. Because authentication is not required before the SDK processes cookie content, any external actor can craft malicious payloads that will be deserialized by the application.

Insecure deserialization vulnerabilities are particularly dangerous in PHP environments due to the language's magic methods (such as __wakeup(), __destruct(), and __toString()) that can be triggered during the unserialization process. An attacker who controls serialized data can potentially chain gadgets present in the application's codebase to achieve arbitrary code execution, file operations, or other malicious activities.

The scope of this vulnerability extends beyond the Auth0-PHP SDK itself, as multiple downstream frameworks depend on it. Applications built with Auth0/symfony, Auth0/laravel-auth0, and Auth0/wordpress are all potentially affected if they use the vulnerable SDK versions.

Root Cause

The vulnerability stems from the CookieStore implementation in Auth0-PHP SDK deserializing user-supplied cookie data without proper validation. PHP's native unserialize() function, when used on untrusted input, allows attackers to instantiate arbitrary objects and trigger their magic methods. The SDK failed to implement sufficient safeguards such as signature verification, allowed class whitelisting, or alternative safe serialization formats before processing cookie data.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by:

  1. Crafting a malicious serialized PHP object payload
  2. Encoding the payload appropriately for cookie transmission
  3. Sending the crafted cookie to a vulnerable application endpoint
  4. The Auth0-PHP SDK automatically deserializes the cookie data during session handling
  5. Malicious object instantiation triggers gadget chains leading to code execution or data manipulation

The security patch addressed reliability and performance improvements to the CookieStore component. Below is a portion of the dependency updates from the fix:

text
     "pestphp/pest": "^1.21",
     "php-http/mock-client": "^1.5",
     "phpstan/phpstan": "^1.7",
-    "phpstan/phpstan-strict-rules": "^1.3",
+    "phpstan/phpstan-strict-rules": "1.4.3",
     "phpunit/phpunit": "^9.5",
     "rector/rector": "^0.13.6",
     "squizlabs/php_codesniffer": "^3.7",

Source: GitHub Commit Update

Detection Methods for CVE-2025-48951

Indicators of Compromise

  • Unusual or malformed cookie values containing Base64-encoded or serialized PHP object patterns (e.g., O:, a:, s: prefixes)
  • Application errors or exceptions related to PHP unserialization failures in logs
  • Unexpected object instantiation or method invocations in Auth0 session handling code paths
  • Signs of post-exploitation activity such as unauthorized file creation, modified configurations, or outbound connections

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block serialized PHP object patterns in cookie headers
  • Monitor application logs for deserialization errors, class not found exceptions, or unusual Auth0 SDK stack traces
  • Deploy runtime application self-protection (RASP) solutions that can detect object injection attempts
  • Use static analysis tools to identify vulnerable unserialize() calls processing user-controlled input

Monitoring Recommendations

  • Enable verbose logging for Auth0 SDK session and cookie handling operations
  • Set up alerts for repeated failed authentication attempts or session anomalies
  • Monitor for unusual application behavior patterns that may indicate successful exploitation
  • Review web server access logs for requests with abnormally large or suspicious cookie headers

How to Mitigate CVE-2025-48951

Immediate Actions Required

  • Upgrade Auth0-PHP SDK to version 8.3.1 or later immediately
  • For Auth0/symfony, Auth0/laravel-auth0, and Auth0/wordpress users, update to versions that depend on the patched Auth0-PHP SDK
  • Audit application dependencies to confirm no vulnerable SDK versions remain in use
  • Review application logs for any signs of exploitation attempts prior to patching

Patch Information

Auth0 has released version 8.3.1 of the Auth0-PHP SDK which contains the fix for this vulnerability. The patch implements security improvements to the CookieStore component to prevent insecure deserialization attacks. Full details are available in the Auth0-PHP Security Advisory.

Related security advisories have been published for dependent SDKs:

  • Laravel Auth0 Security Advisory
  • Symfony Security Advisory
  • WordPress Security Advisory

Workarounds

  • If immediate patching is not possible, consider implementing additional input validation on cookie data before it reaches the Auth0 SDK
  • Deploy a WAF with rules to filter potentially malicious serialized PHP payloads in cookies
  • Temporarily disable cookie-based session storage in favor of alternative storage mechanisms if supported by your application architecture
  • Implement network-level controls to restrict access to affected applications while patching is in progress
bash
# Update Auth0-PHP SDK using Composer
composer require auth0/auth0-php:^8.3.1

# Verify installed version
composer show auth0/auth0-php | grep version

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechAuth0 Php

  • SeverityCRITICAL

  • CVSS Score9.3

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-502
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory

  • GitHub Security Advisory

  • GitHub Security Advisory

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-34236: Auth0-PHP SDK Auth Bypass Vulnerability

  • CVE-2025-47275: Auth0-PHP SDK Auth Bypass Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English