Laravel Cookie serialization vulnerabilityGHSA-2867-6rrm-38gr
GHSA-2867-6rrm-38gr is a security vulnerability in illuminate/cookie. A fix is available for illuminate/cookie — see the affected versions and patch details below.
Real-World Exposure
illuminate/cookieReal-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 5.6.30 is a security release of Laravel and is recommended as an immediate upgrade for all users. Laravel 5.6.30 also contains a breaking change to cookie encryption and serialization logic. Refer to laravel advisory for more details and read the notes carefully when upgrading your application.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | illuminate/cookie | ≥ 5.5.0&&< 5.6.30 | 5.6.30composer require illuminate/cookie:^5.6.30 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for illuminate/cookie, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update illuminate/cookie to 5.6.30 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-2867-6rrm-38gr 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-2867-6rrm-38gr in your dependencies?
Find it across Packagist, including transitive dependencies.