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

CVE-2021-20865: Advanced Custom Fields Info Disclosure

CVE-2021-20865 is an information disclosure vulnerability in Advanced Custom Fields that allows unauthorized database browsing. This article covers the technical details, affected versions, security impact, and mitigation.

Published: February 25, 2026

CVE-2021-20865 Overview

CVE-2021-20865 is a missing authorization vulnerability affecting Advanced Custom Fields and Advanced Custom Fields Pro, popular WordPress plugins used for extending content management capabilities. Versions prior to 5.11 contain a flaw in the database browsing functionality that allows unauthorized users to access sensitive data without proper authorization checks.

This vulnerability falls under CWE-862 (Missing Authorization), where the application fails to perform authorization checks when a user attempts to browse database content through unspecified vectors.

Critical Impact

Unauthorized users can browse and access sensitive database information, potentially exposing confidential site data, custom field values, and other protected content stored within the WordPress database.

Affected Products

  • Advanced Custom Fields versions prior to 5.11
  • Advanced Custom Fields Pro versions prior to 5.11
  • WordPress installations using affected ACF plugin versions

Discovery Timeline

  • 2021-12-13 - CVE-2021-20865 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-20865

Vulnerability Analysis

The vulnerability exists within the database browsing functionality of Advanced Custom Fields. The plugin fails to implement proper authorization checks when users attempt to access database content, allowing any authenticated user (or potentially unauthenticated users depending on configuration) to browse data they should not have access to.

Advanced Custom Fields is designed to allow WordPress administrators to add custom field groups to posts, pages, and other content types. The vulnerable component handles database queries and data retrieval, but does not verify whether the requesting user has the appropriate permissions to view the requested data.

The missing authorization check means that the application trusts user requests without validating access rights, violating the principle of least privilege. This type of vulnerability is particularly concerning in multi-user WordPress environments where different users have varying levels of access.

Root Cause

The root cause is a missing authorization vulnerability (CWE-862) in the database browsing functionality. The plugin does not properly verify user permissions before allowing access to browse database content. This architectural oversight allows users to bypass intended access controls and retrieve data beyond their authorization level.

Attack Vector

The attack can be conducted remotely over the network without requiring user interaction. An attacker with network access to the vulnerable WordPress installation can exploit this flaw to access unauthorized database content. The attack complexity is low, meaning exploitation does not require sophisticated techniques or specialized conditions.

The exploitation typically involves:

  1. Identifying a WordPress installation with a vulnerable version of Advanced Custom Fields
  2. Accessing the database browsing functionality through the plugin's interface
  3. Retrieving sensitive data without proper authorization validation

Due to the nature of this missing authorization flaw, attackers can potentially access custom field data, post metadata, and other sensitive information stored through the ACF plugin without having legitimate access rights.

Detection Methods for CVE-2021-20865

Indicators of Compromise

  • Unusual access patterns to ACF database browsing endpoints
  • Access logs showing database queries from low-privilege or anonymous users
  • Unexpected data retrieval requests targeting custom field data
  • Authentication logs showing access to ACF administrative functions by unauthorized accounts

Detection Strategies

  • Monitor WordPress access logs for requests to ACF-related endpoints from unauthorized users
  • Implement Web Application Firewall (WAF) rules to detect suspicious database browsing patterns
  • Review plugin access logs for unusual query patterns or data access attempts
  • Deploy file integrity monitoring to detect unauthorized modifications to ACF plugin files

Monitoring Recommendations

  • Enable detailed logging for WordPress plugins, particularly ACF database operations
  • Set up alerts for failed or anomalous authorization attempts within the WordPress admin area
  • Regularly audit user access patterns to ACF functionality
  • Monitor for bulk data retrieval attempts that may indicate exploitation

How to Mitigate CVE-2021-20865

Immediate Actions Required

  • Update Advanced Custom Fields to version 5.11 or later immediately
  • Update Advanced Custom Fields Pro to version 5.11 or later immediately
  • Review access logs for any signs of unauthorized data access
  • Audit user permissions and remove unnecessary access to ACF functionality
  • Consider temporarily disabling the plugin if immediate update is not possible

Patch Information

The vulnerability has been addressed in Advanced Custom Fields version 5.11 and Advanced Custom Fields Pro version 5.11. Users should update to these versions or later to remediate the vulnerability. The patches can be obtained through the WordPress Plugin Directory or the Advanced Custom Fields Website.

For detailed security information, refer to the JVN Security Advisory.

Workarounds

  • Restrict access to the WordPress admin area using IP-based filtering until patching is complete
  • Implement additional authentication layers for administrative functions
  • Use a Web Application Firewall to block suspicious requests to ACF endpoints
  • Limit user roles and capabilities to reduce the potential impact of unauthorized access
  • Consider disabling database browsing functionality if not required for operations
bash
# Configuration example - Restrict ACF access via .htaccess
# Add to WordPress .htaccess file to limit admin access

<FilesMatch "admin-ajax.php">
    Order Deny,Allow
    Deny from all
    Allow from 192.168.1.0/24
    Allow from 10.0.0.0/8
</FilesMatch>

# Ensure WordPress and plugins are updated
wp plugin update advanced-custom-fields --allow-root
wp plugin list --status=active --format=table

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechAdvanced Custom Fields

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability1.95%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-862
  • Technical References
  • JVN Security Advisory

  • WordPress Plugin Information
  • Vendor Resources
  • Advanced Custom Fields Website
  • Related CVEs
  • CVE-2025-14533: ACF Extended Plugin Privilege Escalation

  • CVE-2023-1196: Advanced Custom Fields RCE Vulnerability

  • CVE-2024-4565: Advanced Custom Fields Auth Bypass Flaw

  • CVE-2023-30777: Advanced Custom Fields XSS Vulnerability
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