CVE-2025-54068: Livewire/livewire Livewire Is Vulnerable To Remote Vulnerability
CRITICALCVE-2025-54068 is a CRITICAL (CVSS 9.8) livewire is vulnerable to remote vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Livewire/livewire libraries in the Packagist ecosystem. The issue involves livewire is vulnerable to remote command execution during component property update hydration. Remediation is available by upgrading affected packages to version 3.6.4.
CVE-2025-54068 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2025-54068
To remediate this vulnerability, upgrade all affected Livewire/livewire dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade livewire/livewire to 3.6.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for livewire/livewire
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-54068, inspect your project dependencies for Livewire/livewire:
inspect dependencies for livewire/livewire
Analyze the terminal output to locate any version of Livewire/livewire in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.6.4), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In Livewire/livewire, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-54068 Affected Livewire/livewire Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
livewire/livewire
|
Packagist |
≥ 3.0.0-beta.1
< 3.6.4
|
3.6.4
|
References
Frequently Asked Questions
What is CVE-2025-54068?
Which Livewire/livewire versions are affected?
What version fixes CVE-2025-54068?
Is livewire/livewire affected?
What is the CVSS score of CVE-2025-54068?
What CWE is associated with CVE-2025-54068?
How can I check Packagist dependencies for CVE-2025-54068?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-29cq-5w36-x7w3",
"modified" : "2026-03-20T21:28:57Z",
"published" : "2025-07-17T20:26:45Z",
"aliases" : [ "CVE-2025-54068" ],
"summary" : "Livewire is vulnerable to remote command execution during component property update hydration",
"details" : "### Impact\nIn 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.\n\n### Patches\nThis 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.\n\n### Workarounds\nThere is no known workaround at this time. Users are strongly advised to upgrade to a patched version immediately.\n\n### Resources\nNo public references available at this time to avoid exposure. Details will be published after a responsible disclosure window.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "livewire/livewire"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0-beta.1"
}, {
"fixed" : "3.6.4"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/livewire/livewire/security/advisories/GHSA-29cq-5w36-x7w3"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-54068"
}, {
"type" : "WEB",
"url" : "https://github.com/livewire/livewire/commit/ef04be759da41b14d2d129e670533180a44987dc"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/livewire/livewire"
}, {
"type" : "WEB",
"url" : "https://github.com/livewire/livewire/releases/tag/v3.6.4"
}, {
"type" : "WEB",
"url" : "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-54068"
}, {
"type" : "WEB",
"url" : "https://www.threathunter.ai/blog/iranian-threat-actor-tools-techniques-iocs-ioas"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-94" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2025-07-17T20:26:45Z",
"nvd_published_at" : "2025-07-17T19:15:25Z"
}
}