Advisories · PHP & Laravel
CVE-2018-15133
High
CVSS 8.1
Laravel decryption when APP_KEY is known
Disclosed 2018 · Last reviewed 2 Dec 2026
Anyone who already had APP_KEY could forge a decrypted payload. The key is the secret. The framework bug made that forgery reach code execution on those old releases.
What happened
The encrypter unserialized the decrypted value.
Affected and patched versions
- Affected
- Laravel 5.6.29 and earlier in that era, when APP_KEY had already leaked.
- Patched
- Later Laravel releases changed the encryption path. Rotating a leaked APP_KEY is still required.
How to check your server
Check
composer show laravel/framework
How to fix and harden
- Treat a leaked APP_KEY as a full application compromise.
- Rotate the key, which logs users out, and upgrade off the 5.6-era release.
- Do not commit .env.
Fix
composer show laravel/framework
Sources
Version ranges and fixes follow the vendor advisory. When a distribution backports a fix, trust its security tracker over the upstream version number. New advisories: RSS · JSON