CVE-2025-66630
CRITICAL 9.2CVSS 4.0Fiber has an insecure fallback in utils.UUIDv4() / utils.UUID() — predictable / zero‑UUID on crypto/rand failure
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.
- Published
- 9 Feb 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-338
- Also known as
- GHSA-68rr-p4fp-j59vGO-2026-4471
- Sources
- NVDJSONOSV GHSA-68rr-p4fp-j59vJSONOSV GO-2026-4471JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | CRITICAL 9.2 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gofiber | fibercpe:2.3:a:gofiber:fiber:*:*:*:*:*:go:*:* |
< 2.52.11 | 2.52.11 |
| OSV | Go | github.com/gofiber/fiber/v2 | < 2.52.11 | 2.52.11 |
| OSV | Go | github.com/gofiber/fiber | all versions |
References
- https://github.com/gofiber/fiber/commit/eb874b6f6c5896b968d9b0ab2b56ac7052cb0ee1 · Patch, WEB, FIX
- https://github.com/gofiber/fiber/releases/tag/v2.52.11 · Product, Release Notes, WEB
- https://github.com/gofiber/fiber/security/advisories/GHSA-68rr-p4fp-j59v · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-66630 · ADVISORY
- https://github.com/gofiber/fiber · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 9 Feb 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Feb 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 9 Feb 2026)