
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-54068 is a critical code injection vulnerability in Laravel Livewire v3 that allows unauthenticated remote attackers to achieve remote command execution (RCE) in specific deployment scenarios. It affects all Livewire v3 releases from v3.0.0-beta.1 through v3.6.3 and is unique to the v3 major version — prior versions are not affected. The vulnerability was disclosed on July 17, 2025, with a patch released the same day in v3.6.4. It carries a CVSS v3.1 base score of 9.8 (Critical) and a CVSS v4.0 base score of 9.2 (Critical) (GitHub Advisory, CISA KEV).
The root cause is improper control of code generation (CWE-94) during the hydration of Livewire component property updates. When a Livewire component receives a property update request, the framework's hydrateForUpdate method in HandleComponents.php previously passed synthetic tuple data directly to the generic hydrate() method without sufficient validation, allowing an attacker to supply a crafted synthetic tuple that causes the framework to instantiate and invoke arbitrary PHP objects or code during deserialization-like hydration (GitHub Advisory, Patch Commit). The fix introduced a dedicated hydratePropertyUpdate() method that restricts which synthesizers can be invoked during property updates, preventing arbitrary class instantiation. Exploitation requires the target application to have a Livewire component mounted and configured in a specific way (e.g., exposing certain property types), but requires no authentication or user interaction. A detailed technical write-up and PoC tool were published by Synacktiv (Synacktiv Research).
Successful exploitation grants an unauthenticated remote attacker full command execution on the underlying server running the vulnerable Laravel/Livewire application. This results in complete compromise of confidentiality (access to application secrets, database credentials, user data), integrity (modification of application files, planting of web shells or backdoors), and availability (service disruption or resource hijacking). Real-world exploitation has included deployment of cryptocurrency miners and web shell backdoors in the public directory of compromised Laravel applications, as well as use as an initial access vector for further lateral movement into internal infrastructure (5balloons.info, dev.to).
wire:id, livewire/livewire.js)./livewire/update or similar endpoint) that includes the component's snapshot and property update payload in JSON format.[$value, $meta]) where the $meta['s'] (synthesizer key) references a PHP class or gadget chain that, when instantiated and hydrated by the server, triggers arbitrary code execution. The Synacktiv Livepyre tool automates this payload generation (Synacktiv Research).hydrateForUpdate method processes the malicious tuple, invoking the attacker-controlled synthesizer and executing the injected command.public/ directory and deploying cryptocurrency mining software (5balloons.info)./livewire/update (or equivalent Livewire AJAX endpoints) with anomalous JSON payloads containing unexpected s (synthesizer) keys or deeply nested synthetic tuples; outbound connections from the web server to unknown external IPs (reverse shell callbacks or miner pool connections).public/ directory or other web-accessible paths; new or modified files in the Laravel application root with obfuscated PHP code; presence of cryptocurrency miner binaries (e.g., xmrig) in /tmp/ or world-writable directories.php-fpm, apache2, nginx) such as bash, sh, curl, wget, or cryptocurrency miner processes with high CPU usage.The only available remediation is upgrading to Livewire v3.6.4 or later, released July 17, 2025 — no configuration-based workarounds exist (GitHub Advisory, Release Notes). Organizations should run composer update livewire/livewire and verify the installed version is ≥ 3.6.4. While patching is underway, consider implementing WAF rules to inspect and rate-limit POST requests to Livewire update endpoints, and apply network segmentation to limit outbound connections from web servers. CISA mandated federal agencies patch by April 3, 2026 (CISA KEV). Downstream projects using Livewire (e.g., Snipe-IT) have also released updated versions incorporating the fix.
The vulnerability generated significant attention across the security community. Synacktiv published a detailed technical write-up and released the Livepyre exploitation tool, providing deep insight into the unmarshaling-based RCE mechanism (Synacktiv Research). The Laravel security blog securinglaravel.com published multiple advisories urging immediate upgrades and providing guidance on detecting vulnerable packages (Securing Laravel). The Hacker News covered CISA's KEV addition, noting the vulnerability alongside Apple and Craft CMS flaws (The Hacker News). Community discussion on Reddit's r/laravel and r/CVEWatch highlighted the broad exposure of the Laravel ecosystem, with one developer sharing a real-world incident where their server was compromised for cryptomining via this vulnerability. Security researchers noted that approximately 130,000 Livewire-powered applications were potentially at risk.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."