A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-66020

CVE-2025-66020: Valibot ReDoS Denial of Service Vulnerability

CVE-2025-66020 is a Regular Expression Denial of Service flaw in Valibot's EMOJI_REGEX that allows attackers to cause excessive CPU consumption with minimal input. This article covers technical details, affected versions, and patches.

Published: April 22, 2026

CVE-2025-66020 Overview

CVE-2025-66020 is a Regular Expression Denial of Service (ReDoS) vulnerability affecting Valibot, a popular data validation library. The vulnerability exists in the EMOJI_REGEX pattern used within the emoji action feature. An attacker can craft a malicious input string of fewer than 100 characters that causes the regex engine to consume excessive CPU time, potentially lasting several minutes, effectively rendering the application unresponsive.

Critical Impact

Applications using Valibot versions 0.31.0 through 1.1.0 for emoji validation are vulnerable to denial of service attacks through maliciously crafted input strings.

Affected Products

  • Valibot versions 0.31.0 through 1.1.0
  • Applications utilizing the emoji action validation feature
  • Node.js and JavaScript environments running vulnerable Valibot versions

Discovery Timeline

  • 2025-11-26 - CVE-2025-66020 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-66020

Vulnerability Analysis

This vulnerability falls under CWE-1333 (Inefficient Regular Expression Complexity). The root issue stems from the regex pattern used in Valibot's emoji validation action, which contains nested quantifiers or overlapping patterns that cause catastrophic backtracking when processing specially crafted input.

ReDoS vulnerabilities occur when a regular expression's worst-case evaluation time grows exponentially with input size. In this case, the EMOJI_REGEX pattern exhibits this behavior, allowing an attacker to craft short input strings (under 100 characters) that force the regex engine into excessive backtracking cycles. This can consume CPU resources for extended periods, effectively causing a denial of service condition.

The attack requires no authentication and can be triggered remotely through any application endpoint that processes user input through Valibot's emoji validation. Since the attack vector is network-accessible and requires no special privileges, applications exposed to untrusted input are particularly at risk.

Root Cause

The vulnerability originates from inefficient regular expression design in the EMOJI_REGEX pattern within Valibot's emoji action module. The regex contains patterns that lead to exponential time complexity during evaluation, particularly when processing strings with specific character sequences that cause the regex engine to explore numerous backtracking paths before determining a match or non-match.

Attack Vector

The attack exploits the network-accessible nature of applications using Valibot for input validation. An attacker can submit a crafted string through any form, API endpoint, or data input mechanism that utilizes the vulnerable emoji validation action. The malicious payload requires no authentication to deliver, and a single request with a carefully constructed string can cause significant CPU exhaustion on the target server.

The attack methodology involves:

  1. Identifying an application using Valibot's emoji validation
  2. Crafting an input string with patterns that trigger catastrophic backtracking
  3. Submitting the payload through any user-facing input channel
  4. Observing the target application become unresponsive during regex evaluation

For technical implementation details, refer to the GitHub Security Advisory GHSA-vqpr-j7v3-hqw9.

Detection Methods for CVE-2025-66020

Indicators of Compromise

  • Unexplained CPU spikes on servers processing user input through Valibot validation
  • Application threads hanging or timing out during emoji validation operations
  • Increased response latency correlated with specific input patterns
  • Server resource exhaustion alerts without corresponding increase in legitimate traffic

Detection Strategies

  • Monitor application logs for timeout errors related to validation operations
  • Implement regex evaluation time limits and alert on excessive processing duration
  • Deploy dependency scanning tools to identify vulnerable Valibot versions in your codebase
  • Conduct software composition analysis (SCA) to track vulnerable library versions

Monitoring Recommendations

  • Configure CPU usage alerts for processes handling input validation
  • Establish baseline response times for validation endpoints and alert on anomalies
  • Enable detailed logging for validation failures and timeouts
  • Implement request rate limiting on endpoints accepting user-controlled input

How to Mitigate CVE-2025-66020

Immediate Actions Required

  • Upgrade Valibot to version 1.2.0 or later immediately
  • Audit applications to identify all instances of emoji action usage
  • Implement input length restrictions as a temporary defense layer
  • Configure request timeouts to limit impact of potential exploitation attempts

Patch Information

The vulnerability has been addressed in Valibot version 1.2.0. The fix involves replacing the vulnerable EMOJI_REGEX with a more efficient pattern that avoids catastrophic backtracking scenarios. Organizations should update their package dependencies to the patched version.

For patch details, see the commit cfb799db301a953a0950d5c05a34a3ab121262dc.

Workarounds

  • Implement strict input length validation before passing data to emoji validation (limit to reasonable emoji string lengths)
  • Add request timeout configurations at the application or reverse proxy level
  • Consider temporarily disabling emoji validation if not critical to application functionality
  • Deploy web application firewall (WAF) rules to block requests with suspicious character patterns
bash
# Example: Update Valibot to patched version
npm update valibot@^1.2.0

# Or for yarn users
yarn upgrade valibot@^1.2.0

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechValibot

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.14%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-1333
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-vqpr-j7v3-hqw9
  • Latest CVEs
  • CVE-2026-9813: FlowIntel SSRF Vulnerability

  • CVE-2026-4377: D-Link DWR-X1820 Auth Bypass Vulnerability

  • CVE-2026-47074: ex_aws_sns Auth Bypass Vulnerability

  • CVE-2026-46241: Linux Kernel Use-After-Free 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