CVE-2021-47756 Details
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.
A local privilege escalation vulnerability has been identified in Laravel Valet versions 1.1.4 prior to 2.0.3. This vulnerability allows users to modify the 'valet' command to execute arbitrary code with root privileges, bypassing any authentication requirements. The issue arises because the 'valet' command is symlinked to a user-writable location, and the sudoers configuration for Valet allows commands to be executed as root without a password.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jan 16, 2026CISA-ADP
Assessed Jan 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://laravel.com/docs/8.x/valet | [email protected] | ProductVendor |
| https://www.exploit-db.com/exploits/50591 | [email protected] | Exploit |
| https://www.vulncheck.com/advisories/laravel-valet-local-privilege-escalation-macos | [email protected] | AdvisoryBundle |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-732 | Incorrect Permission Assignment for Critical Resource | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Laravel Valet | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 16, 2026 | New CVE Received | [email protected] |
Volerion