Laravel: IP Spoofing via Host Header in TrustProxies Middleware Forge/Vapor Auto-Detection
Affected
| Package | Affected versions | Fixed in |
|---|---|---|
| composer:laravel/framework | >= 13.0.0, < 13.43.0 | 13.43.0 |
| composer:laravel/framework | < 12.73.0 | 12.73.0 |
On applications with no trusted proxies configured, Laravel could treat a request as coming through a trusted Forge or Vapor proxy based on a header the visitor controls. An attacker could use this to fake their IP address and make an insecure request look like HTTPS. This can let an attacker get around IP-based rate limits, such as login throttling, and IP allowlists. Only applications that haven't configured trusted proxies, and whose web server accepts any hostname, are affected. Patch - Fix…
Read on GitHub Advisory Database
On 12/04/2026, 03:17 AM, GitHub Advisory Database published "Laravel: IP Spoofing via Host Header in TrustProxies Middleware Forge/Vapor Auto-Detection" (type: Advisory). Severity is "Medium" (medium). Related technologies: PHP, Laravel. CVE: CVE-2026-142635.