CVE-2021-47756CWE-732

Laravel Valet 2.0.3 - Local Privilege Escalation (macOS)

High · published January 15, 2026

CVSS v4.0
8.4
EPSS
0%
Percentile
9.8
In the wild
Unconfirmed
What it is

⚡ An unchecked symlink is all it takes! Laravel Valet versions 1.1.4 to 2.0.3 let sneaky users elevate their permissions to root without breaking a sweat. 🔥 Think of the valet command like a trusted hotel concierge who can open any door. If someone can swap out their ID badge for a master key, they could access the entire hotel—rooms, safe deposits, and everything in between! With this vulnerability, an attacker could easily modify the valet command, allowing them to execute arbitrary code as a root user. This could lead to full control over the system, enabling data theft or even malicious modifications to your server. The damage could be absolutely devastating!

Put simply

Think of the valet command like a trusted hotel concierge who can open any door. If someone can swap out their ID badge for a master key, they could access the entire hotel—rooms, safe deposits, and everything in between! This local privilege escalation flaw allows users to change the symlinked valet command, leading to the execution of commands with root privileges without authentication checks. Essentially, it means a user can become the system admin without any hurdles.

What to do

With this vulnerability, an attacker could easily modify the valet command, allowing them to execute arbitrary code as a root user. This could lead to full control over the system, enabling data theft or even malicious modifications to your server. The damage could be absolutely devastating! To protect your system, immediately upgrade Laravel Valet to version 2.0.4 or later. Regularly audit user permissions and ensure only trusted individuals have access to the valet command. Be proactive in checking for potential symlink manipulations. You've got this! Implement these steps and lock down your Laravel Valet environment like the security hero you are! 🛡️

The record
Technical detail
CVSS v4.0
8.4 · HIGH
Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS
0.00203 · 9.8th percentile
Weakness
CWE-732 · Incorrect Permission Assignment for Critical Resource
Published
2026-01-15T23:25Z
EPSS history
Timeline
  • 15 JAN 23:25Z
    Laravel Valet 2.0.3 - Local Privilege Escalation (macOS)
    cvelistv5