CVE-2025-68129: Auth0/auth0 php Auth0-PHP SDK Has Improper Audience Vulnerability

MODERATE
Advisory Identifier: GHSA-j2vm-wrq3-f7gf
CVSS 6.8
CWE-863
Published
Advisory Summary

CVE-2025-68129 is a MODERATE (CVSS 6.8) auth0-php sdk has improper audience vulnerability (CWE-863: Incorrect Authorization) affecting Auth0/auth0 php libraries in the Packagist ecosystem. The issue involves auth0-php sdk has improper audience validation. Remediation is available by upgrading affected packages to version 8.18.0.

CVE-2025-68129 at a Glance

CVE Identifier CVE-2025-68129
GHSA Identifier GHSA-j2vm-wrq3-f7gf
Severity MODERATE
CVSS v3.1 Base Score 6.8
CWE Classification CWE-863: Incorrect Authorization
Affected Product Auth0/auth0 php
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 6.8

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

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
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-68129

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.18.0
Upgrade auth0/auth0-php to 8.18.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-68129, 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.18.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-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. 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

### Description In applications built with the Auth0-PHP SDK, the audience validation in access tokens is performed improperly. Without proper validation, affected applications may accept ID tokens as Access tokens. ### Affected product and versions Projects are affected if they meet the following preconditions: - Applications using the Auth0-PHP SDK, versions between v8.0.0 and v8.17.0, or - Applications using the following SDKs that rely on the Auth0-PHP SDK versions between v8.0.0 and v8.17.0: - a. Auth0/symfony, - b. Auth0/laravel-auth0, - c. Auth0/wordpress. ### Resolution Upgrade Auth0/Auth0-PHP to version 8.18.0 or greater. ### Acknowledgement Okta would like to thank Jafar Sadiq (iaf4r) for their discovery and responsible disclosure.

CVE-2025-68129 Affected Auth0/auth0 php Versions

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

References

Frequently Asked Questions

What is CVE-2025-68129?
CVE-2025-68129 is a security vulnerability in Auth0/auth0 php involving Auth0-PHP SDK has Improper Audience Validation under CWE-863: Incorrect Authorization.
Which Auth0/auth0 php versions are affected?
Affected versions include releases prior to 8.18.0 across affected packages: auth0/auth0-php.
What version fixes CVE-2025-68129?
Upgrading to 8.18.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.18.0. Upgrade your dependency to 8.18.0 or later.
What is the CVSS score of CVE-2025-68129?
CVE-2025-68129 has a CVSS v3.1 base score of 6.8 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2025-68129?
CVE-2025-68129 is classified under CWE-863: Incorrect Authorization (The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.).
How can I check Packagist dependencies for CVE-2025-68129?
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-j2vm-wrq3-f7gf",
  "modified" : "2025-12-20T05:13:26Z",
  "published" : "2025-12-17T20:52:43Z",
  "aliases" : [ "CVE-2025-68129" ],
  "summary" : "Auth0-PHP SDK has Improper Audience Validation",
  "details" : "### Description\nIn applications built with the Auth0-PHP SDK, the audience validation in access tokens is performed improperly. Without proper validation, affected applications may accept ID tokens as Access tokens.\n### Affected product and versions\nProjects are affected if they meet the following preconditions:\n\n- Applications using the Auth0-PHP SDK, versions between v8.0.0 and v8.17.0, or\n- Applications using the following SDKs that rely on the Auth0-PHP SDK versions between v8.0.0 and v8.17.0:\n    - a. Auth0/symfony,\n    - b. Auth0/laravel-auth0,\n    - c. Auth0/wordpress.\n\n### Resolution\nUpgrade Auth0/Auth0-PHP to version 8.18.0 or greater.\n\n### Acknowledgement\nOkta would like to thank Jafar Sadiq (iaf4r) for their discovery and responsible disclosure.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:L/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"
      }, {
        "fixed" : "8.18.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/auth0/auth0-PHP/security/advisories/GHSA-j2vm-wrq3-f7gf"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/auth0/laravel-auth0/security/advisories/GHSA-7hh9-gp72-wh7h"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/auth0/symfony/security/advisories/GHSA-f3r2-88mq-9v4g"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/auth0/wordpress/security/advisories/GHSA-vvg7-8rmq-92g7"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-68129"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/auth0/auth0-PHP/commit/7fe700053aee609718460c123f00f53c511f0f7f"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/auth0/laravel-auth0/commit/a1c3344dc0e5a36e8f56c8cfc535728d3d7558f3"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/auth0/symfony/commit/0103d6f8dcef6996653fad1f823d1c167f472479"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/auth0/wordpress/commit/b207c6f7fd06507b90c4e6bcc18a857ef9e018de"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/auth0/auth0-PHP"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/auth0/auth0-PHP/releases/tag/8.18.0"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/auth0/laravel-auth0/releases/tag/7.20.0"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/auth0/symfony/releases/tag/5.6.0"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/auth0/wordpress/releases/tag/5.5.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-863" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-12-17T20:52:43Z",
    "nvd_published_at" : "2025-12-17T22:16:01Z"
  }
}