GHSA-m27r-m6rx-mhm4
Laravel Redis Horizontal Scaling Insecure Deserialization
Quick fix
GHSA-m27r-m6rx-mhm4 — laravel/reverb: upgrade to the fixed version with the command below.
composer require laravel/reverb:^1.7.0Details
### Impact
This vulnerability affects Laravel Reverb versions prior to v1.7.0 when horizontal scaling is enabled (`REVERB_SCALING_ENABLED=true`).
The exploitability of this vulnerability is increased because Redis servers are commonly deployed without authentication.
With horizontal scaling enabled, Reverb servers communicate via Redis PubSub. Reverb previously passed data from the Redis channel directly into PHP’s `unserialize()` function without restricting which classes could be instantiated.
**Risk:** Remote Code Execution (RCE)
### Patches This vulnerability is fixed in Laravel Reverb v1.7.0.
Update your dependency to `laravel/reverb: ^1.7.0` immediately.
### Workarounds If you cannot upgrade to v1.7.0, you should apply the following mitigations:
* Redis Security: Require a strong password for Redis access and ensure the service is only accessible via a private network or local loopback. * Disable Scaling: If your environment uses only one Reverb node, set `REVERB_SCALING_ENABLED=false` to bypass the vulnerable logic entirely.
### Credits This vulnerability was discovered and responsibly reported by Mohammad Yaser Abo-Elmaaty @m0h4mmad
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/laravel/reverb/security/advisories/GHSA-m27r-m6rx-mhm4[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2026-23524[ADVISORY]
- https://github.com/laravel/reverb/commit/9ec26f8ffbb701f84920dd0bb9781a1797591f1a[WEB]
- https://github.com/laravel/reverb[PACKAGE]
- https://github.com/laravel/reverb/releases/tag/v1.7.0[WEB]
- https://laravel.com/docs/12.x/reverb#scaling[WEB]
- https://laravel.com/docs/reverb#scaling[WEB]