CVE-2025-48865
Fabio allows HTTP clients to manipulate custom headers it adds
Reported by github_m · Published May 30, 2025
github.com/fabiolb/fabio is fixed in 1.6.6 (Go Modules)
Fabio is an HTTP(S) and TCP router for deploying applications managed by consul. Prior to version 1.6.6, Fabio allows clients to remove X-Forwarded headers (except X-Forwarded-For) due to a vulnerability in how it processes hop-by-hop headers. Fabio adds HTTP headers like X-Forwarded-Host and X-Forwarded-Port when routing requests to backend applications. Since the receiving application should trust these headers, allowing HTTP clients to remove or modify them creates potential security vulnerabilities. Some of these custom headers can be removed and, in certain cases, manipulated. The attack relies on the behavior that headers can be defined as hop-by-hop via the HTTP Connection header. This issue has been patched in version 1.6.6.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/fabiolb/fabio | Go Modules | 1.6.6 |
| fabio | fabiolb | 1.6.6 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| fabiolb | fabio | < 1.6.6 |
| fabiolb | fabio | 0 |
| github.com | fabiolb/fabio | 0 |
Timeline
- May 29, 2025 CVE Published
- May 30, 2025 EPSS Score (30 in total, the first dated here)
- May 30, 2025 Coalition ESS Score (12 in total, the first dated here)
- May 30, 2025 PoC Published (2 in total, the first dated here)
- Jun 4, 2025 CVE Updated
- Dec 12, 2025 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-48865
vulnetix vdb fixes CVE-2025-48865
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-48865/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/fabiolb/fabio/security/advisories/GHSA-q7p4-7xjv-j3wf x_refsource_CONFIRM
- https://github.com/fabiolb/fabio/commit/fdaf1e966162e9dd3b347ffdd0647b39dc71a1a3 x_refsource_MISC
- https://github.com/fabiolb/fabio/releases/tag/v1.6.6 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2025-48865 advisory
- https://github.com/advisories/GHSA-q7p4-7xjv-j3wf advisory
- https://github.com/fabiolb/fabio url