{"id":"UBUNTU-CVE-2026-119285","details":"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.","modified":"2026-10-31T03:30:03.249706336Z","published":"2026-10-30T00:00:00Z","upstream":["CVE-2026-119285"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-119285"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-119285"},{"type":"REPORT","url":"https://github.com/gofiber/fiber/commit/1aac6f618b6bd3e159d2449acb4232a2170b976b"},{"type":"REPORT","url":"https://github.com/gofiber/fiber/pull/2915"},{"type":"REPORT","url":"https://github.com/gofiber/fiber/releases/tag/v2.52.3"},{"type":"REPORT","url":"https://github.com/gofiber/fiber/security/advisories/GHSA-g5jq-qmqr-qrwf"}],"affected":[{"package":{"name":"golang-github-gofiber-fiber","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/golang-github-gofiber-fiber?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.0-1","3.4.0-1","3.5.0-1","3.5.0-4"],"ecosystem_specific":{"binaries":[{"binary_version":"3.5.0-4","binary_name":"golang-github-gofiber-fiber-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-119285.json"}},{"package":{"name":"golang-github-gofiber-fiber-v2","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/golang-github-gofiber-fiber-v2?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.52.13-2","2.52.13-3"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-gofiber-fiber-v2-dev","binary_version":"2.52.13-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-119285.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}