CVE-2026-119285 - Fiber CORS Vulnerability
CVE-2026-119285 - Fiber CORS Vulnerability
The vulnerability is identified as CVE-2026-119285. Fiber is an Express-inspired web framework written in Go. The following products are affected by the CVE-2026-119285 vulnerability:
| ID | Vendor | Product | Action |
|---|---|---|---|
| 1 | Gofiber | fiber | 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.
This issue is fixed in version 2.52.3.
Vulnerability History
Details indicate a new CVE received by [email protected] on October 29, 2026. At that time, the added description stated: 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. This issue is fixed in version 2.52.3.
CVSS Score
The vulnerability has an added CVSS V3.1 score of AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N. It is also associated with added CWE CWE-346 and CWE-942.
References
To read the complete article see: Read full article
🚀 Stay informed and secure!