# Livewire v3 RCE (CVE-2025-54068): check your version

> Livewire v3 up to 3.6.3 has an unauthenticated RCE (CVE-2025-54068) on CISA's KEV list. How to read your real version, which release to move to, what to check after.

Canonical: https://red.run.cloud/learn/livewire-v3-rce-check-your-version · By Timothy Lindblom · Published 2026-11-04 · Updated 2026-11-04

Livewire v3 up to and including 3.6.3 has an unauthenticated remote command execution flaw, CVE-2025-54068. It was fixed in 3.6.4 and has been on CISA's exploited list since 20 March 2026. Read the version in the deployed `composer.lock` or with `composer show livewire/livewire`. If it is 3.6.3 or lower, upgrade to the latest 3.8 or 4.4 release, redeploy and restart the workers.

<div class="ln-stats"><div><b>9.2</b><span>CVSS v4 score</span></div><div><b>3.6.4</b><span>first fixed release</span></div><div><b>20 Mar 2026</b><span>added to CISA KEV</span></div></div>

| Fact | Detail | Source |
|---|---|---|
| CVE | CVE-2025-54068, CWE-94 (code injection), in `livewire/livewire` | [NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-54068) |
| Severity | CVSS v4 9.2 (GitHub), CVSS v3.1 9.8 (NVD) | [GitHub advisory database](https://github.com/advisories/GHSA-29cq-5w36-x7w3) |
| Affected | Livewire v3, from 3.0.0-beta.1 up to and including 3.6.3 | [Livewire advisory](https://github.com/livewire/livewire/security/advisories/GHSA-29cq-5w36-x7w3) |
| Fixed | 3.6.4, released 17 July 2025 | [Release notes](https://github.com/livewire/livewire/releases/tag/v3.6.4) |
| Workaround | None known. The advisory says to upgrade | Livewire advisory |
| Exploitation | In CISA KEV: added 20 March 2026, federal due date 3 April 2026, ransomware use flag "unknown" | [CISA catalog](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54068) |
| Checked | 4 November 2026 | this page |

## Which Livewire versions are affected?

Only Livewire 3 releases from 3.0.0-beta.1 through 3.6.3 are affected by this CVE. The advisory describes it as a flaw that lets an unauthenticated attacker run commands "in specific scenarios", arising during property update hydration. It needs no login and no user action. The maintainers did not publish details at disclosure, and we do not reproduce any.

The version you move to matters, because Livewire shipped other fixes after 3.6.4. This table is what the [Livewire advisories](https://github.com/livewire/livewire/security/advisories) and [Packagist](https://repo.packagist.org/p2/livewire/livewire.json) showed on 4 November 2026.

| Your version | CVE-2025-54068 | Also relevant | Move to |
|---|---|---|---|
| 2.x | Not listed | 2.12.6 and below: CVE-2024-47823, file upload RCE, fixed in 2.12.7 | 2.12.7 at least, then plan the move to 3 or 4 |
| 3.0.0-beta.1 to 3.6.3 | Affected | Also below 3.5.2 for CVE-2024-47823 | Latest 3.8 (3.8.11, 21 October 2026) or 4.4.8 |
| 3.6.4 to 3.8.2 | Fixed | CVE-2026-81887, DOM-based XSS, medium (CVSS v4 5.1), published 10 August 2026 | 3.8.3 or later |
| 3.8.3 and later | Fixed | None listed in the advisories at our check | Stay on the latest 3.8 |
| 4.0.0-beta.1 to 4.3.3 | Not listed | The same XSS, fixed in 4.3.4 | 4.4.8 |
| 4.3.0 to 4.4.7 | Not listed | An authorization bypass in `#[Authorize]`, medium, published 22 October 2026, fixed in 4.4.8 | 4.4.8 |

One detail trips people up. The advisory text says "up to and including v3.6.3", and the fixed version is 3.6.4. If you are on exactly 3.6.3, you are affected. The older 2024 file-upload flaw is a separate bug with its own fix, [CVE-2024-47823](https://github.com/livewire/livewire/security/advisories/GHSA-f3cx-396f-7jqp), and a site can have both.

## How do I find the Livewire version actually running?

Read it on the server that serves the site, from the deployed project folder. Three places can disagree, and only one counts.

<figure class="ln-figure">
<svg viewBox="0 0 720 170" role="img" aria-labelledby="lw-flow-title" xmlns="http://www.w3.org/2000/svg" font-family="Geist, sans-serif">
<title id="lw-flow-title">Five steps from a Composer version range to a confirmed Livewire version on the running server</title>
<rect x="0" y="0" width="720" height="170" fill="#FFFFFF"/>
<rect x="9" y="40" width="118" height="80" rx="12" fill="#FFF1EF" stroke="#EAD3CF"/>
<text x="68" y="74" text-anchor="middle" font-size="13" fill="#1A0F0F">composer.json</text>
<text x="68" y="94" text-anchor="middle" font-size="13" fill="#655553">asks for ^3.x</text>
<rect x="155" y="40" width="118" height="80" rx="12" fill="#C70500"/>
<text x="214" y="74" text-anchor="middle" font-size="13" fill="#FFFFFF">composer.lock</text>
<text x="214" y="94" text-anchor="middle" font-size="13" fill="#FFFFFF">pins the build</text>
<rect x="301" y="40" width="118" height="80" rx="12" fill="#FFF1EF" stroke="#EAD3CF"/>
<text x="360" y="74" text-anchor="middle" font-size="13" fill="#1A0F0F">deploy installs</text>
<text x="360" y="94" text-anchor="middle" font-size="13" fill="#655553">from the lock</text>
<rect x="447" y="40" width="118" height="80" rx="12" fill="#FFF1EF" stroke="#EAD3CF"/>
<text x="506" y="74" text-anchor="middle" font-size="13" fill="#1A0F0F">workers restart</text>
<text x="506" y="94" text-anchor="middle" font-size="13" fill="#655553">after install</text>
<rect x="593" y="40" width="118" height="80" rx="12" fill="#1A0F0F"/>
<text x="652" y="74" text-anchor="middle" font-size="13" fill="#FFFFFF">confirm on the</text>
<text x="652" y="94" text-anchor="middle" font-size="13" fill="#FFFFFF">running server</text>
<path d="M127 80 H155 M273 80 H301 M419 80 H447 M565 80 H593" stroke="#B00500" stroke-width="2" fill="none"/>
<text x="68" y="28" text-anchor="middle" font-size="12" fill="#655553">1</text>
<text x="214" y="28" text-anchor="middle" font-size="12" fill="#B00500">2 the lock decides</text>
<text x="360" y="28" text-anchor="middle" font-size="12" fill="#655553">3</text>
<text x="506" y="28" text-anchor="middle" font-size="12" fill="#655553">4</text>
<text x="652" y="28" text-anchor="middle" font-size="12" fill="#655553">5</text>
<text x="360" y="152" text-anchor="middle" font-size="12" fill="#655553">A fixed package on disk does not help until the running processes load it.</text>
</svg>
<figcaption>Where a Livewire version is decided and where it is proven. Step 2 is the one most owners never open.</figcaption>
</figure>

- **`composer.json`** holds a range such as `^3.0`. It says what is allowed, not what is installed.
- **`composer.lock`** holds the exact version. Composer's [documentation](https://getcomposer.org/doc/01-basic-usage.md) says that when a lock file exists, install uses the exact versions listed in it, and that update rewrites the lock file. A project can allow 3.8 and still run 3.5 if nobody ran an update.
- **The deployed folder** is what runs. On a host, a container or a release directory it can differ from the repository.

On the server, in the project root:

```
composer show livewire/livewire
composer audit
```

`composer show` prints the installed version. `composer audit` checks installed packages against security advisories from the Packagist API by default and, per the [Composer docs](https://getcomposer.org/doc/03-cli.md), exits with code 1 when it finds matches. It reads installed packages, so run it where they are installed.

If you cannot reach the server, the same facts are in the deployed `composer.lock`. Ask whoever deploys the site. If Livewire arrives through another package, `composer why livewire/livewire` shows which one requires it.

## Can you see the Livewire version from outside?

Not reliably. Livewire 3 documents that it serves its JavaScript at [`/livewire/livewire.js`](https://livewire.laravel.com/docs/3.x/installation), with no version in the URL. That makes "this site uses Livewire" visible from outside and "this site runs 3.6.3" usually not.

A lookup from outside can match a version only when the version is exposed. When it is not, the honest result is unknown, and the answer has to come from the lock file. See [why a version can stay hidden from outside scans](/learn/what-an-external-website-scan-cant-prove).

## How do I upgrade?

On staging first, then production. The aim is to reach 3.8.11 or later in 3.x, or 4.4.8 in 4.x, and to prove the running site picked it up.

- [ ] Back up the code and the database, and commit the current `composer.lock`.
- [ ] Update only Livewire and what it needs: `composer update livewire/livewire --with-dependencies`.
- [ ] Read the result with `composer show livewire/livewire` and confirm it is at least 3.8.3, ideally 3.8.11.
- [ ] Run your test suite and click through pages that use Livewire components, including forms and file uploads.
- [ ] Commit the new `composer.lock` and deploy from it.
- [ ] Restart PHP-FPM or your web server, and restart queue workers and any other long-running PHP process.
- [ ] Run `composer audit` on the server after the deploy.

Version 3.8.11 requires PHP ^8.1 and supports Laravel 10 to 13, according to [Packagist](https://repo.packagist.org/p2/livewire/livewire.json) at our check. If you want Livewire 4, the [upgrade guide](https://livewire.laravel.com/docs/upgrading) lists its high-impact changes first and starts with `composer require livewire/livewire:^4.0`. A move across a major version is a project of its own. If you cannot do it this week, take the 3.8 line now and plan 4 later. A Laravel site also depends on its PHP runtime, which is a separate patch covered in [the Laravel and CMS PHP2Shell checklist](/learn/php2shell-drupal-joomla-mediawiki-laravel), and [the other framework guides](/learn/topics/frameworks) cover Next.js, Django and more.

### If an agency, host or freelancer deploys your site

Send this and keep the reply:

> For **[your domain]**, which version of `livewire/livewire` is in the `composer.lock` that is deployed in production right now? When was it deployed, and were PHP-FPM and all queue workers restarted after that? If it is 3.6.3 or lower, when will it move to 3.8.3 or later, and has anyone checked the server for changes since 17 July 2025?

"We updated everything" is not an answer. A version number, a deploy time and a restart time are.

## Was this exploited, and what should I look for?

CISA's [catalog](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54068) lists it as Laravel Livewire Code Injection Vulnerability, added 20 March 2026. CISA's own [criteria](https://www.cisa.gov/known-exploited-vulnerabilities) for adding an entry include reliable evidence of active exploitation in the wild. Federal civilian agencies must remediate on a deadline, and CISA strongly recommends that all stakeholders treat catalog entries as items to address immediately. The entry gives no start date and no victims, and we name none.

A third-party report from ThreatHunter, published 14 March 2026 and listed by [NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-54068), describes one actor using a scanning template for this CVE and confirming nine vulnerable targets. That is vendor-claimed and we have not verified it.

The fix shipped on 17 July 2025, so the window for an unpatched site is long. Upgrading closes the hole and removes nothing planted earlier. If you were on 3.6.3 or lower while reachable, check:

- unexpected PHP files in `public`, `storage` and upload folders
- scheduled tasks, cron entries and queue jobs you did not create
- new or changed users, especially administrators
- a modified `.env`, and outbound connections from the web server that you cannot explain

If you find anything, treat the server as compromised and follow the [step-by-step response for a compromised site](/learn/website-incident-response-playbook), then [rotate the secrets](/learn/rotate-secrets-after-a-breach-guide) the application could read, including `APP_KEY`, database passwords and API keys. If you find nothing, that is an absence of signs and not proof, because logs often have gaps. Keep patch state and compromise evidence as two separate answers. If `APP_KEY` was readable, [how to rotate a leaked Laravel key safely](/learn/leaked-laravel-app-key-rotate-safely) is its own job, and [checking whether your .env is publicly readable](/learn/is-your-env-file-publicly-readable) shows if the file was also reachable from outside.

## Am I affected? A three-state self-test

<div class="ln-selftest">
<h3>Am I affected? Where you stand right now</h3>
<p>A check from outside can sometimes see that a site uses Livewire. It cannot read your lock file, your deployed folder or the time your workers last started.</p>
<ol>
<li><span class="ln-state ln-state-detected">Detected</span> <strong>The site shows a Livewire v3 version at or below 3.6.3, or your own lock file does.</strong> Treat it as exposed. Upgrade today, restart the workers, then run the look-back above for activity since 17 July 2025.</li>
<li><span class="ln-state ln-state-unknown">Unknown</span> <strong>You use Livewire but cannot see the version, or you do not know which copy is deployed.</strong> This is the common case. Get the installed version from the server or from whoever deploys, using the question above.</li>
<li><span class="ln-state ln-state-confirmed">Confirmed by owner evidence</span> <strong><code>composer show livewire/livewire</code> on the production server reports 3.8.3 or later (or 4.4.8), and PHP and queue workers started after that deploy.</strong> This CVE is closed on that server. Whether anything got in before the upgrade is a separate question.</li>
</ol>
<p>No scan, ours included, moves you from "unknown" to "confirmed".</p>
</div>

## What does Red check?

The free scan reads the stack your site serves and matches each version to known vulnerabilities. One per domain, no card. It is a lookup: it can say a version is affected, not whether your setup is exposed. When Livewire's version is not visible from outside, the scan cannot match it, which is why the server-side check above comes first. It also looks at things around an application like this one, such as `.env` and `.git` exposure, and panels or debug pages left online.

You sign in with Google or GitHub, or an emailed six-digit code, and add one DNS TXT record to prove the domain is yours. The full scan is $100 per scan and sends an AI red team to find what is reachable from outside. Fixing is yours or your host's. For how to prove a fix landed, see [proving the patch actually landed](/learn/how-to-verify-a-vulnerability-is-fixed). More active issues are in the October 2026 tracker.

## Questions people ask

### How do I check which Livewire version my site is running?

Run composer show livewire/livewire in the project folder on the server that serves the site, or open composer.lock and read the version next to livewire/livewire. The version in composer.json is only a range. Make sure you look at the deployed copy, not a laptop copy.

### Is Livewire 3.6.4 enough, or should I go further?

3.6.4 fixes this one flaw. Livewire has since published a DOM-based XSS fix in 3.8.3 and 4.3.4, so go to the latest 3.8 release or to 4.4.8 if you can. At our 4 November 2026 check those were 3.8.11 and 4.4.8.

### Does Livewire 2 have this vulnerability?

CVE-2025-54068 is listed for Livewire v3 only, from 3.0.0-beta.1 up to and including 3.6.3. Livewire 2 is not listed for it. Version 2.12.6 and below does have a different, older flaw (CVE-2024-47823), so a v2 site still needs an upgrade plan.

### Is CVE-2025-54068 being exploited?

CISA added it to the Known Exploited Vulnerabilities catalog on 20 March 2026, which CISA says requires reliable evidence of active exploitation. The entry gives no start date and flags no known ransomware use. Treat any unpatched site that was reachable as one to check.

### I use Cloudflare or another WAF. Do I still need to upgrade?

Yes. Livewire's advisory says there is no known workaround and tells users to upgrade. A proxy rule is at best a stopgap, and it only helps while traffic goes through it. Upgrade the package, redeploy, and restart the workers.

### Can I upgrade to 3.8.11 on Laravel 10 and PHP 8.1?

According to Packagist at our check, 3.8.11 requires PHP ^8.1 and supports Laravel 10, 11, 12 and 13. Run the update on staging first, since a jump from an early 3.x release crosses many changes.


## Sources

1. [GHSA-29cq-5w36-x7w3: Livewire remote command execution during property update hydration (livewire/livewire advisory)](https://github.com/livewire/livewire/security/advisories/GHSA-29cq-5w36-x7w3): The vendor advisory. Affected range, patched version 3.6.4, no workaround. Checked 4 November 2026.
2. [GitHub Advisory Database: GHSA-29cq-5w36-x7w3](https://github.com/advisories/GHSA-29cq-5w36-x7w3): CVSS v4 9.2 and CVSS v3.1 9.8, CWE-94, vulnerable range from 3.0.0-beta.1 below 3.6.4. Last updated 20 March 2026.
3. [NVD: CVE-2025-54068](https://nvd.nist.gov/vuln/detail/CVE-2025-54068): Published 17 July 2025, last modified 17 June 2026. Carries the CISA fields. Read through the NVD API on 24 October 2026.
4. [CISA Known Exploited Vulnerabilities catalog: CVE-2025-54068](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54068): Laravel Livewire Code Injection Vulnerability. Added 20 March 2026, due 3 April 2026.
5. [CISA: Known Exploited Vulnerabilities Catalog, criteria and recommendations](https://www.cisa.gov/known-exploited-vulnerabilities): What a catalog entry means and what CISA recommends to organisations outside the federal government.
6. [Livewire v3.6.4 release notes](https://github.com/livewire/livewire/releases/tag/v3.6.4): The fixing release, 17 July 2025, entry on property update hydration.
7. [Patch commit ef04be7 (livewire/livewire)](https://github.com/livewire/livewire/commit/ef04be759da41b14d2d129e670533180a44987dc): The change referenced by NVD as the patch.
8. [livewire/livewire security advisories](https://github.com/livewire/livewire/security/advisories): All four published advisories, including the 2026 ones that matter when choosing a target version.
9. [GHSA-g3hc-697w-wm82: CVE-2026-81887, DOM-based XSS (livewire/livewire advisory)](https://github.com/livewire/livewire/security/advisories/GHSA-g3hc-697w-wm82): Medium, CVSS v4 5.1. Fixed in 3.8.3 and 4.3.4. Published 10 August 2026.
10. [GHSA-f3cx-396f-7jqp: CVE-2024-47823, remote code execution on file uploads (livewire/livewire advisory)](https://github.com/livewire/livewire/security/advisories/GHSA-f3cx-396f-7jqp): An older, separate flaw. Fixed in 3.5.2 and 2.12.7. Published 8 October 2024.
11. [Packagist metadata for livewire/livewire](https://repo.packagist.org/p2/livewire/livewire.json): Latest releases: 3.8.11 and 4.4.8, both 21 October 2026. 3.8.11 requires PHP ^8.1 and Laravel 10 to 13. Read 4 November 2026: no newer release.
12. [Livewire v3 installation docs](https://livewire.laravel.com/docs/3.x/installation): Documents that the JavaScript asset is served at /livewire/livewire.js, with no version in the URL.
13. [Livewire documentation: upgrading from v3 to v4](https://livewire.laravel.com/docs/upgrading): The v4 upgrade steps.
14. [Composer documentation: basic usage](https://getcomposer.org/doc/01-basic-usage.md): How composer.lock decides the installed version.
15. [Composer documentation: command-line interface (show, audit, why, update)](https://getcomposer.org/doc/03-cli.md)
16. [ThreatHunter report, 14 March 2026 (third-party reference listed by NVD)](https://www.threathunter.ai/blog/iranian-threat-actor-tools-techniques-iocs-ioas/): Vendor-claimed threat intelligence. Not a primary source for the vulnerability itself.
