Improper Audience Validation in Auth0 Symfony SDK (5.0.0 - 5.5.0)

auth0/symfony Updated 17 Dec 2025

Summary

17/12/2025
MODERATE
Yes i
Moderate
6.8

GHSA-f3r2-88mq-9v4g: Auth0 Symfony SDK has Improper Audience Validation via Auth0-PHP SDK. Affects auth0/symfony versions >= 5.0.0, < 5.6.0. Fixed in 5.6.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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Auth0 Symfony SDK is a library that facilitates the integration of Auth0 authentication services into Symfony applications. It provides developers with tools to manage user authentication, authorization, and session management seamlessly. However, versions 5.0.0 to 5.5.0 of this SDK are vulnerable due to improper audience validation, which can lead to security risks if not addressed.

Vulnerability Detail

The vulnerability arises from the improper validation of audience claims in access tokens when using the Auth0-PHP SDK. This flaw allows applications to mistakenly accept ID tokens as access tokens, potentially leading to unauthorized access and security breaches. The issue is particularly concerning as it undermines the integrity of the authentication process, allowing malicious actors to exploit the system.

How To Fix

Minimum fixed version

5.6.0

This is the first release that contains the fix.

composer require auth0/symfony:5.6.0

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

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The recommended action is to upgrade to the patched version as soon as possible.

Conclusion

In summary, the Auth0 Symfony SDK versions 5.0.0 to 5.5.0 are vulnerable to improper audience validation, which can lead to significant security risks. It is crucial to upgrade to version 5.6.0 or higher to mitigate these risks and ensure the integrity of your application's authentication process.

See every vulnerability recorded for auth0/symfony →

Share this vulnerability

FAQ

The impact includes the potential for unauthorized access to applications, as ID tokens may be accepted as valid access tokens.

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

Versions 5.0.0 to 5.5.0 of the Auth0 Symfony SDK are affected by this vulnerability.

The CVSS score of this vulnerability is 6.8, indicating a moderate severity level.

The vulnerability was discovered by Jafar Sadiq (iaf4r) and was disclosed responsibly.

Related vulnerabilities

Recent vulnerabilities recorded for auth0/symfony.

How To Fix

Minimum fixed version

5.6.0

This is the first release that contains the fix.

composer require auth0/symfony:5.6.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