Golang github gofiber fiber: From 2.52.1 until 2.52.3, the CORS middleware's validateDomain wildcard matcher in
Affects golang-github-gofiber-fiberSource GCVE Database
Not known to be exploited · CVSS 5.9 Medium · fixed in 2.52.3 : update golang-github-gofiber-fiber when convenient.
Data as of 5 Nov 2026, 12:35 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 5.9 |
|---|
- Patch
- Available – fixed in 2.52.3
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 29 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10golang-github-gofiber-fiberpkg:deb/ubuntu/golang-github-gofiber-fiber?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10golang-github-gofiber-fiber-v2pkg:deb/ubuntu/golang-github-gofiber-fiber-v2?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- ubuntu.com/security/CVE-2026-119285 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-119285 (opens in a new tab)
- github.com/gofiber/fiber/commit/1aac6f618b6bd3e159d2449acb4232a2170b976b (opens in a new tab)
- github.com/gofiber/fiber/pull/2915 (opens in a new tab)
- github.com/gofiber/fiber/releases/tag/v2.52.3 (opens in a new tab)
- github.com/gofiber/fiber/security/advisories/GHSA-g5jq-qmqr-qrwf (opens in a new tab)