CVE-2026-61701
CVE-2026-61701 · Laravel MagicLink: Insecure Deserialization of MagicLink Actions Leads to Remote Code Execution
Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.
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 · Hoch · EPSS 0,8% · Korrektur verfügbar
- Veröffentlicht
- Aktualisiert
Technologie-Stack: php
Betroffene Produkte und Versionen
laravel-magiclink
- Softwareversionen
- >= 2.0.0, < 2.25.1: Betroffen
Keine Korrektur veröffentlicht
cesargb/laravel-magiclink Packagist
- Softwareversionen
- 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
- Betroffene Versionsbereiche
- ECOSYSTEM: ≥ 2.0.0, < 2.25.1
Auf 2.25.1 aktualisieren
Originalquellen
- 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