Laravel: IP Spoofing via Host Header in TrustProxies Middleware Forge/Vapor Auto-Detection
CVE-2026-142635GHSA-559m-v249-7qw2Published 2 Dec 2026, 22:37 UTC
Real-world risk
2.6/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.5
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
Laravel is a web application framework. Prior to 13.43.0 and 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. - Fixed in [#62484]( This issue is fixed in versions 13.43.0 and 12.73.0.
Am I affected?
What to do
Update to a fixed version: 13.43.0, 12.73.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.2% chance of exploitation in 30 days (percentile 11), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 1 × threat 0.852.550
- Rounded to one decimal between 0.1 and 102.6
Exploitation and evidence timeline
- 2 Dec 2026 Published
- 2 Dec 2026 Risk 2.6 (cvss fallback)
Weakness
CWE-346
References
- https://github.com/laravel/framework/security/advisories/GHSA-559m-v249-7qw2vendor-advisory
- https://github.com/laravel/framework/pull/62484misc
- https://github.com/laravel/framework/commit/57702740fef5b8d3fc6e3cae05e66c832ef049dbmisc
- https://github.com/laravel/framework/releases/tag/v12.73.0misc
- https://github.com/laravel/framework/releases/tag/v13.43.0misc
- https://nvd.nist.gov/vuln/detail/CVE-2026-142635
- https://github.com/advisories/GHSA-559m-v249-7qw2
- CVE-2026-142635 on CVE.org