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
    • 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-2021-25094

CVE-2021-25094: Tatsu WordPress Auth Bypass Vulnerability

CVE-2021-25094 is an authentication bypass vulnerability in Tatsu WordPress plugin that allows unauthenticated attackers to upload malicious files. This article covers technical details, affected versions, and mitigations.

Published: February 25, 2026

CVE-2021-25094 Overview

CVE-2021-25094 is an unauthenticated remote code execution vulnerability affecting the Tatsu Builder WordPress plugin. The vulnerability exists in the add_custom_font action, which can be exploited without authentication to upload a malicious zip file that gets extracted to the WordPress uploads directory. By crafting a PHP shell with a filename starting with a dot (.), attackers can bypass the plugin's extension control mechanism. Additionally, a race condition in the zip extraction process allows the shell file to persist long enough on the filesystem to be executed by an attacker.

Critical Impact

Unauthenticated attackers can achieve remote code execution on vulnerable WordPress installations by exploiting the font upload functionality combined with a race condition, potentially leading to complete site compromise.

Affected Products

  • Brandexponents Tatsu (versions prior to 3.3.12)
  • WordPress installations running vulnerable Tatsu Builder plugin

Discovery Timeline

  • 2022-04-25 - CVE-2021-25094 published to NVD
  • 2025-04-21 - Last updated in NVD database

Technical Details for CVE-2021-25094

Vulnerability Analysis

This vulnerability combines multiple security weaknesses to achieve unauthenticated remote code execution. The Tatsu Builder plugin implements a custom font upload feature through the add_custom_font AJAX action. The critical flaw is that this endpoint lacks proper authentication checks, allowing any unauthenticated user to invoke the functionality.

The plugin attempts to implement file extension validation to prevent malicious uploads, but this security control can be bypassed by prepending filenames with a dot character. Files beginning with a dot are treated differently by the validation logic, allowing PHP files to slip through the filter when named like .shell.php.

The exploitation is made possible by a Time-of-Check Time-of-Use (TOCTOU) race condition during the zip extraction process. While the plugin eventually attempts to clean up unauthorized files, there exists a window of time between extraction and cleanup where the malicious PHP file is accessible and executable. Attackers can exploit this race condition by repeatedly requesting the malicious file during extraction, achieving code execution before the cleanup routine removes it.

Root Cause

The root cause is a combination of Missing Authentication for Critical Function (CWE-306) and improper input validation. The add_custom_font action processes zip file uploads without verifying user authentication, and the extension validation logic fails to properly handle hidden files (those starting with a dot character). The asynchronous nature of the zip extraction creates a race condition that can be exploited to execute arbitrary code.

Attack Vector

The attack is network-based and requires no prior authentication or user interaction. An attacker crafts a malicious zip archive containing a PHP webshell with a dot-prefixed filename (e.g., .malicious.php). The attacker then sends a POST request to the vulnerable add_custom_font endpoint with the crafted zip file. While the file is being extracted, the attacker races to access the PHP shell before cleanup occurs. Upon successful exploitation, the attacker gains the ability to execute arbitrary PHP code with the privileges of the web server user.

Technical analysis and proof-of-concept details are available in the Dark Pills CVE-2021-25094 Analysis and the Packet Storm RCE Exploit.

Detection Methods for CVE-2021-25094

Indicators of Compromise

  • Unexpected PHP files in the WordPress uploads directory, particularly those with dot-prefixed filenames (e.g., .shell.php)
  • Suspicious POST requests to /wp-admin/admin-ajax.php with action=add_custom_font
  • Anomalous zip file uploads containing PHP files within font-related directories
  • Web server logs showing rapid repeated requests to files in the uploads directory immediately following font upload requests

Detection Strategies

  • Monitor web server access logs for unauthenticated requests to admin-ajax.php with the add_custom_font action parameter
  • Implement file integrity monitoring on the WordPress uploads directory to detect newly created PHP files
  • Deploy web application firewall (WAF) rules to block zip uploads containing PHP files to the font upload endpoint
  • Use WordPress security plugins to scan for hidden PHP files (dot-prefixed) in the uploads directory

Monitoring Recommendations

  • Configure alerts for any PHP file creation in the wp-content/uploads directory tree
  • Monitor for outbound connections from the web server that may indicate reverse shell activity
  • Review web server error logs for failed attempts to access non-existent PHP files in uploads (may indicate exploitation attempts)
  • Implement runtime application self-protection (RASP) to detect and block shell execution attempts

How to Mitigate CVE-2021-25094

Immediate Actions Required

  • Update the Tatsu Builder plugin to version 3.3.12 or later immediately
  • If immediate patching is not possible, disable the Tatsu Builder plugin until it can be updated
  • Scan the WordPress uploads directory for any suspicious PHP files, especially those with dot-prefixed names
  • Review web server logs for evidence of exploitation attempts targeting the add_custom_font endpoint

Patch Information

The vulnerability has been addressed in Tatsu Builder version 3.3.12. Site administrators should update to this version or later through the WordPress plugin management interface. For detailed vulnerability information, refer to the WPScan Vulnerability Report. Additional technical details and exploit information can be found at Exploit-DB #52260.

Workarounds

  • Restrict access to admin-ajax.php for unauthenticated users if the site functionality permits
  • Implement server-level rules to block zip file uploads to the font upload endpoint
  • Use a web application firewall (WAF) to filter requests containing the add_custom_font action from unauthenticated sources
  • Configure the web server to deny execution of PHP files in the uploads directory using .htaccess or server configuration
bash
# Apache .htaccess configuration to prevent PHP execution in uploads
# Place in wp-content/uploads/.htaccess
<FilesMatch "\.php$">
    Order Allow,Deny
    Deny from all
</FilesMatch>

# For Nginx, add to server block
location ~* /wp-content/uploads/.*\.php$ {
    deny all;
}

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechBrandexponents Tatsu

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability90.20%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-306
  • Technical References
  • Packet Storm RCE Exploit

  • Dark Pills CVE-2021-25094 Analysis

  • WPScan Vulnerability Report

  • Packet Storm File Release

  • Exploit-DB #52260
  • Latest CVEs
  • CVE-2025-70797: LimeSurvey XSS Vulnerability

  • CVE-2025-30650: Juniper Junos OS Auth Bypass Vulnerability

  • CVE-2026-35471: Goshs Path Traversal Vulnerability

  • CVE-2026-35393: Goshs Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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