CVE-2026-61701 json
Laravel MagicLink: Insecure Deserialization of MagicLink Actions Leads to Remote Code Execution
published 8mo ago modified last mo. also GHSA-r33w-fg8j-9c94 , EUVD-2026-77617
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
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.
Patch / fix
- packagist cesargb/laravel-magiclink 2.25.1
Is CVE-2026-61701 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- last mo.
Exploit prediction
0.76% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | cesargb/laravel-magiclink | >=2.0.0, <2.25.1 |
2.25.1 |
Affected products
- cesargb laravel-magiclink
Classification
- Weakness
-
- CWE-502 Deserialization of Untrusted Data
References
- github.com /cesargb/laravel-magiclink/pull/148
- github.com /cesargb/laravel-magiclink/commit/19fa820a49ea9b3984e9a91b4bf4bf0cf8375183
-
github.com
/cesargb/laravel-magiclink/security/advisories/GHSA-r33w-fg8j-9c94
web
-
github.com
/cesargb/laravel-magiclink/releases/tag/v2.25.1
web
-
github.com
/cesargb/laravel-magiclink
package
Sources
- CVE List CVE-2026-61701
- GitHub Advisory GHSA-r33w-fg8j-9c94
- NVD CVE-2026-61701
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.