CVE Catalog

CVE-2026-61701

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.76%

54th percentile - higher than 54% of all known CVEs

Summary

Laravel MagicLink versions 2.0.0 through 2.25.1 store serialized action objects in the magic_links.action database column and deserialize them without sufficient integrity protection, with an unsafe legacy unserialize() fallback. An attacker able to manipulate database records can insert a malicious serialized object graph and execute arbitrary code when the magic link is visited.

Risk Assessment

This may lead to remote code execution in the application process if an attacker gains database write access (e.g., via SQL injection or compromised administrative access).

Recommendation

Update Laravel MagicLink to version 2.25.1 or later, which contains the fix for this issue.

Related vulnerabilities

Original NVD description (English source)

Laravel MagicLink creates links for authentication without a password or for accessing private content. From 2.0.0 until 2.25.1, MagicLink stores serialized action objects in the magic_links.action database column and deserializes them through src/MagicLink.php and src/Actions/ResponseAction.php without sufficient integrity protection, while an unsafe legacy unserialize() fallback remains reachable. An attacker who can manipulate database records, such as through a separate SQL injection or compromised administrative access, can insert a malicious serialized object graph containing executable closure behavior; visiting the associated magic link then deserializes the record and can execute arbitrary code in the application process. The affected path is restricted to manipulated action records and does not independently provide database-write access. This issue is fixed in version 2.25.1.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS