VDB
Sign up
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.3

Details

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.3
Fixgo get github.com/gofiber/fiber/v2@v2.52.3

References

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"]}'