CVE-2018-15133Laravel Framework
Remote Code Execution via Deserialization in Laravel Framework
High 8.1 KEV No auth neededHigh EPSS
Follow: this CVE · Laravel · Laravel Framework We alert you by email or Slack (account required).
- Priority
- 71
- CVSS 3.1
- 8.1
- EPSS
- 76.6% probability of exploitation in 30 days · percentile 100
- Auth required
- No
- In KEV since
- Jan 16, 2024
- CISA deadline
- Feb 6, 2024
- Ransomware use
- Unknown
- Published
- Aug 9, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-502
- SSVC (CISA)
- Exploitation: active · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Laravel Framework versions 5.5.40 and earlier, and 5.6.0 through 5.6.29, contain an unsafe deserialization vulnerability in the X-XSRF-TOKEN. An attacker who knows the application key (APP_KEY) can execute remote code without authentication. CISA confirmed this vulnerability is actively exploited.
Show the original NVD text
In Laravel Framework through 5.5.40 and 5.6.x through 5.6.29, remote code execution might occur as a result of an unserialize call on a potentially untrusted X-XSRF-TOKEN value. This involves the decrypt method in Illuminate/Encryption/Encrypter.php and PendingBroadcast in gadgetchains/Laravel/RCE/3/chain.php in phpggc. The attacker must know the application key, which normally would never occur, but could happen if the attacker previously had privileged access or successfully accomplished a previous attack.
Exploitation confirmed by CISA
Laravel Framework contains a deserialization of untrusted data vulnerability, allowing for remote command execution. This vulnerability may only be exploited if a malicious user has accessed the application encryption key (APP_KEY environment variable).
Action required by CISA: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
What to do
Patch available · fixed versions: 5.6.30
Update Laravel Framework to version 5.6.30 or later. Protect the application key (APP_KEY) and review if it has been compromised.
- Apply the vendor's security update for Laravel Framework.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was February 6, 2024.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
- Check logs for signs of earlier exploitation.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | laravel/framework |
≤ 5.5.40 |
no fixed version | — |
| Packagist | laravel/framework |
≥ 5.6.0 < 5.6.30 |
5.6.30 |
composer require "laravel/framework:^5.6.30" |
Per OSV / GitHub Advisories (GHSA-qvqm-h22r-4cp9). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| laravel | laravel | ≤ 5.5.40 |
| laravel | laravel | ≥ 5.6.0 ≤ 5.6.29 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- laravel.com Vendor Advisory
- www.cisa.gov US Government Resource