{"schemaVersion":3,"id":"CVE-2018-15133","aliases":[],"status":"published","duplicateOf":null,"title":"Laravel Deserialization of Untrusted Data Vulnerability","description":"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.","dates":{"published":"2018-08-09T19:00:00.000Z","modified":"2025-10-21T23:45:49.105Z","reserved":null,"kevAdded":["2024-01-16T00:00:00.000Z"],"kevDue":["2024-02-06T00:00:00.000Z"]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.7657,"percentile":0.99539,"severity":"critical","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":-0.24399999999999977,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.76814},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.7657,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.7657,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.7657,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.7657,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.7657,"percentile":0.99539}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.76814,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.7657,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.7657,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.7657,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.7657,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.7657,"percentile":0.99539}]},"kev":{"state":"listed","entries":[{"source":"cisa","sourceLabel":"CISA","dateAdded":"2024-01-16T00:00:00.000Z","dueDate":"2024-02-06T00:00:00.000Z","requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","name":"Laravel Deserialization of Untrusted Data Vulnerability","description":"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).","notes":[{"type":"url","href":"https://laravel.com/docs/5.6/upgrade#upgrade-5.6.30","label":"laravel.com/docs/5.6/upgrade"},{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2018-15133","label":"nvd.nist.gov/vuln/detail/CVE-2018-15133"}],"vendor":"Laravel","product":"Laravel Framework","ransomware":false,"ransomwareUse":"Unknown","exploitationType":null}],"listedCount":1,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":true,"entry":{"source":"cisa","sourceLabel":"CISA","dateAdded":"2024-01-16T00:00:00.000Z","dueDate":"2024-02-06T00:00:00.000Z","requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","name":"Laravel Deserialization of Untrusted Data Vulnerability","description":"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).","notes":[{"type":"url","href":"https://laravel.com/docs/5.6/upgrade#upgrade-5.6.30","label":"laravel.com/docs/5.6/upgrade"},{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2018-15133","label":"nvd.nist.gov/vuln/detail/CVE-2018-15133"}],"vendor":"Laravel","product":"Laravel Framework","ransomware":false,"ransomwareUse":"Unknown","exploitationType":null}},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_D5701936AD4F0FE1","name":"Exploit Reference (packetstormsecurity.com)","source":"reference","url":"http://packetstormsecurity.com/files/153641/PHP-Laravel-Framework-Token-Unserialize-Remote-Command-Execution.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"47129","name":"PHP Laravel Framework 5.5.40 / 5.6.x < 5.6.30 - token Unserialize Remote Command Execution (Metasploit)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/47129","maturity":"weaponized","reliabilityScore":0.8,"verified":true,"type":"remote","platforms":["linux"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"remote","platform":"linux","file":"exploits/linux/remote/47129.rb","codes":["CVE-2018-15133","CVE-2017-16894"]},"metasploit":null},{"id":"MSF_EXPLOIT_UNIX_HTTP_LARAVEL_TOKEN_UNSERIALIZE_EXEC","name":"PHP Laravel Framework token Unserialize Remote Command Execution","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/unix/http/laravel_token_unserialize_exec.rb","maturity":"weaponized","reliabilityScore":1,"verified":true,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"exploit/unix/http/laravel_token_unserialize_exec","rank":"600","rankName":"excellent","postAuth":false,"check":true,"stability":["unknown-stability"],"sideEffects":["unknown-side-effects"],"reliability":["unknown-reliability"]}}],"exploitCount":3,"weaknesses":[{"id":"CWE-502","name":"Deserialization of Untrusted Data","description":"The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/502.html"}],"affected":[{"vendor":"laravel","product":"laravel","name":"laravel","label":"laravel","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 5.5.40","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.6.0, ≤ 5.6.29","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 5.5.40 | ≥ 5.6.0, ≤ 5.6.29","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"laravel","label":"Laravel","category":"framework"}},"hubHref":"/vendor/laravel/laravel"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://laravel.com/docs/5.6/upgrade#upgrade-5.6.30","label":"laravel.com/docs/5.6/upgrade","hostname":"laravel.com","tags":["X Refsource CONFIRM","Vendor Advisory"]},{"url":"http://packetstormsecurity.com/files/153641/PHP-Laravel-Framework-Token-Unserialize-Remote-Command-Execution.html","label":"packetstormsecurity.com/files/…","hostname":"packetstormsecurity.com","tags":["X Refsource MISC","Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-15133","label":"www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-15133","hostname":"www.cisa.gov","tags":["Government Resource","US Government Resource"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2018-08-09T19:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"kev-added","date":"2024-01-16T00:00:00.000Z","label":"Added to CISA KEV","detail":"Laravel Deserialization of Untrusted Data Vulnerability","source":"cisa"},{"kind":"kev-due","date":"2024-02-06T00:00:00.000Z","label":"CISA remediation due","detail":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","source":"cisa"},{"kind":"modified","date":"2025-10-21T23:45:49.105Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":85,"level":"critical","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T12:48:49.869Z","stale":false,"partial":false}}