CVE-2025-66630: Fiber insecurely fallsback in utils.UUIDv4() / utils.UUID() — predictable / zero‑UUID on crypto/rand failure
Vulnerability summary
CVE-2025-66630 is a critical (CVSS 9.4) vulnerability in gofiber fiber. EPSS estimates a 0.53% chance of exploitation in the next 30 days, higher than 44.3% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2 · Related 3Timeline
- 09-02-2026PublishedVulnerability first disclosed.
- 10-02-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · WolfiEcosystem advisory · calculated9.2CriticalCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
- OSV · GoEcosystem advisory · calculated9.2CriticalCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated9.2CriticalCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
- NVDNIST9.2CriticalCVSS: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
EPSS trend
Probability
0.53%
Chance of exploitation in the next 30 days
Percentile
44%
Versus all other CVEs
30-day change
Increase +0.05 pp
From 0.49% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard2 products
- gatus< 5.34.0-r3
- gatus-fips< 5.34.0-r2
Github.com/gofiber1 product
- fiberAll versions (No fix recorded)
Github.com/gofiber/fiber1 product
- v2< 2.52.11
Gofiber1 product
- fiber< 2.52.11
Wolfi1 product
- gatus< 5.34.0-r3
5 vendors · 6 products
References
6 links- github.com/gofiber/fiber/security/advisories/GHSA-68rr-p4fp-j59vX Refsource CONFIRMAdvisoryWEBVendor Advisory
- github.com/gofiber/fiberPACKAGE