CVE-2025-47275: Auth0/auth0 php Remote Code Execution Vulnerability

CRITICAL
Advisory Identifier: GHSA-g98g-r7gf-2r25
CVSS 9.1
CWE-287
Published
Advisory Summary

CVE-2025-47275 is a CRITICAL (CVSS 9.1) remote code execution vulnerability (CWE-287: Improper Authentication) affecting Auth0/auth0 php libraries in the Packagist ecosystem. The issue involves brute force authentication tags of cookiestore sessions in auth0-php sdk. Remediation is available by upgrading affected packages to version 8.14.0.

CVE-2025-47275 at a Glance

CVE Identifier CVE-2025-47275
GHSA Identifier GHSA-g98g-r7gf-2r25
Severity CRITICAL
CVSS v3.1 Base Score 9.1
CWE Classification CWE-287: Improper Authentication
Affected Product Auth0/auth0 php
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 9.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2025-47275

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.

auth0/auth0-php fixed: 8.14.0
Upgrade auth0/auth0-php to 8.14.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/auth0-php

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-47275, 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.14.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-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. 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

**Overview** Session cookies of applications using the Auth0-PHP SDK configured with CookieStore have authentication tags that can be brute forced, which may result in unauthorized access. **Am I Affected?** You are affected by this vulnerability if you meet the following pre-conditions: 1. Applications using the Auth0-PHP SDK, or the following SDKs that rely on the Auth0-PHP SDK: a. Auth0/symfony, b. Auth0/laravel-auth0, c. Auth0/wordpress, 2. Session storage configured with CookieStore. **Fix** Upgrade Auth0/Auth0-PHP to v8.14.0. As an additional precautionary measure, we recommend rotating your cookie encryption keys. Note that once updated, any previous session cookies will be rejected. **Acknowledgement** Okta would like to thank Félix Charette for discovering this vulnerability.

CVE-2025-47275 Affected Auth0/auth0 php Versions

1 component(s)
Fixed Versions:
8.14.0
Product / Package Ecosystem Affected Versions Fixed Version
auth0/auth0-php
Packagist
≥ 8.0.0-BETA1
< 8.14.0
8.14.0

References

Frequently Asked Questions

What is CVE-2025-47275?
CVE-2025-47275 is a security vulnerability in Auth0/auth0 php involving Brute Force Authentication Tags of CookieStore Sessions in Auth0-PHP SDK under CWE-287: Improper Authentication.
Which Auth0/auth0 php versions are affected?
Affected versions include releases prior to 8.14.0 across affected packages: auth0/auth0-php.
What version fixes CVE-2025-47275?
Upgrading to 8.14.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is auth0/auth0-php affected?
Yes, auth0/auth0-php is affected in releases prior to 8.14.0. Upgrade your dependency to 8.14.0 or later.
What is the CVSS score of CVE-2025-47275?
CVE-2025-47275 has a CVSS v3.1 base score of 9.1 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2025-47275?
CVE-2025-47275 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check Packagist dependencies for CVE-2025-47275?
Run the dependency tree command: 'inspect dependencies for auth0/auth0-php'. 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-g98g-r7gf-2r25",
  "modified" : "2025-05-22T20:03:15Z",
  "published" : "2025-05-16T17:48:55Z",
  "aliases" : [ "CVE-2025-47275" ],
  "summary" : "Brute Force Authentication Tags of CookieStore Sessions in Auth0-PHP SDK",
  "details" : "**Overview**\nSession cookies of applications using the Auth0-PHP SDK configured with CookieStore have authentication tags that can be brute forced, which may result in unauthorized access.\n\n**Am I Affected?**\nYou are affected by this vulnerability if you meet the following pre-conditions:\n1. Applications using the Auth0-PHP SDK, or the following SDKs that rely on the Auth0-PHP SDK:\n    a. Auth0/symfony,\n    b. Auth0/laravel-auth0,\n    c. Auth0/wordpress,\n2. Session storage configured with CookieStore.\n\n**Fix**\nUpgrade Auth0/Auth0-PHP to v8.14.0. As an additional precautionary measure, we recommend rotating your cookie encryption keys. Note that once updated, any previous session cookies will be rejected.\n\n**Acknowledgement**\nOkta would like to thank Félix Charette for discovering this vulnerability.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "auth0/auth0-php"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.0.0-BETA1"
      }, {
        "fixed" : "8.14.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/auth0/auth0-PHP/security/advisories/GHSA-g98g-r7gf-2r25"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/auth0/laravel-auth0/security/advisories/GHSA-9fwj-9mjf-rhj3"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/auth0/symfony/security/advisories/GHSA-9wg9-93h9-j8ch"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/auth0/wordpress/security/advisories/GHSA-2f4r-34m4-3w8q"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-47275"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/auth0/auth0-PHP/commit/52a79480fdb246f59dbc089b81a784ae049bd389"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/auth0/auth0-PHP"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/auth0/auth0-PHP/releases/tag/8.14.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-05-16T17:48:55Z",
    "nvd_published_at" : "2025-05-15T22:15:18Z"
  }
}