{"answers":{"affected":"3 open source packages ship an affected version, including github.com/fabiolb/fabio. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-48865 exists.","fix":"Upgrade github.com/fabiolb/fabio to 1.6.6 or later.","what":"CVE-2025-48865 is a critical vulnerability in fabiolb fabio, published on 30 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-48865 and fix it if it is affected.\n\nWhat it is: CVE-2025-48865 is a critical vulnerability in fabiolb fabio, published on 30 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-48865 exists.\n\nAffected packages and fixed versions:\n- github.com/fabiolb/fabio (Go): affected all versions; fixed in 1.6.6\n- github.com/fabiolb/fabio (Go): affected all versions; fixed in 1.6.6\n- github.com/fabiolb/fabio (Go): affected all versions; fixed in 1.6.6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-48865/ (Markdown: https://insights.sbomify.com/CVE-2025-48865/index.md)","id":"CVE-2025-48865","markdown":"https://insights.sbomify.com/CVE-2025-48865/index.md","name":"CVE-2025-48865","record":{"aliases":["GHSA-q7p4-7xjv-j3wf","GO-2025-3722"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"HTTP/TCP router","requires_auth":"none","summary":"Attackers can remove or manipulate trusted X-Forwarded headers in Fabio, potentially bypassing security controls in backend applications.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"fabio","vendor":"fabiolb"}],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-348","name":"Use of Less Trusted Source"},{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"}],"description":"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Fabio allows HTTP clients to manipulate custom headers it adds","id":"CVE-2025-48865","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"security_feature_bypass","year":"2025"},"n_packages":3,"n_references":3,"next":{"headline":"ModSecurity has possible DoS vulnerability in sanitiseArg action","id":"CVE-2025-48866"},"packages":[{"ecosystem":"Go","fixed":["1.6.6"],"introduced":["0"],"last_affected":[],"package":"github.com/fabiolb/fabio","purl":null,"source":"GHSA-q7p4-7xjv-j3wf"},{"ecosystem":"Go","fixed":["1.6.6"],"introduced":["0"],"last_affected":[],"package":"github.com/fabiolb/fabio","purl":"pkg:golang/github.com/fabiolb/fabio","source":"GHSA-q7p4-7xjv-j3wf"},{"ecosystem":"Go","fixed":["1.6.6"],"introduced":["0"],"last_affected":[],"package":"github.com/fabiolb/fabio","purl":"pkg:golang/github.com/fabiolb/fabio","source":"GO-2025-3722"}],"prev":{"headline":"This CVE id was assigned but later discarded.","id":"CVE-2025-48864"},"products":["fabio"],"published":"2025-05-30","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-05-30","vendors":["fabiolb"]},"summary":"Attackers can remove or manipulate trusted X-Forwarded headers in Fabio, potentially bypassing security controls in backend applications.","url":"https://insights.sbomify.com/CVE-2025-48865/"}