CVE-2025-54068: Laravel Livewire Code Injection Vulnerability
Impact In Livewire v3 (≤ 3.6.3), a vulnerability allows unauthenticated attackers to achieve remote command execution in specific scenarios. The issue stems from how certain component property updates are hydrated. This vulnerability is unique to Livewire v3 and does not affect prior major versions. Exploitation requires a component to be mounted and configured in a particular way, but does not require authentication or user interaction.
Patches This issue has been patched in Livewire v3.6.4. All users are strongly encouraged to upgrade to this version or later as soon as possible.
Workarounds There is no known workaround at this time. Users are strongly advised to upgrade to a patched version immediately.
Resources No public references available at this time to avoid exposure. Details will be published after a responsible disclosure window.
Other sources
Laravel Livewire contain a code injection vulnerability that could allow unauthenticated attackers to achieve remote command execution in specific scenarios.
— CISA
Livewire is a full-stack framework for Laravel. In Livewire v3 up to and including v3.6.3, a vulnerability allows unauthenticated attackers to achieve remote command execution in specific scenarios. The issue stems from how certain component property updates are hydrated. This vulnerability is unique to Livewire v3 and does not affect prior major versions. Exploitation requires a component to be mounted and configured in a particular way, but does not require authentication or user interaction. This issue has been patched in Livewire v3.6.4. All users are strongly encouraged to upgrade to this version or later as soon as possible. No known workarounds are available.
— NVD
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/livewire/livewireto a version that resolves this vulnerability.Fixed in 3.6.4
Event History
Frequently Asked Questions
What is the severity of CVE-2025-54068?
CVE-2025-54068 is considered a critical vulnerability due to the potential for remote command execution by unauthenticated attackers.
How do I fix CVE-2025-54068?
To fix CVE-2025-54068, upgrade Livewire to version v3.6.4 or later, as this version addresses the vulnerability.
What versions of Livewire are affected by CVE-2025-54068?
Livewire versions v3.0 through v3.6.3 are affected by CVE-2025-54068.
What kind of attacks can exploit CVE-2025-54068?
CVE-2025-54068 can be exploited to achieve remote command execution in specific scenarios, allowing attackers to execute arbitrary commands on the server.
Is authentication required to exploit CVE-2025-54068?
No, CVE-2025-54068 can be exploited by unauthenticated attackers, which increases its severity.