CVE-2018-15133: Laravel Deserialization of Untrusted Data Vulnerability
CVE-2018-15133 is a high-severity flaw (CVSS 8.1) affecting laravel, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 pr
Why this priority
- High severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.1 (High) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 76.6% (top 1%) |
| CISA exploited list | Yes, fix due 2024-02-06 |
| Weakness | CWE-502 |
| Published | 2018-08-09 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: kozmic/laravel-poc-CVE-2018-15133 (259 stars)
- GitHub PoC: aljavier/exploit_laravel_cve-2018-15133 (58 stars)
- GitHub PoC: pwnedshell/Larascript (35 stars)
- GitHub PoC: 0xSalle/cve-2018-15133
- GitHub PoC: AlienX2001/better-poc-for-CVE-2018-15133
- Exploit-DB: PHP Laravel Framework 5.5.40 / 5.6.x < 5.6.30 - Token Unserialize Remote Command Execution (Metasploit)
- Metasploit: PHP Laravel Framework token Unserialize Remote Command Execution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2018-15133?
laravel: upgrade to newer than 5.6.29. Exact commands for each OS are on this page.
Is CVE-2018-15133 being exploited?
Yes. CVE-2018-15133 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2018-15133 affect?
CVE-2018-15133 affects laravel. Severity is high (CVSS 8.1). 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/Encr
How urgent is CVE-2018-15133?
Priority 88/100. High severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference; Remotely exploitable, no login, no user action
Software pages
PHP vulnerabilities · Laravel vulnerabilities
Related CVEs
- CVE-2022-2886 MEDIUM 5.0 UPGRADE A vulnerability, which was classified as critical, was found in Laravel 5.1
- CVE-2022-2870 MEDIUM 4.1 UPGRADE A vulnerability was found in laravel 5.1 and classified as problematic
- CVE-2021-28254 CRITICAL 9.8 DOWNGRADE A deserialization vulnerability in the destruct() function of Laravel v8.5.9 allows attackers to execute arbit
- CVE-2021-21263 HIGH 7.2 UPGRADE Laravel is a web application framework
- CVE-2020-24941 HIGH 7.5 UPGRADE An issue was discovered in Laravel before 6.18.35 and 7.x before 7.24.0