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

CVE-2026-27625: Stirling-PDF Path Traversal Vulnerability

CVE-2026-27625 is a path traversal vulnerability in Stirling-PDF that allows authenticated users to write files outside intended directories. This post covers technical details, affected versions, impact, and mitigation.

Published: March 27, 2026

CVE-2026-27625 Overview

Stirling-PDF is a locally hosted web application that performs various operations on PDF files. A path traversal vulnerability exists in versions prior to 2.5.2 that allows authenticated users to write arbitrary files outside the intended temporary working directory. The /api/v1/convert/markdown/pdf endpoint extracts user-supplied ZIP entries without proper path validation, enabling attackers to overwrite files with the privileges of the Stirling-PDF process user (stirlingpdfuser).

Critical Impact

Authenticated attackers can exploit this vulnerability to achieve arbitrary file write on the system, potentially compromising data integrity, overwriting configuration files, or achieving further system compromise depending on writable paths accessible to the application process.

Affected Products

  • Stirling-PDF versions prior to 2.5.2
  • Self-hosted Stirling-PDF deployments using the vulnerable endpoint
  • Docker and bare-metal installations running affected versions

Discovery Timeline

  • 2026-03-20 - CVE-2026-27625 published to NVD
  • 2026-03-24 - Last updated in NVD database

Technical Details for CVE-2026-27625

Vulnerability Analysis

This vulnerability is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), commonly known as Path Traversal or Directory Traversal. The core issue stems from insufficient validation of file paths extracted from user-supplied ZIP archives during the Markdown to PDF conversion process.

When a user submits a ZIP file to the /api/v1/convert/markdown/pdf endpoint, the application extracts the contents to a temporary working directory. However, the extraction routine fails to sanitize file paths contained within the ZIP archive. An attacker can craft a malicious ZIP file containing entries with path traversal sequences (such as ../) that, when extracted, write files outside the intended directory boundary.

The vulnerability requires authentication to exploit, limiting the attack surface to users with valid credentials. However, the impact on data integrity is significant as the attacker can overwrite any files writable by the stirlingpdfuser account under which the application runs.

Root Cause

The root cause is the absence of path validation when extracting ZIP entries in the Markdown to PDF conversion endpoint. The application directly uses the file paths specified within the ZIP archive without checking whether the resolved path falls within the expected temporary directory. This allows specially crafted ZIP files to include directory traversal sequences that escape the working directory boundary.

Attack Vector

The attack is network-accessible and requires low complexity to execute. An authenticated attacker can exploit this vulnerability by:

  1. Crafting a malicious ZIP file containing files with path traversal sequences in their names (e.g., ../../etc/cron.d/malicious)
  2. Submitting the ZIP file to the /api/v1/convert/markdown/pdf endpoint
  3. The application extracts the contents, writing files to arbitrary locations on the filesystem

The vulnerability does not require user interaction and can be exploited directly through API calls. While confidentiality is not directly impacted, the arbitrary file write capability can lead to severe integrity compromises and potentially further exploitation depending on the system configuration and writable paths.

Detection Methods for CVE-2026-27625

Indicators of Compromise

  • Unexpected file modifications or creations outside the Stirling-PDF working directory
  • API requests to /api/v1/convert/markdown/pdf with suspicious ZIP file uploads
  • Log entries showing file operations with path traversal sequences (../)
  • Files owned by stirlingpdfuser appearing in unexpected system locations

Detection Strategies

  • Monitor API access logs for requests to the /api/v1/convert/markdown/pdf endpoint with large or suspicious ZIP uploads
  • Implement file integrity monitoring (FIM) on critical system directories to detect unauthorized modifications
  • Review application logs for extraction errors or unusual file path references
  • Deploy web application firewall (WAF) rules to detect ZIP slip attack patterns in uploaded content

Monitoring Recommendations

  • Enable verbose logging for the Stirling-PDF application to capture file operation details
  • Set up alerts for file creation events outside designated application directories
  • Monitor system calls from the stirlingpdfuser process for writes to sensitive paths
  • Implement network-level monitoring for suspicious file upload patterns to the affected endpoint

How to Mitigate CVE-2026-27625

Immediate Actions Required

  • Upgrade Stirling-PDF to version 2.5.2 or later immediately
  • Review system logs for evidence of exploitation attempts targeting the vulnerable endpoint
  • Audit files owned by stirlingpdfuser for unexpected modifications or placements
  • Temporarily disable or restrict access to the /api/v1/convert/markdown/pdf endpoint if immediate patching is not possible

Patch Information

The vulnerability has been fixed in Stirling-PDF version 2.5.2. Organizations should update to this version or later to remediate the vulnerability. The fix implements proper path validation to ensure extracted ZIP entries cannot escape the intended working directory.

For detailed information, see the GitHub Security Advisory GHSA-wccq-mg6x-2w22 and the Stirling-PDF v2.5.2 release notes.

Workarounds

  • Restrict network access to the Stirling-PDF application to trusted users only
  • Implement additional access controls at the reverse proxy level to limit exposure of the vulnerable endpoint
  • Run Stirling-PDF in a containerized environment with minimal filesystem permissions
  • Configure the application to run with a dedicated user account with restricted write permissions to minimize impact
bash
# Configuration example - Restrict write permissions for the Stirling-PDF process user
# Limit the stirlingpdfuser to only write to necessary directories
chmod 755 /opt/stirling-pdf
chown root:root /opt/stirling-pdf
mkdir -p /opt/stirling-pdf/temp
chown stirlingpdfuser:stirlingpdfuser /opt/stirling-pdf/temp
chmod 700 /opt/stirling-pdf/temp

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechStirling Pdf

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Vendor Resources
  • GitHub Release v2.5.2

  • GitHub Security Advisory GHSA-wccq-mg6x-2w22
  • Related CVEs
  • CVE-2026-33436: Stirling-PDF XSS Vulnerability

  • CVE-2026-33438: Stirling-PDF DoS Vulnerability

  • CVE-2026-34071: Stirling-PDF XSS Vulnerability

  • CVE-2025-55151: Stirling PDF SSRF 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