{"id":"CVE-2025-48865","published":"2025-05-30T06:14:45Z","modified":"2025-05-30T12:24:19Z","title":"Fabio allows HTTP clients to manipulate custom headers it adds","vendor":"fabiolb","product":"fabio","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0047,"percentile":0.41574,"provenance":"source"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"},{"id":"CWE-348","name":"Use of Less Trusted Source"}],"references":[{"url":"https://github.com/fabiolb/fabio/security/advisories/GHSA-q7p4-7xjv-j3wf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/fabiolb/fabio/commit/fdaf1e966162e9dd3b347ffdd0647b39dc71a1a3","tags":["x_refsource_MISC"]},{"url":"https://github.com/fabiolb/fabio/releases/tag/v1.6.6","tags":["x_refsource_MISC"]}],"priority":{"score":14.7,"factors":[{"name":"EPSS percentile","points":8.31},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"fabiolb","affectedVersions":[{"vendor":"fabiolb","product":"fabio","versions":["< 1.6.6"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-05-30T12:24:13.107794Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/fabiolb/fabio","vulnerableRanges":["<1.6.6"],"patched":["1.6.6"],"from":["GHSA-q7p4-7xjv-j3wf","GO-2025-3722"],"provenance":"source"}],"summary":{"text":"Fabio, the HTTP(S) and TCP router for consul-managed applications, has a flaw in how it processes hop-by-hop headers, which lets clients strip or alter the X-Forwarded headers it adds (other than X-Forwarded-For) before forwarding requests to backend applications. An unauthenticated remote attacker can exploit this over the network by sending requests whose Connection header marks those headers as hop-by-hop, with no user interaction or special configuration required, to remove or manipulate headers that backends may trust.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:18Z"},"euvd":{"id":"EUVD-2025-16398","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-fabiolb-fabio-cve-2025-48865","children":[{"from":"CVE-2025-48865","to":"CVE-2026-62987","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/fabiolb/fabio","fromFixed":"1.6.6","toFixed":"1.7.2","daysApart":479},{"kind":"same-code","provenance":"machine","files":["proxy/http_headers.go"],"commits":["https://github.com/fabiolb/fabio/commit/fdaf1e966162e9dd3b347ffdd0647b39dc71a1a3","https://github.com/fabiolb/fabio/commit/240526a8004077edad4fb96d25b382bfc3901357"],"basis":"shared function","functions":["addHeaders","addResponseHeaders"]},{"kind":"similar","provenance":"machine","score":0.36,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2025-48865","published":"2025-05-30","fixed":"1.6.6","kev":false},{"cve":"CVE-2026-62987","published":"2026-09-21","fixed":"1.7.2","kev":false},{"cve":"CVE-2026-104099","published":"2026-11-19","fixed":"1.7.3","kev":false}],"package":"Go:github.com/fabiolb/fabio"}}