GHSA-559m-v249-7qw2MediumCVSS 6.5
Laravel: IP Spoofing via Host Header in TrustProxies Middleware Forge/Vapor Auto-Detection
🔗 CVE IDs covered (1)
📋 Description
Summary
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
- Fixed in #62484
🎯 Affected products2
- composer/laravel/framework:>= 13.0.0, < 13.43.0
- composer/laravel/framework:< 12.73.0
🔗 References (7)
- https://github.com/laravel/framework/security/advisories/GHSA-559m-v249-7qw2
- https://nvd.nist.gov/vuln/detail/CVE-2026-142635
- https://github.com/laravel/framework/pull/62484
- https://github.com/laravel/framework/commit/57702740fef5b8d3fc6e3cae05e66c832ef049db
- https://github.com/laravel/framework/releases/tag/v12.73.0
- https://github.com/laravel/framework/releases/tag/v13.43.0
- https://github.com/advisories/GHSA-559m-v249-7qw2