CVE-2018-15133 in Laravel
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 php...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Laravel | Laravel | ≤ 5.5.40 ≥ 5.6.0, ≤ 5.6.29 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Yes added 2024-01-16 |
|---|---|
| Public exploit | Reported · reference |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2018-15133 |
|---|---|
| BreachSpider ID | BS-2018-GLOBAL-216271-H |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2018-08-09 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-502: Deserialization of Untrusted Data
Software deserializes untrusted data without validation, allowing crafted objects to execute arbitrary code.
Related attack patterns (CAPEC)
CAPEC-586 Object Injection via CWE-502
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2018-15133 affects Laravel Framework versions up to 5.5.40 and 5.6.x up to 5.6.29, enabling remote code execution via an untrusted X-XSRF-TOKEN value. The vulnerability requires the attacker to know the application key, which is typically not feasible but possible under certain conditions. Given the high CVSS score and the existence of public exploits, immediate attention is required to mitigate potential risks in ICS/OT environments.
The vulnerability arises from the use of the unserialize function on a potentially untrusted X-XSRF-TOKEN value. If an attacker knows the application key, they can craft a malicious payload that, when deserialized, executes arbitrary code on the server. This can lead to full control over the affected system, posing significant risks to the integrity and availability of ICS/OT systems.
Compensating controls AI-drafted, review before use
Implement strict input validation and sanitization for all HTTP headers, especially the X-XSRF-TOKEN. Use a Web Application Firewall (WAF) to monitor and block suspicious requests. Ensure that the application key is securely stored and not exposed to unauthorized users.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2018-15133?
CVE-2018-15133 affects Laravel Framework versions up to 5.5.40 and 5.6.x up to 5.6.29, enabling remote code execution via an untrusted X-XSRF-TOKEN value. The vulnerability requires the attacker to know the application key, which is typically not feasible but possible under certain conditions. Given the high CVSS score and the existence of public exploits, immediate attention is required to mitigate potential risks in ICS/OT environments.
What is the CVSS score for CVE-2018-15133?
CVE-2018-15133 has CVSS 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 76.6%.
Is CVE-2018-15133 actively exploited?
Yes. CVE-2018-15133 is in the CISA known-exploited catalog (added 2024-01-16). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2018-15133?
Priority: IMMEDIATE. Advisory: https://laravel.com/docs/5.6/upgrade#upgrade-5.6.30 PSIRT: [email protected]
What systems are affected by CVE-2018-15133?
CVE-2018-15133 affects Laravel Laravel.
What NERC-CIP standard applies to CVE-2018-15133?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows unauthorized access to the system, which can compromise the security of the control system and its data.
What IEC 62443 requirement maps to CVE-2018-15133?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a vulnerability that can be exploited to execute arbitrary code, which can compromise the integrity and availability of the control system.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Laravel","product":"Laravel","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.