CVE-2025-48075Gofiber Fiber
High 7.7 No auth needed
Follow: this CVE · Gofiber · Gofiber Fiber We alert you by email or Slack (account required).
- Priority
- 61
- CVSS 4.0
- 7.7
- EPSS
- —
- Auth required
- No
- Published
- May 22, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-129
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
Fiber is an Express-inspired web framework written in Go. Starting in version 2.52.6 and prior to version 2.52.7, `fiber.Ctx.BodyParser` can map flat data to nested slices using `key[idx]value` syntax, but when idx is negative, it causes a panic instead of returning an error stating it cannot process the data. Since this data is user-provided, this could lead to denial of service for anyone relying on this `fiber.Ctx.BodyParser` functionality. Version 2.52.7 fixes the issue.
What to do
- Apply the vendor's security update for Fiber.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/gofiber/fiber |
all |
no fixed version | — |
| Go | github.com/gofiber/fiber/v2 |
≥ 2.52.6 < 2.52.7 |
2.52.7 |
go get github.com/gofiber/fiber/v2@v2.52.7 |
| Go | github.com/gofiber/fiber/v2 |
≥ 2.52.6 < 2.52.7 |
2.52.7 |
go get github.com/gofiber/fiber/v2@v2.52.7 |
Per OSV / GitHub Advisories (GO-2025-3706, GHSA-hg3g-gphw-5hhm). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gofiber | fiber | ≥ 2.0.0 < 2.52.7 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Vendor Advisory