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
    • 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-27791

CVE-2025-27791: Collabora Online Path Traversal Flaw

CVE-2025-27791 is a path traversal vulnerability in Collabora Online that allows attackers to write files to unauthorized locations. This article covers the technical details, affected versions, impact, and mitigation.

Published: May 11, 2026

CVE-2025-27791 Overview

CVE-2025-27791 is a path traversal vulnerability [CWE-23] in Collabora Online, a collaborative office suite based on LibreOffice technology. The flaw exists in how Collabora Online processes the BaseFileName field returned by Web Application Open Platform Interface (WOPI) servers during CheckFileInfo responses. A malicious WOPI server can supply a crafted BaseFileName value that escapes the intended directory and writes files to arbitrary locations accessible by the Collabora Online process user. Attackers can chain this with a Time-of-Check Time-of-Use (TOCTOU) DNS resolution issue to redirect a Collabora instance to an attacker-controlled WOPI server. Versions prior to 24.04.12.4, 23.05.19, and 22.05.25 are affected.

Critical Impact

A remote attacker controlling a WOPI server response can write files anywhere the Collabora Online service can write, enabling code execution or configuration tampering.

Affected Products

  • Collabora Online versions prior to 24.04.12.4
  • Collabora Online versions prior to 23.05.19
  • Collabora Online versions prior to 22.05.25

Discovery Timeline

  • 2025-04-15 - CVE-2025-27791 published to the National Vulnerability Database
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-27791

Vulnerability Analysis

The vulnerability resides in the WOPI client logic inside Collabora Online. When Collabora Online retrieves file metadata from a WOPI host, the server returns a JSON response containing a BaseFileName field. Collabora Online uses this value to construct file paths without sufficient sanitization for directory traversal sequences. A response containing path separators or .. segments in BaseFileName causes Collabora Online to write content outside the intended document directory. The result is arbitrary file write under the privileges of the user running the coolwsd service.

The attack becomes practical when combined with a TOCTOU DNS lookup issue. Collabora Online resolves WOPI host addresses at one point and connects later, allowing an attacker who controls DNS responses to swap a trusted WOPI host for a malicious one between validation and use. The integrity impact is significant, while confidentiality and availability impact remain limited.

Root Cause

The root cause is insufficient input validation on the BaseFileName field of the WOPI CheckFileInfo response. Collabora Online treats the value as a trusted filename and concatenates it into a destination path. The code does not strip directory separators or reject relative path components, classifying the defect under [CWE-23] Relative Path Traversal.

Attack Vector

Exploitation requires network access and the ability to influence which WOPI server a Collabora Online instance contacts. The attacker hosts a malicious WOPI endpoint that responds to CheckFileInfo with a BaseFileName containing traversal sequences. Using the TOCTOU DNS issue, the attacker causes the Collabora Online server to consult the malicious host even when an allow-list of legitimate WOPI hosts is configured. Successful exploitation writes attacker-controlled bytes to a chosen path, which can be leveraged to overwrite configuration files, plant scripts in executable locations, or replace document templates. See the GitHub Security Advisory GHSA-9j32-gg3j-8w25 for technical details.

Detection Methods for CVE-2025-27791

Indicators of Compromise

  • Unexpected files written outside the Collabora Online document storage directory, owned by the cool or lool service account.
  • WOPI CheckFileInfo responses in logs containing .., forward slashes, or backslashes in the BaseFileName field.
  • DNS query patterns from the Collabora Online host that resolve a trusted WOPI hostname to multiple distinct IP addresses within a short interval.
  • Outbound HTTPS connections from coolwsd to WOPI hosts not present in the configured allow-list.

Detection Strategies

  • Inspect coolwsd access logs for CheckFileInfo requests followed by file write operations to non-document paths.
  • Compare DNS resolution results for configured WOPI hosts against an authoritative baseline to detect spoofing.
  • Enable file integrity monitoring on the Collabora Online installation directory, configuration files, and home directory of the service account.

Monitoring Recommendations

  • Forward coolwsd logs and host audit logs to a centralized analytics platform for correlation of WOPI traffic with filesystem events.
  • Alert on process executions spawned by coolwsd outside of the standard LibreOffice conversion binaries.
  • Monitor egress traffic from Collabora Online servers and block connections to WOPI hosts that are not explicitly trusted.

How to Mitigate CVE-2025-27791

Immediate Actions Required

  • Upgrade Collabora Online to version 24.04.13.1, 23.05.19, or 22.05.25 or later, depending on the deployed branch.
  • Restrict the WOPI host allow-list in coolwsd.xml to a minimal set of trusted document hosts.
  • Run the coolwsd service as an unprivileged user with no write access outside its required directories.

Patch Information

Collabora released fixes in versions 24.04.13.1, 23.05.19, and 22.05.25. The patched releases validate the BaseFileName value returned by WOPI servers and reject path separators. Administrators should consult the Collabora Online Security Advisory GHSA-9j32-gg3j-8w25 and apply distribution packages from official repositories.

Workarounds

  • Place Collabora Online behind a network policy that allows outbound HTTPS only to known WOPI hosts by IP address, defeating the DNS swap technique.
  • Pin DNS resolution for configured WOPI hosts using /etc/hosts or an internal authoritative resolver to prevent TOCTOU substitution.
  • Apply mandatory access control profiles such as AppArmor or SELinux to confine coolwsd write access to its document directories.

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechCollabora Online

  • SeverityHIGH

  • CVSS Score8.3

  • EPSS Probability0.94%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-23
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-23623: Collabora Online Auth Bypass Vulnerability

  • CVE-2025-66208: Collabora Online RCE 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