{"id":"CVE-2025-66630","published":"2026-02-09T18:04:47Z","modified":"2026-02-10T16:02:43Z","title":"Fiber insecurely fallsback in utils.UUIDv4() / utils.UUID() — predictable / zero‑UUID on crypto/rand failure","vendor":"gofiber","product":"fiber","tier":"tail","description":{"text":"Fiber is an Express inspired web framework written in Go. Before 2.52.11, on Go versions prior to 1.24, the underlying crypto/rand implementation can return an error if secure randomness cannot be obtained. Because no error is returned by the Fiber v2 UUID functions, application code may unknowingly rely on predictable, repeated, or low-entropy identifiers in security-critical pathways. This is especially impactful because many Fiber v2 middleware components (session middleware, CSRF, rate limiting, request-ID generation, etc.) default to using utils.UUIDv4(). This vulnerability is fixed in 2.52.11.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.2,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00527,"percentile":0.45548,"provenance":"source"},"cwes":[{"id":"CWE-338","name":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)"}],"references":[{"url":"https://github.com/gofiber/fiber/security/advisories/GHSA-68rr-p4fp-j59v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gofiber/fiber/commit/eb874b6f6c5896b968d9b0ab2b56ac7052cb0ee1","tags":["x_refsource_MISC"]},{"url":"https://github.com/gofiber/fiber/releases/tag/v2.52.11","tags":["x_refsource_MISC"]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":9.11},{"name":"CVSS severity","points":6.44}]},"vendorSlug":"gofiber","affectedVersions":[{"vendor":"gofiber","product":"fiber","versions":["< 2.52.11"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-10T15:30:29.686589Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/gofiber/fiber/v2","vulnerableRanges":["<2.52.11"],"patched":["2.52.11"],"from":["GHSA-68rr-p4fp-j59v","GO-2026-4471"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/gofiber/fiber","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-4471"],"provenance":"source"}],"summary":{"text":"Fiber, the Express-inspired Go web framework, has a flaw in its utils.UUIDv4() and utils.UUID() functions in versions before 2.52.11 when built with Go versions prior to 1.24: if crypto/rand fails to obtain secure randomness, the functions return predictable, repeated, or low-entropy identifiers instead of signalling an error. An attacker with network access can exploit this without authentication or user interaction when the affected identifiers back security-critical functions, such as the default session, CSRF, rate-limiting, and request-ID middleware, that use utils.UUIDv4().","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:21:08Z"},"euvd":{"id":"EUVD-2025-207191","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-38513","published":"2024-07-01","fixed":"2.52.5","kev":false},{"cve":"CVE-2025-48075","published":"2025-05-22","fixed":"2.52.7","kev":false},{"cve":"CVE-2025-54801","published":"2025-08-05","fixed":"2.52.9","kev":false,"link":{"from":"CVE-2025-54801","to":"CVE-2025-66630","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/gofiber/fiber/v2","fromFixed":"2.52.9","toFixed":"2.52.11","daysApart":188}]}},{"cve":"CVE-2025-66630","published":"2026-02-09","fixed":"2.52.11","kev":false},{"cve":"CVE-2026-25882","published":"2026-02-24","fixed":"2.52.12","kev":false,"link":{"from":"CVE-2025-66630","to":"CVE-2026-25882","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/gofiber/fiber/v2","fromFixed":"2.52.11","toFixed":"2.52.12","daysApart":15}]}},{"cve":"CVE-2026-42554","published":"2026-05-11","fixed":"2.52.13","kev":false},{"cve":"CVE-2026-45045","published":"2026-07-08","fixed":"2.52.14","kev":false}],"package":"Go:github.com/gofiber/fiber/v2"}}