# CVE-2024-47823: Livewire Remote Code Execution (RCE) on File Uploads

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

- **Severity:** HIGH 7.7
- **CVSS:** 7.7 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: Low; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.24% (percentile 69, 2026-11-26)
- **CWE:** CWE-20
- **Aliases:** GHSA-f3cx-396f-7jqp
- **Published:** 2024-10-08T17:48:36.496Z
- **Modified:** 2026-06-17T07:57:49.127Z

## Who should check

- Projects that depend on Packagist package livewire/livewire (\>= 3.0.0-beta.1, \< 3.5.2)
- Anyone running livewire \>= 3.0.0-beta.1, \< 3.5.2; \< 2.12.7

## Description

Livewire is a full-stack framework for Laravel that allows for dynamic UI components without leaving PHP. In livewire/livewire prior to \`2.12.7\` and \`v3.5.2\`, the file extension of an uploaded file is guessed based on the MIME type. As a result, the actual file extension from the file name is not validated. An attacker can therefore bypass the validation by uploading a file with a valid MIME type (e.g., \`image/png\`) and a “.php” file extension. If the following criteria are met, the attacker can carry out an RCE attack: 1. Filename is composed of the original file name using \`$file-\>getClientOriginalName()\`. 2. Files stored directly on your server in a public storage disk. 3. Webserver is configured to execute “.php” files. This issue has been addressed in release versions \`2.12.7\` and \`3.5.2\`. All users are advised to upgrade. There are no known workarounds for this vulnerability.

## Affected and fixed versions

- Packagist `livewire/livewire`: affected \>= 3.0.0-beta.1, \< 3.5.2; fixed 3.5.2, 2.12.7 (osv)
- livewire: \>= 3.0.0-beta.1, \< 3.5.2; \< 2.12.7 (cvelist)

## Mitigation

- Upgrade livewire/livewire to one of 3.5.2, 2.12.7 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-47823.md
Affected: livewire/livewire >= 3.0.0-beta.1, < 3.5.2
Fixed in: 3.5.2, 2.12.7

Steps:
1. Search this machine and project for livewire/livewire (Packagist), livewire: 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-2024-47823 being exploited?

There is no confirmed exploitation: CVE-2024-47823 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.24% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-47823?

High: CVSS 7.7 (v4.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2024-47823?

livewire/livewire \>= 3.0.0-beta.1, \< 3.5.2.

### Is there a fix for CVE-2024-47823?

Yes. Fixed in 3.5.2, 2.12.7. Upgrade livewire/livewire to one of 3.5.2, 2.12.7 (or later in the same release line).

### How do I check if I'm affected by CVE-2024-47823?

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://github.com/livewire/livewire/security/advisories/GHSA-f3cx-396f-7jqp>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-47823>
- patch: <https://github.com/livewire/livewire/pull/8624>
- patch: <https://github.com/livewire/livewire/commit/70503b79f5db75a1eac9bf55826038a6ee5a16d5>
- patch: <https://github.com/livewire/livewire/commit/cd168c6212ea13d13b82b3132485741f82d9fad9>
- other: <https://github.com/livewire/livewire>

## 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-2024-47823>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-f3cx-396f-7jqp> (license: <https://creativecommons.org/licenses/by/4.0/>)

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