Read the docs
TI-2026-44171 Aliases CVE-2026-61701

Laravel MagicLink: Insecure Deserialization of MagicLink Actions Leads to Remote Code Execution

Priority MEDIUM 41CWE-502Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-502.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00762 55th percentileScored 2026-11-07
Fix Fixed laravel-magiclink (cesargb): 2.25.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
cesargblaravel-magiclink2.0.0 to before 2.25.12.25.1Patch availableCNA
  • laravel-magiclink Vendorcesargb Affected 2.0.0 to before 2.25.1 Fixed in 2.25.1 Patch available CNA

Remediation

  • Fix · CNA laravel-magiclink (cesargb) Fixed in 2.25.1

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-61701

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences