{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-45045","id":"CVE-2026-45045","title":"Fiber: X-Real-IP Spoofing via Header.Add() in BalancerForward","description":"Fiber is an Express inspired web framework written in Go. Prior to 3.3.0 and 2.52.14, the BalancerForward proxy helper in middleware/proxy/proxy.go uses Header.Add() instead of Header.Set() when injecting X-Real-IP, allowing an attacker-supplied first X-Real-IP value to be forwarded to upstream servers for logging, rate limiting, and access control. This issue is fixed in version 3.3.0 and 2.52.14","descriptionLong":"Fiber is an Express inspired web framework written in Go. Prior to 3.3.0 and 2.52.14, the BalancerForward proxy helper in middleware/proxy/proxy.go uses Header.Add() instead of Header.Set() when injecting X-Real-IP, allowing an attacker-supplied first X-Real-IP value to be forwarded to upstream servers for logging, rate limiting, and access control. This issue is fixed in version 3.3.0 and 2.52.14.","published":"2026-07-08T19:26:26.580Z","updated":"2026-10-28T02:30:30.598602550Z","reserved":"2026-05-08T18:07:27.341Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["gofiber fiber"],"affectedProducts":[{"vendor":"gofiber","product":"fiber","defaultStatus":null,"versions":[{"version":">= 3.0.0-beta.2, < 3.3.0","status":"affected"},{"version":"< 2.52.14","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/gofiber/fiber/v3","purl":"pkg:golang/github.com/gofiber/fiber/v3","ranges":["<3.3.0"],"fixed":["3.3.0"],"advisory":"GHSA-gcfq-8gqf-4876"},{"ecosystem":"Go","name":"github.com/gofiber/fiber/v2","purl":"pkg:golang/github.com/gofiber/fiber/v2","ranges":["<2.52.14"],"fixed":["2.52.14"],"advisory":"GHSA-gcfq-8gqf-4876"}],"cwes":["CWE-290"],"aliases":["GHSA-gcfq-8gqf-4876","GO-2026-5887"],"references":[{"url":"https://github.com/gofiber/fiber/security/advisories/GHSA-gcfq-8gqf-4876","tags":["x_refsource_CONFIRM","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/gofiber/fiber/pull/4260","tags":["x_refsource_MISC","Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/gofiber/fiber/pull/4495","tags":["x_refsource_MISC","Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/gofiber/fiber/commit/1403cc8292da3220e9316960b4030cc722a0f396","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/gofiber/fiber/commit/33c9501288ab47a429c8b5e701493f0c3c0af37d","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/gofiber/fiber/releases/tag/v2.52.14","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/gofiber/fiber/releases/tag/v3.3.0","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45045.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45045","tags":["advisory"]},{"url":"https://github.com/gofiber/fiber","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00463,"epssPercentile":0.40784,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-45045","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45045","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-45045","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-gcfq-8gqf-4876","ok":true,"note":"GHSA-gcfq-8gqf-4876"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-45045","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}