---
id: CVE-2026-61701
title: >-
  Laravel MagicLink creates links for authentication without a password or for
  accessing private content
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 t…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-502
vendor: cesargb
product: laravel-magiclink
affected:
  - 'laravel-magiclink >= 2.0.0, < 2.25.1'
published: '2026-09-14'
updated: '2026-09-14'
sourceUpdated: '2026-09-14T19:17:38.157'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-61701'
references:
  - url: >-
      https://github.com/cesargb/laravel-magiclink/commit/19fa820a49ea9b3984e9a91b4bf4bf0cf8375183
    label: security-advisories@github.com
  - url: 'https://github.com/cesargb/laravel-magiclink/pull/148'
    label: security-advisories@github.com
  - url: 'https://github.com/cesargb/laravel-magiclink/releases/tag/v2.25.1'
    label: security-advisories@github.com
  - url: >-
      https://github.com/cesargb/laravel-magiclink/security/advisories/GHSA-r33w-fg8j-9c94
    label: security-advisories@github.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-14T18:49:11.858501Z'
ingestedAt: '2026-09-14T18:12:17.162Z'
epss: 0.00519
epssPercentile: 0.43158
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
