MEDIUM5.9
GO-2026-6896
Fiber: CORS wildcard origins matched without a dot boundary, allowing credentialed cross-origin reads in github.com/gofiber/fiber
Quick fix
GO-2026-6896 — github.com/gofiber/fiber/v2: upgrade to the fixed version with the command below.
go get github.com/gofiber/fiber/v2@v2.52.3Details
Fiber: CORS wildcard origins matched without a dot boundary, allowing credentialed cross-origin reads in github.com/gofiber/fiber
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/gofiber/fiber/v2
Introduced in:
2.52.1Fixed in: 2.52.3Fix
go get github.com/gofiber/fiber/v2@v2.52.3References
- https://github.com/gofiber/fiber/security/advisories/GHSA-g5jq-qmqr-qrwf[ADVISORY]
- https://nvd.nist.gov/vuln/detail/CVE-2026-119285[ADVISORY]
- https://github.com/gofiber/fiber/commit/1aac6f618b6bd3e159d2449acb4232a2170b976b[FIX]
- https://github.com/gofiber/fiber/pull/2915[FIX]
- https://github.com/gofiber/fiber/releases/tag/v2.52.3[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:golang/github.com/gofiber/fiber/v2"]}'