# CVE-2026-119285: Fiber: CORS wildcard origins matched without a dot boundary, allowing credentialed cross-origin reads

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-29T21:36:02.199Z
- Modified: 2026-11-05T23:25:41.631Z
- Also known as: GHSA-g5jq-qmqr-qrwf, GO-2026-6896
- Weaknesses: CWE-346, CWE-942
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- gofiber fiber: >= 2.52.1, < 2.52.3
- github.com/gofiber/fiber/v2 (Go): from 2.52.1 before 2.52.3

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N`

## References

- <https://github.com/gofiber/fiber/security/advisories/GHSA-g5jq-qmqr-qrwf> (exploit, advisory, web)
- <https://github.com/gofiber/fiber/pull/2915> (fix, web)
- <https://github.com/gofiber/fiber/commit/1aac6f618b6bd3e159d2449acb4232a2170b976b> (fix, web)
- <https://github.com/gofiber/fiber/releases/tag/v2.52.3> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-119285> (advisory)
- <https://github.com/gofiber/fiber> (package)

## Sources

- CVE List: [CVE-2026-119285](https://www.cve.org/CVERecord?id=CVE-2026-119285), CVE Terms of Use, modified 2026-11-04
- GitHub Advisory Database: [GHSA-g5jq-qmqr-qrwf](https://github.com/advisories/GHSA-g5jq-qmqr-qrwf), CC-BY-4.0, modified 2026-11-05
- Go Vulnerability Database: [GO-2026-6896](https://pkg.go.dev/vuln/GO-2026-6896), CC-BY-4.0, modified 2026-11-05
- NVD: [CVE-2026-119285](https://nvd.nist.gov/vuln/detail/CVE-2026-119285), Public domain, modified 2026-11-04

---

Page: https://cve.day/CVE-2026-119285 · Whole record: https://cve.day/CVE-2026-119285.json · Rebuilt by cve.day 2026-11-25T22:59:47.845Z
