Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-6380

CVE-2025-6380: ONLYOFFICE Docs Privilege Escalation Flaw

CVE-2025-6380 is a privilege escalation vulnerability in the ONLYOFFICE Docs WordPress plugin allowing unauthenticated attackers to log in as any user. This article covers the technical details, affected versions, and mitigation.

Published: March 24, 2026

CVE-2025-6380 Overview

The ONLYOFFICE Docs plugin for WordPress contains a critical privilege escalation vulnerability due to missing authorization controls in its oo.callback REST endpoint. Affecting versions 1.1.0 through 2.2.0, the plugin's permission callback only verifies that the supplied, encrypted attachment ID maps to an existing attachment post, but critically fails to verify the requester's identity or capabilities. This architectural flaw enables unauthenticated attackers to log in as an arbitrary user, including administrators, leading to complete site compromise.

Critical Impact

Unauthenticated attackers can bypass authentication entirely and gain arbitrary user access, including administrator privileges, leading to full WordPress site takeover.

Affected Products

  • ONLYOFFICE Docs plugin for WordPress versions 1.1.0 to 2.2.0
  • WordPress installations using the vulnerable ONLYOFFICE Docs plugin

Discovery Timeline

  • 2025-07-24 - CVE-2025-6380 published to NVD
  • 2025-07-25 - Last updated in NVD database

Technical Details for CVE-2025-6380

Vulnerability Analysis

This vulnerability stems from a critical authorization bypass in the ONLYOFFICE Docs plugin's REST API callback mechanism. The oo.callback endpoint, designed to handle document editing callbacks from the ONLYOFFICE Document Server, implements an insufficient permission check that validates only the existence of an encrypted attachment ID rather than authenticating and authorizing the requesting user.

The vulnerability is classified under CWE-862 (Missing Authorization), representing a fundamental security design flaw where authentication controls are entirely absent from a sensitive endpoint. The network-accessible nature of this REST endpoint, combined with the lack of authentication requirements, creates a direct attack path for remote adversaries to achieve privilege escalation without any user interaction.

When exploited, attackers can manipulate the callback mechanism to authenticate as any WordPress user on the system. This includes administrator accounts, granting full control over the WordPress installation including the ability to install malicious plugins, modify content, access sensitive data, and potentially pivot to underlying server infrastructure.

Root Cause

The root cause lies in the plugin's class-onlyoffice-plugin-callback.php file, specifically in how the permission callback validates incoming requests to the oo.callback REST endpoint. The validation logic only checks whether the supplied encrypted attachment ID corresponds to a valid WordPress attachment post. However, it completely omits verification of the requester's identity, session validity, or capability permissions. This missing authorization check allows any unauthenticated request that contains a valid encrypted attachment ID to be processed with elevated privileges.

Attack Vector

The attack vector is network-based, requiring no authentication, no user interaction, and no special privileges. An attacker can exploit this vulnerability by:

  1. Identifying a WordPress site running a vulnerable version of the ONLYOFFICE Docs plugin
  2. Crafting a malicious request to the oo.callback REST endpoint
  3. Supplying a valid encrypted attachment ID (which may be obtained through enumeration or other means)
  4. Leveraging the callback mechanism to authenticate as any user, including site administrators

The vulnerability in the callback handler at class-onlyoffice-plugin-callback.php (line 57) processes the request without validating user credentials, allowing the attacker to assume the identity of any WordPress user. Technical details of the vulnerable code can be found in the OnlyOffice Plugin Callback Code and OnlyOffice Plugin Code Reference.

Detection Methods for CVE-2025-6380

Indicators of Compromise

  • Unexpected or unauthorized REST API calls to the oo.callback endpoint from external IP addresses
  • Anomalous login activity for administrator or privileged user accounts without corresponding legitimate user sessions
  • Sudden changes to WordPress site settings, user roles, or installed plugins by accounts that should not have such access
  • Web server logs showing repeated POST requests to /wp-json/onlyoffice/callback from suspicious sources

Detection Strategies

  • Implement web application firewall (WAF) rules to monitor and alert on unusual traffic patterns to the ONLYOFFICE callback endpoint
  • Enable and review WordPress audit logging for authentication events, particularly successful logins without corresponding session creation
  • Deploy endpoint detection solutions to identify unauthorized administrative actions following suspicious API activity
  • Monitor for plugin file modifications or new plugin installations that occur outside of expected maintenance windows

Monitoring Recommendations

  • Configure real-time alerting on authentication events for administrator accounts
  • Establish baseline traffic patterns for the ONLYOFFICE plugin endpoints and alert on deviations
  • Implement rate limiting on REST API endpoints to slow down enumeration and exploitation attempts
  • Review access logs periodically for requests to /wp-json/ endpoints from untrusted sources

How to Mitigate CVE-2025-6380

Immediate Actions Required

  • Update the ONLYOFFICE Docs plugin to the latest patched version immediately
  • If immediate patching is not possible, temporarily disable the ONLYOFFICE Docs plugin until a secure version can be deployed
  • Audit WordPress user accounts for any unauthorized access or privilege changes
  • Review server and application logs for indicators of prior exploitation
  • Reset passwords for all administrator accounts as a precautionary measure

Patch Information

Organizations should update the ONLYOFFICE Docs plugin to a version newer than 2.2.0 that includes the security fix. The patch should be available through the WordPress Plugin Directory. Administrators should verify the installed version and apply updates through the WordPress admin dashboard or by manually downloading and installing the corrected plugin package.

For detailed vulnerability analysis and remediation guidance, refer to the Wordfence Vulnerability Analysis.

Workarounds

  • Disable the ONLYOFFICE Docs plugin entirely until a patched version is available
  • Implement IP-based access restrictions to the WordPress REST API, limiting access to trusted networks only
  • Deploy a web application firewall (WAF) rule to block unauthenticated requests to the oo.callback endpoint
  • Consider temporarily restricting access to the WordPress admin interface to known IP addresses
bash
# Example .htaccess rule to restrict access to the callback endpoint
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/wp-json/onlyoffice/callback
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
  • TypePrivilege Escalation

  • Vendor/TechOnlyoffice

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.26%

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

  • OnlyOffice Plugin Callback Code

  • OnlyOffice Developer Resources

  • Wordfence Vulnerability Analysis
  • Related CVEs
  • CVE-2026-41030: ONLYOFFICE Privilege Escalation Flaw

  • CVE-2026-41034: ONLYOFFICE DocumentServer Info Leak 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