Medium

Insecure State Generation in laravel/socialite

  • Disclosed: 15.05.2024
  • Updated: 11.10.2026 10:22

laravel/socialite versions prior to 2.0.9 are found to have an insecure state generation mechanism, potentially exposing the OAuth authentication process to security risks. The issue has been addressed in version 2.0.9 by ensuring that the state is generated using a truly random approach, enhancing the security of the OAuth flow.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package laravel/socialite >= 1.0.0, < 2.0.9 2.0.9

References

CVSS score -
Weakness (CWE)
CWE-331
Platform
Composer
Package
laravel/socialite
Disclosed
15.05.2024
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-h97c-qp24-439v - CC BY 4.0

Vulnerability history: laravel/socialite

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
2
First → latest
05.2024 05.2024
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Medium 2

Disclosures per year

  1. 2024: 2
  2. 2025: 0
  3. 2026: 0
  1. Insecure State Generation in laravel/socialite this entry
    Medium ghsa-h97c-qp24-439v >= 1.0.0, < 2.0.9 2.0.9
  2. Medium ghsa-7fjv-25q9-2w88 >= 1.0.0, < 2.0.10 2.0.10

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.