Vulnerability Description
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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/cesargb/laravel-magiclink/commit/19fa820a49ea9b3984e9a91b4bf4
- https://github.com/cesargb/laravel-magiclink/pull/148
- https://github.com/cesargb/laravel-magiclink/releases/tag/v2.25.1
- https://github.com/cesargb/laravel-magiclink/security/advisories/GHSA-r33w-fg8j-
FAQ
What is CVE-2026-61701?
CVE-2026-61701 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 da...
How severe is CVE-2026-61701?
CVE-2026-61701 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-61701?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.