Livewire CVE-2025-54068: an exploited flaw in Laravel apps

In July 2025 Livewire fixed a flaw in version 3 that lets an attacker run commands on a Laravel server without logging in. CISA added it to its list of actively exploited vulnerabilities in March 2026. If your Laravel app uses Livewire 3, check the installed version today.

  • CVECVE-2025-54068
  • SeverityCVSS 9.2 Critical
  • ProductLivewire v3
  • ExploitationActively exploited (CISA KEV)

What happened

Livewire keeps the state of a component in the browser and sends it back to the server when a property changes. The server then rebuilds the component from that data. This step is called hydration. In affected versions, a flaw in how property updates are hydrated allows remote command execution. That is CVE-2025-54068.

The attacker needs no account and no user interaction. The component must be mounted and configured in a particular way, so not every app is reachable, but you should not try to judge that yourself. GitHub and Livewire rate the flaw 9.2 under CVSS 4.0; NVD rates it 9.8 under CVSS 3.1. CISA added it to its Known Exploited Vulnerabilities catalog on 20 March 2026.

Who is affected

Livewire versionVulnerableRecommended version
v1 and v2NoPlan a move to a supported version
3.0.0-beta.1 to 3.6.3Yes3.8.3 or later
3.6.4 to 3.8.2Fixed for this CVE3.8.3 or later
v4Not in the affected range4.3.4 or later

Version 3.6.4 fixes this flaw. The recommended versions, 3.8.3 and 4.3.4, also fix a 2026 cross-site scripting flaw, CVE-2026-81887, so there is no reason to stop at 3.6.4.

How to check your app

Run this in the project directory, or look up livewire/livewire in composer.lock.

composer show livewire/livewire
grep -A2 '"name": "livewire/livewire"' composer.lock
composer show laravel/framework

Check the version that is deployed, not only the one on your laptop. If you build in CI, check composer.lock in the branch you release from.

How to fix it

  • Update Livewire: composer require livewire/livewire:^3.8.3, or move to 4.3.4 or later.
  • Commit the updated composer.lock and deploy it to every server.
  • Clear compiled views and caches, then restart PHP-FPM and queue workers.
  • Confirm the new version with composer show livewire/livewire on the server.
  • Update laravel/framework as well (see below).

Livewire knows of no workaround. A firewall rule or a config change does not replace the upgrade.

Keep Laravel itself updated too

A separate flaw, CVE-2026-114509, lets attackers bypass authentication in Laravel's TokenGuard. It is rated 9.2 under CVSS 4.0, but it is narrow: it affects apps on MySQL or MariaDB that use token-guard APIs. It is fixed in laravel/framework 12.68.0 and 13.29.0. Update the framework in the same release as Livewire.

What to look for

If your app ran a vulnerable Livewire version, especially after March 2026, check for signs of compromise: new or changed PHP files in public and storage, unknown admin users, unexpected cron jobs or queue jobs, and outbound connections from the web server user. Rotate secrets in .env if you find anything. A web application penetration test covers Livewire components and their configuration.

Questions

My app uses Livewire 2. Am I affected?

No. This flaw only affects Livewire 3 before 3.6.4. Livewire 2 is old, though, so plan a move to a supported version.

Do I need to log in to be attacked?

No. The attacker needs no account and no user interaction. That is why an exposed app should be updated right away.

Is updating Laravel enough?

No. Livewire is a separate package. You must update livewire/livewire itself and deploy the new composer.lock.

This article is written for defenders and contains no exploit code. It reflects the vendor advisories on the date above; always check the vendor advisory for the latest fixed versions.

Not sure whether you are affected?

We check your servers and applications for this vulnerability and others like it, and give you a clear report with fixes.

Request an assessmentWeb Application Penetration Testing