Live threats

All CVEs / gofiber

CVE-2026-119285gofiber fiber

Medium 5.9 No auth needed

Priority
50
CVSS 3.1
5.9
EPSS
—
Auth required
No
Published
Oct 29, 2026
Updated
Nov 4, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-346, CWE-942
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N

What happens

Fiber is an Express inspired web framework written in Go. From 2.52.1 until 2.52.3, the CORS middleware's validateDomain wildcard matcher in middleware/cors/utils.go strips the scheme and checks only a host suffix without requiring a dot boundary. An application configured with a wildcard-subdomain AllowOrigins value and AllowCredentials enabled can reflect an unrelated attacker-controlled origin whose host merely ends with the configured base domain. A user who visits that origin can expose authenticated cross-origin responses to the attacker's page; empty-label origins and later comma-space parsing hardening are outside this advisory. This issue is fixed in version 2.52.3.

Original NVD text.

What to do

  1. Apply the vendor's security update for fiber.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/gofiber/fiber/v2 ≥ 2.52.1 < 2.52.3 2.52.3 go get github.com/gofiber/fiber/v2@v2.52.3
Go github.com/gofiber/fiber/v2 ≥ 2.52.1 < 2.52.3 2.52.3 go get github.com/gofiber/fiber/v2@v2.52.3

Per OSV / GitHub Advisories (GHSA-g5jq-qmqr-qrwf, GO-2026-6896). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.