CVE-2026-119285
Fiber is an Express inspired web framework written in Go. From …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/gofiber/fiber/commit/1aac6f618b6bd3e159d2449acb4232a2170b976b
- github.com/gofiber/fiber/pull/2915
- github.com/gofiber/fiber/releases/tag/v2.52.3
- github.com/gofiber/fiber/security/advisories/GHSA-g5jq-qmqr-qrwf
- nvd.nist.gov/vuln/detail/CVE-2026-119285
- github.com/advisories/GHSA-g5jq-qmqr-qrwf
- nvd.nist.gov/vuln/detail/CVE-2026-119285
- cve.org/CVERecord?id=CVE-2026-119285
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.