The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-66565

CVE-2025-66565: Gofiber Utils Information Disclosure Flaw

CVE-2025-66565 is an information disclosure vulnerability in Gofiber Utils where cryptographic random number generator failures cause predictable UUID generation. This article covers technical details, affected versions, and patches.

Updated: May 15, 2026

CVE-2025-66565 Overview

CVE-2025-66565 affects Fiber Utils, a collection of common helper functions used by applications built on the Fiber web framework for Go. In versions 2.0.0-rc.3 and below, the UUID generation functions silently fall back to predictable values when the Go cryptographic random number generator (crypto/rand) fails. The fallback can return the zero UUID 00000000-0000-0000-0000-000000000000, undermining any security control that relies on UUID unpredictability. The issue is tracked under [CWE-252: Unchecked Return Value] and is fixed in version 2.0.0-rc.4.

Critical Impact

Applications using Fiber Utils UUID functions for session identifiers, CSRF tokens, or other security-sensitive identifiers may issue predictable or duplicate values, enabling impersonation and authentication bypass.

Affected Products

  • Gofiber Utils 2.0.0-beta1 through 2.0.0-beta14
  • Gofiber Utils 2.0.0-rc1, rc2, and rc3
  • All Fiber applications consuming the affected UUID helper functions

Discovery Timeline

  • 2025-12-09 - CVE-2025-66565 published to the National Vulnerability Database
  • 2025-12-11 - Last updated in NVD database

Technical Details for CVE-2025-66565

Vulnerability Analysis

The vulnerability resides in two related UUID generation functions exported by the gofiber/utils module. Both functions call crypto/rand.Read() to obtain entropy for UUID construction. When crypto/rand.Read() returns an error, the functions ignore the failure and continue execution using uninitialized or zeroed buffers. The result is a deterministic UUID, including the all-zero UUID, returned to callers that expect a cryptographically unique value.

This is a classic unchecked return value defect mapped to [CWE-252]. The functions do not surface the entropy failure to the caller, and they do not panic or retry. Downstream code treats the returned identifier as random and may use it for session tokens, request correlation IDs, password reset tokens, or CSRF protection. An attacker who can predict or guess these identifiers can hijack sessions, replay requests, or bypass authorization checks tied to UUID-based references.

Root Cause

The root cause is the omission of error handling around crypto/rand.Read() combined with a silent fallback path. Go's crypto/rand.Read() can fail in constrained environments, exhausted entropy pools on certain platforms, or sandboxed containers where /dev/urandom or the platform RNG syscall is unavailable. Without an explicit error check, the function returns a UUID derived from a zero or partially populated byte slice.

Attack Vector

Exploitation requires the target application to encounter a crypto/rand failure while generating a UUID through the affected helpers. An attacker who can induce or observe such failures, or who simply collects issued UUIDs at scale, can identify predictable values such as the zero UUID. The attacker then submits crafted requests using those predictable identifiers to gain unauthorized access to resources protected by UUID-based references. The vulnerability is network-reachable in any Fiber application that exposes endpoints relying on these UUIDs.

No public proof-of-concept exploit is available, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. The EPSS probability is 0.067%.

Detection Methods for CVE-2025-66565

Indicators of Compromise

  • Occurrence of the zero UUID 00000000-0000-0000-0000-000000000000 in session stores, audit logs, or database identifier columns
  • Multiple distinct user sessions or records sharing the same UUID value
  • Application logs showing entropy or crypto/rand errors without corresponding request failures
  • Unexpected access patterns where requests succeed using guessed or repeated UUID values

Detection Strategies

  • Perform a software composition analysis scan to identify any service importing github.com/gofiber/utils at a vulnerable version
  • Query application data stores for duplicate UUID values or the all-zero UUID across sessions, tokens, and resource identifiers
  • Add static analysis rules that flag calls to the affected helper functions in code repositories prior to release

Monitoring Recommendations

  • Alert on any log entry containing the zero UUID in authentication, session, or token-issuance pipelines
  • Track the frequency of crypto/rand errors emitted by Go runtimes and treat repeated failures as a security event
  • Monitor for repeated successful authentication or authorization events that reuse the same UUID across distinct clients

How to Mitigate CVE-2025-66565

Immediate Actions Required

  • Upgrade github.com/gofiber/utils to version 2.0.0-rc.4 or later in all Go modules and rebuild affected services
  • Invalidate any active sessions, CSRF tokens, password reset links, or API keys that may have been issued by a vulnerable build
  • Audit data stores for the zero UUID and other duplicate UUID values, and revoke or regenerate the associated records

Patch Information

The fix is included in Fiber Utils 2.0.0-rc.4. The maintainers committed the change in GitHub commit 6c6cf04, and the disclosure is documented in the GitHub Security Advisory GHSA-m98w-cqp3-qcqr. The patch propagates crypto/rand.Read() errors to callers instead of returning a predictable UUID.

Workarounds

  • Replace calls to the vulnerable Fiber Utils UUID helpers with a wrapper that checks the error returned by crypto/rand.Read() and aborts on failure
  • Generate UUIDs using a vetted library such as github.com/google/uuid with explicit error handling on entropy failures
  • Reject the zero UUID at the application layer as an invalid identifier for sessions, tokens, and resource references

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechGofiber

  • SeverityCRITICAL

  • CVSS Score9.3

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/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
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-252
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-25899: Gofiber Fiber DOS Vulnerability

  • CVE-2024-38513: Gofiber Fiber Auth Bypass Vulnerability

  • CVE-2025-54801: Gofiber Fiber DOS Vulnerability

  • CVE-2025-48075: Gofiber Fiber DOS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English