# CVE-2026-61701: Laravel MagicLink: Insecure Deserialization of MagicLink Actions Leads to Remote Code Execution

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-02-12T22:11:56.000Z
- Modified: 2026-09-30T19:08:43.927Z
- Also known as: GHSA-r33w-fg8j-9c94
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- cesargb laravel-magiclink: >= 2.0.0, < 2.25.1
- cesargb/laravel-magiclink (Packagist): from 2.0.0 before 2.25.1

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/cesargb/laravel-magiclink/security/advisories/GHSA-r33w-fg8j-9c94> (web)
- <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> (web)
- <https://github.com/cesargb/laravel-magiclink> (package)

## Sources

- CVE List: [CVE-2026-61701](https://www.cve.org/CVERecord?id=CVE-2026-61701), CVE Terms of Use, modified 2026-09-14
- GitHub Advisory Database: [GHSA-r33w-fg8j-9c94](https://github.com/advisories/GHSA-r33w-fg8j-9c94), CC-BY-4.0, modified 2026-09-15
- NVD: [CVE-2026-61701](https://nvd.nist.gov/vuln/detail/CVE-2026-61701), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-61701 · Whole record: https://cve.day/CVE-2026-61701.json · Rebuilt by cve.day 2026-11-25T22:59:38.315Z
