CVE-2026-61701
CVE-2026-61701 · Laravel MagicLink: Insecure Deserialization of MagicLink Actions Leads to Remote Code Execution
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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 8.8 · Élevée · EPSS 0,8% · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: php
Produits et versions concernés
laravel-magiclink
- Versions du logiciel
- >= 2.0.0, < 2.25.1: Concernée
Aucun correctif publié
cesargb/laravel-magiclink Packagist
- Versions du logiciel
- v2.0.0
- v2.1.0
- v2.10.0
- v2.10.1
- v2.10.2
- v2.11.0
- v2.12.0
- v2.12.1
- v2.12.2
- v2.13.0
- v2.14.0
- v2.14.1
- v2.15.0
- v2.16.0
- v2.16.1
- v2.17.0
- v2.18.0
- v2.19.0
- v2.2.0
- v2.2.1
- v2.2.2
- v2.20.0
- v2.21.00
- v2.21.1
- v2.21.2
- v2.22.0
- v2.23.0
- v2.24.0
- v2.24.1
- v2.24.2
- v2.24.3
- v2.24.4
- v2.24.5
- v2.24.6
- v2.24.7
- v2.25.0
- v2.3.0
- v2.4.0
- v2.5.0
- v2.5.1
- v2.5.2
- v2.6.0
- v2.7.0
- v2.8.0
- v2.8.1
- v2.9.0
- v2.9.1
- v2.9.2
- Plages de versions concernées
- ECOSYSTEM: ≥ 2.0.0, < 2.25.1
Mettez à jour vers 2.25.1
Sources originales
- https://github.com/cesargb/laravel-magiclink/security/advisories/GHSA-r33w-fg8j-9c94
- https://github.com/cesargb/laravel-magiclink/pull/148
- https://github.com/cesargb/laravel-magiclink/commit/19fa820a49ea9b3984e9a91b4bf4bf0cf8375183
- https://github.com/cesargb/laravel-magiclink/releases/tag/v2.25.1
- https://nvd.nist.gov/vuln/detail/CVE-2026-61701