GHSA-7hh9-gp72-wh7h: Auth0/login Auth0 Laravel SDK Has Improper Vulnerability

MODERATE
CVSS 6.8
CWE-1395 CWE-863
Published
Advisory Summary

GHSA-7hh9-gp72-wh7h is a MODERATE (CVSS 6.8) auth0 laravel sdk has improper vulnerability (CWE-1395: Dependency on Vulnerable Third-Party Component) affecting Auth0/login libraries in the Packagist ecosystem. The issue involves auth0 laravel sdk has improper audience validation via auth0-php sdk dependency. Remediation is available by upgrading affected packages to version 7.20.0.

GHSA-7hh9-gp72-wh7h at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-7hh9-gp72-wh7h
Severity MODERATE
CVSS v3.1 Base Score 6.8
CWE Classification CWE-1395: Dependency on Vulnerable Third-Party Component
Affected Product Auth0/login
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 GHSA-7hh9-gp72-wh7h

To remediate this vulnerability, upgrade all affected Auth0/login 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/login fixed: 7.20.0
Upgrade auth0/login to 7.20.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/login

How to Check if You Are Affected

To determine whether your application is affected by GHSA-7hh9-gp72-wh7h, inspect your project dependencies for Auth0/login:

inspect dependencies for auth0/login

Analyze the terminal output to locate any version of Auth0/login in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 7.20.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-1395: Dependency on Vulnerable Third-Party Component, where the product has a dependency on a third-party component that contains one or more known vulnerabilities. In Auth0/login, 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 Users are affected if they meet the following preconditions: - Applications using the Auth0 laravel-auth0 SDK with versions between 7.0.0 and 7.19.0, - Auth0 laravel-auth0 SDK uses the Auth0-PHP SDK with versions between 8.0.0 and 8.17.0. ### Resolution Upgrade Auth0/laravel-auth0 to version 7.20.0 or greater. ### Acknowledgement Okta would like to thank Jafar Sadiq (iaf4r) for their discovery and responsible disclosure.

GHSA-7hh9-gp72-wh7h Affected Auth0/login Versions

1 component(s)
Fixed Versions:
7.20.0
Product / Package Ecosystem Affected Versions Fixed Version
auth0/login
Packagist
≥ 7.0.0
< 7.20.0
7.20.0

References

Frequently Asked Questions

What is GHSA-7hh9-gp72-wh7h?
GHSA-7hh9-gp72-wh7h is a security vulnerability in Auth0/login involving Auth0 Laravel SDK has Improper Audience Validation via Auth0-PHP SDK dependency under CWE-1395: Dependency on Vulnerable Third-Party Component.
Which Auth0/login versions are affected?
Affected versions include releases prior to 7.20.0 across affected packages: auth0/login.
What version fixes GHSA-7hh9-gp72-wh7h?
Upgrading to 7.20.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is auth0/login affected?
Yes, auth0/login is affected in releases prior to 7.20.0. Upgrade your dependency to 7.20.0 or later.
What is the CVSS score of GHSA-7hh9-gp72-wh7h?
GHSA-7hh9-gp72-wh7h 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 GHSA-7hh9-gp72-wh7h?
GHSA-7hh9-gp72-wh7h is classified under CWE-1395: Dependency on Vulnerable Third-Party Component (The product has a dependency on a third-party component that contains one or more known vulnerabilities.).
How can I check Packagist dependencies for GHSA-7hh9-gp72-wh7h?
Run the dependency tree command: 'inspect dependencies for auth0/login'. 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-7hh9-gp72-wh7h",
  "modified" : "2025-12-17T20:55:50Z",
  "published" : "2025-12-17T20:55:50Z",
  "aliases" : [ ],
  "summary" : "Auth0 Laravel SDK has Improper Audience Validation via Auth0-PHP SDK dependency",
  "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\n### Affected product and versions\nUsers are affected if they meet the following preconditions:\n\n- Applications using the Auth0 laravel-auth0 SDK with versions between 7.0.0 and 7.19.0,\n- Auth0 laravel-auth0 SDK uses the Auth0-PHP SDK with versions between 8.0.0 and 8.17.0.\n\n### Resolution\nUpgrade Auth0/laravel-auth0 to version 7.20.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/login"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.0.0"
      }, {
        "fixed" : "7.20.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/auth0/laravel-auth0/security/advisories/GHSA-7hh9-gp72-wh7h"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/auth0/laravel-auth0/commit/a1c3344dc0e5a36e8f56c8cfc535728d3d7558f3"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/auth0/laravel-auth0"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/auth0/laravel-auth0/releases/tag/7.20.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1395", "CWE-863" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-12-17T20:55:50Z",
    "nvd_published_at" : null
  }
}