Medium severity · published Oct 29, 2026
CVE-2026-119285
Fiber: CORS wildcard origins matched without a dot boundary, allowing credentialed cross-origin reads
New
5.9
CVSS
–
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N
Attack vector
Network
Complexity
High
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FI
fiber · gofiber
>= 2.52.1, < 2.52.3 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-119285
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-119285
github.com
https://github.com/gofiber/fiber/commit/1aac6f618b6bd3e159d2449acb4232a2170b976b
github.com
https://github.com/gofiber/fiber/pull/2915
github.com
https://github.com/gofiber/fiber/releases/tag/v2.52.3
github.com
https://github.com/gofiber/fiber/security/advisories/GHSA-g5jq-qmqr-qrwf
More from fiber
9.8
CVE-2024-38513
Fiber Session Middleware Token Injection Vulnerability
9.8
CVE-2024-25124
Fiber has Insecure CORS Configuration, Allowing Wildcard Origin with Credentials
9.4
CVE-2025-66630
Fiber insecurely fallsback in utils.UUIDv4() / utils.UUID() — predictable / zero‑UUID on crypto/rand failure
8.8
CVE-2023-45141
CSRF Token Validation Vulnerability in fiber
8.8
CVE-2023-45128
CSRF Token Reuse Vulnerability in fiber
