State Guessing Vulnerability in laravel/socialiteGHSA-7fjv-25q9-2w88
Fix: laravel/socialite#93GHSA-7fjv-25q9-2w88 is a security vulnerability in laravel/socialite. A fix is available for laravel/socialite — see the affected versions and patch details below.
Real-World Exposure
laravel/socialiteReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
Description
laravel/socialite versions prior to 2.0.10 are susceptible to a security vulnerability related to state guessing during OAuth authentication. This vulnerability could potentially lead to session hijacking, allowing attackers to compromise user sessions. The issue has been addressed and fixed in version 2.0.10.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | laravel/socialite | ≥ 1.0.0&&< 2.0.10 | 2.0.10composer require laravel/socialite:^2.0.10 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for laravel/socialite, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update laravel/socialite to 2.0.10 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-7fjv-25q9-2w88 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-7fjv-25q9-2w88 in your dependencies?
Find it across Packagist, including transitive dependencies.