# CVE-2025-66630: Fiber insecurely fallsback in utils.UUIDv4() / utils.UUID() — predictable / zero‑UUID on crypto/rand failure

- Severity: Critical 9.2 (CVSS:4.0, scored by GitHub_M) `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`
- 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.64%, higher than 45% of CVEs (2026-11-30)
- Published: 2026-02-09T15:28:37.000Z
- Modified: 2026-09-10T03:49:54.322Z
- Also known as: GHSA-68rr-p4fp-j59v, GO-2026-4471
- Weaknesses: CWE-338
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- gofiber fiber: < 2.52.11; before 2.52.11
- github.com/gofiber/fiber/v2 (Go): before 2.52.11
- github.com/gofiber/fiber (Go): all versions

## Every score

- GitHub_M: CVSS:4.0 9.2 Critical `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`
- GitHub: CVSS:4.0 Critical `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: CVSS:3.1 9.4 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`

## References

- <https://github.com/gofiber/fiber/security/advisories/GHSA-68rr-p4fp-j59v> (advisory, vendor-advisory, web)
- <https://github.com/gofiber/fiber/commit/eb874b6f6c5896b968d9b0ab2b56ac7052cb0ee1> (fix, patch, web)
- <https://github.com/gofiber/fiber/releases/tag/v2.52.11> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-66630> (advisory)
- <https://github.com/gofiber/fiber> (package)

## Sources

- CVE List: [CVE-2025-66630](https://www.cve.org/CVERecord?id=CVE-2025-66630), CVE Terms of Use, modified 2026-02-10
- GitHub Advisory Database: [GHSA-68rr-p4fp-j59v](https://github.com/advisories/GHSA-68rr-p4fp-j59v), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-4471](https://pkg.go.dev/vuln/GO-2026-4471), CC-BY-4.0, modified 2026-02-19
- NVD: [CVE-2025-66630](https://nvd.nist.gov/vuln/detail/CVE-2025-66630), Public domain, modified 2026-06-17

---

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