Actively exploited vulnerability / CVE-2018-15133
Laravel: an attacker who has the app key can take control of the server
This flaw in Laravel Framework lets an attacker run their own commands on the server hosting the web application, which can lead to data theft or service disruption. To do so, the attacker must already know the application's secret key, which could happen after earlier privileged access or another successful attack. It is on the lists of vulnerabilities used in real attacks kept by CISA, the US cybersecurity agency, and by ENISA, the EU cybersecurity agency.
- Identifier
- CVE-2018-15133 · EUVD-2022-5039
- Severity
- High (8.1/10)
- On the CISA list (US)
- yes, since 16 January 2024
- Deadline given to US federal agencies
- 6 February 2024
- On the ENISA list (EU)
- yes
- Probability of exploitation (EPSS)
- 76.6% (FIRST's estimate for the next 30 days)
Does it concern you?
Laravel is a PHP framework used to build websites and web applications. You likely have it if your company runs a custom built website, portal or internal application written in PHP.
Ask your developer or the company that maintains your application which Laravel version it uses. Affected are versions up to and including 5.5.40, and versions 5.6.0 through 5.6.29.
Affected products and versions
- Laravel Framework
- laravel: up to and including 5.5.40; from 5.6.0 up to and including 5.6.29
What to do
Have your developer update Laravel to a version newer than the affected ones and follow the vendor's instructions, or stop using the vulnerable version if that is not possible. If the application key may have been exposed, it should be replaced.
The official description
The text below is the description from the public database.
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.
Sources
- Debian Security Tracker
- CVE Program
- GitHub Advisory Database
- Vendor advisory: nvd.nist.gov
- NVD
- ENISA EUVD
Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.