SecurityContext

CVE-2026-61701: Laravel MagicLink - Remote Code Execution

  • Cve: CVE-2026-61701
  • Name: Laravel MagicLink - Remote Code Execution
  • 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.
  • Impact: Attackers with ability to manipulate database records can execute arbitrary code in the application process, leading to full system compromise.
  • Remediation: Upgrade to version 2.25.1 or later.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: remote_code_execution
  • Requirement type: logged_in
  • Requirements: Attacker needs ability to manipulate database records
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00762
  • Epss percentile: 0.56291
  • Assignee: [email protected]
  • Published at: 2026-09-14T17:17:49Z
  • Age in days: 71
  • Modified at: 2026-09-30T19:08:43Z
  • References total: 4
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-61701
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-502Deserialization of Untrusted Data

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/cesargb/laravel-magiclink/commit/19fa820a49ea9b3984e9a91b4bf4bf0cf8375183
https://github.com/cesargb/laravel-magiclink/pull/148
https://github.com/cesargb/laravel-magiclink/releases/tag/v2.25.1
https://github.com/cesargb/laravel-magiclink/security/advisories/GHSA-r33w-fg8j-9c94

Projects

RepositoryLink kindsIndexedUrl
cesargb/laravel-magiclinkcommit, fix, pull, releases, security_advisoryyes/v1/repositories/cesargb/laravel-magiclink

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts