Laravel Encrypter Failure to decryption vulnerability
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub.
Summary
A potential exploit of the Laravel Encrypter component that may cause the Encrypter to fail on decryption and unexpectedly return false. To exploit this, the attacker must be able to modify the encrypted payload before it is decrypted. Depending on the code within your application, this could lead to unexpected behavior when combined with weak type comparisons, for example: ```php <?php $decyptedValue = decrypt($secret); if ($decryptedValue == '') { // Code is run even though decrypted value is false... } ```
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | illuminate/encryption (Packagist) | 5.5.0 to before 5.5.40 | 5.5.40 | Patch available | GHSA-6wjw-qf87-fv5v |
| — | illuminate/encryption (Packagist) | 5.6.0 to before 5.6.15 | 5.6.15 | Patch available | GHSA-6wjw-qf87-fv5v |
- illuminate/encryption (Packagist) Vendor— Affected 5.5.0 to before 5.5.40 Fixed in 5.5.40 Patch available GHSA-6wjw-qf87-fv5v
- illuminate/encryption (Packagist) Vendor— Affected 5.6.0 to before 5.6.15 Fixed in 5.6.15 Patch available GHSA-6wjw-qf87-fv5v
Remediation
- Fix · GHSA-6wjw-qf87-fv5v illuminate/encryption (Packagist) Fixed in 5.5.40 Advisory →
- Fix · GHSA-6wjw-qf87-fv5v illuminate/encryption (Packagist) Fixed in 5.6.15 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-6wjw-qf87-fv5v
References
Other 5
- https://github.com/illuminate/encryption/commit/51667a52bd7d135c6aa40a897656ffe9d3cd072d
- https://github.com/illuminate/encryption/commit/c80b1da6a0412bd74bd56dc80f6126f561631b05
- https://github.com/FriendsOfPHP/security-advisories/blob/master/illuminate/encryption/2018-03-30-1.yaml
- https://github.com/illuminate/encryption
- https://medium.com/@taylorotwell/laravel-security-release-5-6-15-and-5-5-40-56f1257933a0
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences