CVE-2021-47756 Laravel Valet 2.0.3 - Local Privilege Escalation (macOS)
Local attackers can modify the symlinked valet command to execute arbitrary code with root privileges on macOS systems.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-47756?
CVE-2021-47756 is a high-severity vulnerability in Laravel Valet, published on 15 Jan 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Laravel Valet versions 1.1.4 to 2.0.3 contain a local privilege escalation vulnerability that allows users to modify the valet command with root privileges. Attackers can edit the symlinked valet command to execute arbitrary code with root permissions without additional authentication.
Weakness: CWE-732
Which versions are affected by CVE-2021-47756?
How do I fix CVE-2021-47756?
No fix has been published for CVE-2021-47756 yet. Limit exposure of the affected software until one is available.
Is CVE-2021-47756 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-47756 exists.
Sources
Also known as GHSA-gfh8-gfv4-8h9v.