PortGate

Advisories · PHP & Laravel

CVE-2025-54068 Critical CVSS 9.8 Actively exploited

Laravel Livewire v3 remote command execution during hydration

Disclosed 17 Jul 2025 · Last reviewed 2 Dec 2026

Crafted component updates can run commands on the server without logging in. CISA listed it as exploited in March 2026, and a June 2026 campaign stole credentials from more than 6,000 Laravel apps.

What happened

Livewire v3 did not safely handle certain property values while rebuilding a component from the browser's update payload, so an attacker could steer unmarshaling into code execution in some component setups.

Affected and patched versions

Affected
livewire/livewire 3.0.0-beta.1 through 3.6.3.
Patched
Livewire 3.6.4 and later.

How to check your server

Check

composer show livewire/livewire | grep -E '^versions'

How to fix and harden

  1. Run the check in each Laravel app directory. Any 3.x version below 3.6.4 is affected.
  2. Upgrade with composer and deploy. There is no configuration workaround.
  3. If the app ran an affected version while public, rotate APP_KEY, database passwords, payment and cloud keys in .env, because the 2026 campaign harvested exactly those.
  4. Scan storage and public directories for unexpected PHP files.

Fix

composer require livewire/livewire:^3.6.4

Sources

Version ranges and fixes follow the vendor advisory. When a distribution backports a fix, trust its security tracker over the upstream version number. New advisories: RSS · JSON