# CVE-2018-15133: Laravel Framework RCE Vulnerability

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Yes: in CISA KEV since 2024-01-16; federal due date 2024-02-06
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 76.57% (percentile 100, 2026-11-26)
- **CWE:** CWE-502
- **Aliases:** EDB-47129, GHSA-qvqm-h22r-4cp9
- **Published:** 2018-08-09T19:00:00.000Z
- **Modified:** 2026-06-17T01:42:06.387Z

## Who should check

- Projects that depend on Packagist package laravel/framework (\<= 5.5.40)
- Anyone running n/a (versions: see the vendor advisory)

## 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.

## Affected and fixed versions

- Packagist `laravel/framework`: affected \<= 5.5.40; fixed 5.6.30 (osv)
- n/a: see vendor advisory (nvd)

## Mitigation

- Upgrade laravel/framework to 5.6.30 or later.

## Timeline

- 2018-08-09: Published
- 2024-01-16: Added to CISA KEV (exploited in the wild)
- 2024-02-06: CISA remediation due date for US federal agencies
- 2026-06-17: Last modified

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2018-15133. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2018-15133.md
Affected: laravel/framework <= 5.5.40
Fixed in: 5.6.30

Steps:
1. Search this machine and project for laravel/framework (Packagist), n/a: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2018-15133 being exploited?

Yes. CISA lists CVE-2018-15133 in its Known Exploited Vulnerabilities catalog since 2024-01-16, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 76.57% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2018-15133?

High: CVSS 8.1 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2018-15133?

laravel/framework \<= 5.5.40.

### Is there a fix for CVE-2018-15133?

Yes. Fixed in 5.6.30. Upgrade laravel/framework to 5.6.30 or later.

### How do I check if I'm affected by CVE-2018-15133?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://laravel.com/docs/5.6/upgrade#upgrade-5.6.30>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2018-15133>
- patch: <https://github.com/laravel/framework/commit/d84cf988ed5d4661a4bf1fdcb08f5073835083a0>
- exploit: <http://packetstormsecurity.com/files/153641/PHP-Laravel-Framework-Token-Unserialize-Remote-Command-Execution.html>
- exploit: <https://www.exploit-db.com/exploits/47129>
- other: <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-15133>
- other: <https://github.com/kozmic/laravel-poc-CVE-2018-15133>
- other: <https://github.com/laravel/framework>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2018-15133>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-qvqm-h22r-4cp9> (license: <https://creativecommons.org/licenses/by/4.0/>)
- Exploit-DB: Exploit metadata (ID and link only) from the Exploit Database <https://www.exploit-db.com/exploits/47129>
- CISA KEV: CISA Known Exploited Vulnerabilities Catalog <https://www.cisa.gov/known-exploited-vulnerabilities-catalog>

HTML: <https://flawdb.com/CVE-2018-15133> · JSON: <https://flawdb.com/api/v1/entries/CVE-2018-15133>
