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-2004

CVE-2025-2004: Simple WP Events Path Traversal Flaw

CVE-2025-2004 is a path traversal vulnerability in Simple WP Events plugin for WordPress that allows unauthenticated attackers to delete arbitrary files, potentially leading to remote code execution. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Updated: May 15, 2026

CVE-2025-2004 Overview

CVE-2025-2004 is an arbitrary file deletion vulnerability in the Simple WP Events plugin for WordPress. The flaw exists in the wpe_delete_file AJAX action and affects all plugin versions up to and including 1.8.17. Insufficient file path validation lets unauthenticated attackers delete arbitrary files on the underlying server. Deleting sensitive files such as wp-config.php can trigger WordPress reinstallation flows and lead to remote code execution. CVE-2025-32509 is a duplicate of this issue.

Critical Impact

Unauthenticated attackers can delete arbitrary server files via an exposed AJAX endpoint, escalating to remote code execution when wp-config.php is removed.

Affected Products

  • Simple WP Events plugin for WordPress, all versions through 1.8.17
  • WordPress sites with the plugin installed and activated
  • Hosting environments where the web server can write to WordPress core files

Discovery Timeline

  • 2025-04-08 - CVE-2025-2004 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-2004

Vulnerability Analysis

The vulnerability is classified under [CWE-73] External Control of File Name or Path. The Simple WP Events plugin registers the wpe_delete_file AJAX action without enforcing authentication, capability checks, or proper path validation. An attacker sends a crafted POST request to wp-admin/admin-ajax.php with the target file path as a parameter. The plugin passes that user-supplied path directly to a file deletion routine.

Deleting wp-config.php is the typical escalation path. When WordPress loads without a configuration file, it serves the installation wizard, allowing an attacker to point the site at an attacker-controlled database. From that position, the attacker can create an administrator account and upload a malicious plugin or theme, achieving code execution on the host.

Root Cause

The root cause is missing authorization and missing path sanitization in the AJAX handler defined in admin/includes/wp-events-export-events.php. The handler is registered for both privileged and unprivileged users, and it accepts a relative or absolute file path from the request body. No nonce verification, capability check, or path containment to the plugin's working directory is applied before calling the delete operation.

Attack Vector

Exploitation is network-based and requires no authentication or user interaction. An attacker issues an HTTP POST request to the plugin's AJAX endpoint with a file parameter pointing to a target such as ../../../wp-config.php. The server processes the request and removes the specified file. See the WordPress Plugin Code Review and the WordPress Plugin Changeset Log for the vulnerable code and the corresponding fix.

Detection Methods for CVE-2025-2004

Indicators of Compromise

  • POST requests to /wp-admin/admin-ajax.php containing action=wpe_delete_file from unauthenticated sessions
  • Unexpected absence of wp-config.php or other WordPress core files, followed by the install wizard appearing at the site root
  • Newly created administrator accounts and unfamiliar plugin or theme uploads following plugin AJAX traffic
  • Web server file deletion events on PHP files outside the Simple WP Events plugin directory

Detection Strategies

  • Inspect web server access logs for admin-ajax.php requests carrying the wpe_delete_file action parameter, especially without an authenticated wordpress_logged_in_* cookie
  • Compare file integrity baselines for WordPress core and plugin directories to identify unauthorized deletions
  • Alert on HTTP responses where wp-config.php is missing and the installer (/wp-admin/install.php) is served on a previously configured site

Monitoring Recommendations

  • Forward WordPress and web server logs to a centralized analytics platform and create rules for the wpe_delete_file action string
  • Monitor filesystem audit events on the WordPress document root for deletions of wp-config.php, .htaccess, and index.php
  • Track administrator account creation and plugin installation events outside of approved change windows

How to Mitigate CVE-2025-2004

Immediate Actions Required

  • Update the Simple WP Events plugin to a version newer than 1.8.17 that includes the fix referenced in the plugin changeset
  • If an immediate update is not possible, deactivate and remove the plugin from all WordPress installations
  • Restore any deleted files from backups and verify the integrity of wp-config.php and core WordPress files
  • Audit administrator accounts and installed plugins for unauthorized changes

Patch Information

The vendor fixed the issue in the changeset referenced in the WordPress Plugin Changeset Log. Details and affected version ranges are documented in the Wordfence Vulnerability Report. Administrators should install the patched release on every site running Simple WP Events.

Workarounds

  • Block requests to admin-ajax.php with action=wpe_delete_file at the web application firewall until patching is complete
  • Restrict filesystem permissions so the web server user cannot delete wp-config.php or other core files
  • Disable the plugin entirely on sites that do not require event export functionality
bash
# Example WAF rule (ModSecurity) to block exploitation attempts
SecRule REQUEST_URI "@endsWith /wp-admin/admin-ajax.php" \
  "chain,phase:2,deny,status:403,id:1002004,msg:'Block CVE-2025-2004 wpe_delete_file abuse'"
  SecRule ARGS:action "@streq wpe_delete_file" "t:lowercase"

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechWordpress

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability1.15%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-73
  • Technical References
  • WordPress Plugin Code Review

  • WordPress Plugin Changeset Log

  • Wordfence Vulnerability Report
  • Related CVEs
  • CVE-2026-6381: WP Maps Path Traversal Vulnerability

  • CVE-2018-25324: Simple Fields WordPress Path Traversal

  • CVE-2021-47977: WordPress Anti-Malware Path Traversal Flaw

  • CVE-2021-47979: WordPress Backup Plugin File Deletion Flaw
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