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-2026-3460

CVE-2026-3460: REST API TO MiniProgram Auth Bypass Flaw

CVE-2026-3460 is an authentication bypass flaw in the REST API TO MiniProgram WordPress plugin that allows attackers to modify arbitrary user metadata. This article covers the technical details, affected versions, and mitigation.

Published: March 27, 2026

CVE-2026-3460 Overview

The REST API TO MiniProgram plugin for WordPress contains an Insecure Direct Object Reference (IDOR) vulnerability in all versions up to, and including, 5.1.2. This security flaw arises from a fundamental mismatch between the permission validation and the actual operation performed by the REST API endpoint. Specifically, the permission callback (update_user_wechatshop_info_permissions_check) only validates that the supplied openid parameter corresponds to an existing WordPress user, while the callback function (update_user_wechatshop_info) uses a separate, attacker-controlled userid parameter to determine which user's metadata gets modified.

Critical Impact

Authenticated attackers with Subscriber-level access can modify arbitrary users' store-related metadata (storeinfo, storeappid, storename) via the userid REST API parameter, potentially impacting e-commerce operations and user data integrity.

Affected Products

  • REST API TO MiniProgram plugin for WordPress versions up to and including 5.1.2
  • WordPress installations using the vulnerable plugin versions
  • WeChat MiniProgram integrations utilizing the affected REST API endpoints

Discovery Timeline

  • March 21, 2026 - CVE-2026-3460 published to NVD
  • March 23, 2026 - Last updated in NVD database

Technical Details for CVE-2026-3460

Vulnerability Analysis

This vulnerability represents a classic Insecure Direct Object Reference pattern where authorization checks are performed against one parameter while the actual data modification uses a different, attacker-controlled parameter. The flaw exists in the ram-rest-weixin-controller.php file, which handles WeChat-related REST API endpoints for the MiniProgram integration.

The core issue lies in the disconnect between the permission validation logic and the actual business logic execution. When a request is made to update user store information, the permission callback verifies that the openid parameter corresponds to a valid WordPress user. However, this check provides no protection because the subsequent callback function operates on an entirely different parameter—userid—which the attacker can set to any value, including user IDs belonging to other accounts.

This design flaw allows authenticated users with minimal privileges (Subscriber-level) to tamper with store metadata belonging to other users, including administrators and store owners.

Root Cause

The root cause is a failure to implement proper authorization binding between the authenticated user's identity and the target resource being modified. The update_user_wechatshop_info_permissions_check function validates the wrong parameter, creating a security gap where the openid and userid parameters are never verified to belong to the same user account. This violates the principle of least privilege and proper access control implementation.

Attack Vector

The attack exploits the network-accessible REST API endpoint. An authenticated attacker with Subscriber-level access can craft malicious API requests that include their own valid openid to pass the permission check, while specifying a different victim's userid to target arbitrary user accounts. The attacker can then modify store-related metadata fields including storeinfo, storeappid, and storename for any user on the WordPress installation.

The attack requires no user interaction and can be performed remotely with low complexity. The attacker manipulates the REST API parameters to bypass the flawed authorization check and modify data belonging to other users.

Detection Methods for CVE-2026-3460

Indicators of Compromise

  • Unusual REST API calls to WeChat store metadata endpoints with mismatched openid and userid parameters
  • Unexpected modifications to user store metadata (storeinfo, storeappid, storename) without corresponding user activity
  • API requests from low-privilege accounts (Subscribers) attempting to modify other users' data
  • Log entries showing REST API calls to /wp-json/ endpoints related to MiniProgram with suspicious parameter combinations

Detection Strategies

  • Monitor WordPress REST API access logs for requests to MiniProgram-related endpoints with parameter anomalies
  • Implement Web Application Firewall (WAF) rules to flag REST API requests where openid and userid parameters reference different user accounts
  • Deploy SentinelOne Singularity to detect and alert on suspicious API manipulation patterns targeting WordPress installations
  • Review WordPress audit logs for unexpected user metadata changes, particularly store-related fields

Monitoring Recommendations

  • Enable comprehensive logging for all REST API endpoints related to the MiniProgram plugin
  • Configure alerts for metadata modifications performed by users other than the account owner
  • Implement real-time monitoring of WordPress user metadata tables for unauthorized changes
  • Utilize SentinelOne's behavioral AI to identify anomalous patterns in API request sequences

How to Mitigate CVE-2026-3460

Immediate Actions Required

  • Update the REST API TO MiniProgram plugin to a version newer than 5.1.2 that addresses this vulnerability
  • Audit user store metadata for unauthorized modifications that may have occurred prior to patching
  • Review WordPress REST API access logs to identify potential exploitation attempts
  • Consider temporarily disabling the affected plugin if an update is not immediately available

Patch Information

Organizations should update the REST API TO MiniProgram plugin to the latest available version that includes the security fix for this IDOR vulnerability. Technical details about the vulnerable code locations can be found in the WordPress Plugin Trac repository. Additional vulnerability details are available in the Wordfence Vulnerability Report.

Workarounds

  • Restrict access to the vulnerable REST API endpoints at the web server level using IP allowlisting or authentication requirements
  • Implement custom WordPress code to validate that openid and userid parameters belong to the same user before processing requests
  • Disable user registration to prevent attackers from easily obtaining Subscriber-level access
  • Deploy a Web Application Firewall (WAF) rule to block REST API requests with mismatched identity parameters
bash
# Apache .htaccess workaround to restrict access to vulnerable endpoint
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/wp-json/.*miniprogram.* [NC]
RewriteCond %{REMOTE_ADDR} !^192\.168\.1\. 
RewriteRule ^ - [F,L]
</IfModule>

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechWordpress

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-20
  • Technical References
  • WordPress API Code Reference

  • WordPress API Code Reference

  • WordPress API Code Reference

  • WordPress API Code Reference

  • WordPress API Code Reference

  • WordPress API Code Reference

  • Wordfence Vulnerability Report
  • Related CVEs
  • CVE-2026-2519: Bookly WordPress Plugin Auth Bypass Flaw

  • CVE-2026-4326: Vertex Addons Auth Bypass Vulnerability

  • CVE-2025-14944: Backup Migration Plugin Auth Bypass Flaw

  • CVE-2026-3646: WordPress LTL Plugin Auth Bypass Flaw
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