A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-30057

CVE-2025-30057: UHCRTFDoc RCE Vulnerability

CVE-2025-30057 is a remote code execution vulnerability in UHCRTFDoc allowing command injection through the filename parameter in ConvertToPDF. This article covers technical details, affected versions, and mitigation.

Published: May 26, 2026

CVE-2025-30057 Overview

CVE-2025-30057 is a command injection vulnerability in the UHCRTFDoc component. The flaw resides in the ConvertToPDF function, where the filename parameter is passed unsanitized into a system() call. Attackers on an adjacent network with low privileges can inject shell metacharacters into the parameter to execute arbitrary commands on the host. The weakness is classified under [CWE-94] Improper Control of Generation of Code. CERT Poland documented the issue alongside related findings tracked as CVE-2025-2313.

Critical Impact

Successful exploitation grants arbitrary code execution in the context of the process invoking ConvertToPDF, compromising confidentiality, integrity, and availability of the affected system.

Affected Products

  • UHCRTFDoc component exposing the ConvertToPDF function
  • Applications embedding UHCRTFDoc for RTF-to-PDF conversion
  • Downstream deployments referenced in the CERT Poland CVE-2025-2313 Analysis

Discovery Timeline

  • 2025-08-27 - CVE-2025-30057 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-30057

Vulnerability Analysis

The ConvertToPDF function in UHCRTFDoc constructs a shell command string that includes the caller-supplied filename parameter, then invokes the C runtime system() API. Because system() spawns a command interpreter, any shell metacharacters present in filename are interpreted rather than treated as literal path data. An attacker who controls or influences the filename argument can append commands using separators such as ;, &&, |, or backticks. The injected payload runs with the privileges of the process hosting UHCRTFDoc. The exposure is reachable from an adjacent network with low privileges and no user interaction, which broadens the realistic attacker population to any authenticated user on the same network segment.

Root Cause

The root cause is the absence of input validation and argument escaping before passing untrusted data into a shell-interpreted API. Safer alternatives such as execve-family functions with argument arrays, or strict allow-list validation of filename characters, would have prevented metacharacter interpretation. The defect maps to [CWE-94] Improper Control of Generation of Code.

Attack Vector

Exploitation requires submitting a crafted filename value to any code path that reaches ConvertToPDF. The attacker supplies a string that closes the legitimate argument and appends shell syntax to execute additional commands. Detailed reproduction steps are documented in the CERT Poland CVE-2025-2313 Analysis. No public proof-of-concept exploit code was released with this advisory at the time of writing.

Detection Methods for CVE-2025-30057

Indicators of Compromise

  • Process telemetry showing the UHCRTFDoc-hosting binary spawning shell interpreters (sh, cmd.exe) or unexpected child processes such as curl, wget, powershell, or nc.
  • RTF conversion requests containing filenames with shell metacharacters (;, |, &, `, $()).
  • Outbound network connections originating from the conversion process immediately after a ConvertToPDF invocation.

Detection Strategies

  • Inspect application and proxy logs for filename values that include non-printable characters or shell separators.
  • Apply EDR rules that flag the document conversion process when it creates child processes outside an established baseline.
  • Correlate file write events to temporary directories with subsequent process creation chains tied to the conversion service.

Monitoring Recommendations

  • Enable command-line auditing on hosts running UHCRTFDoc and forward events to a central SIEM.
  • Alert on any invocation of system()-equivalent APIs by the conversion binary using runtime instrumentation.
  • Track network egress from servers performing RTF-to-PDF conversion and baseline expected destinations.

How to Mitigate CVE-2025-30057

Immediate Actions Required

  • Restrict network access to systems exposing UHCRTFDoc conversion endpoints to trusted segments only.
  • Reject filenames containing shell metacharacters at the application layer before invoking conversion routines.
  • Run the conversion service under a least-privilege account with no shell access where possible.

Patch Information

No vendor patch is referenced in the NVD record at this time. Consult the CERT Poland CVE-2025-2313 Analysis for vendor coordination details and monitor the upstream project for updated builds. Apply fixes that replace the system() call with an argument-array execution API and add strict input validation.

Workarounds

  • Wrap calls to ConvertToPDF with a sanitizer that enforces an allow-list of filename characters (alphanumerics, ., _, -).
  • Disable the RTF-to-PDF conversion feature until a patched build is deployed if business processes permit.
  • Isolate the conversion process inside a container or sandbox with no outbound network access and read-only filesystem mounts.

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechN/A

  • SeverityCRITICAL

  • CVSS Score9.4

  • EPSS Probability0.20%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/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
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-94
  • Technical References
  • CERT Poland CVE-2025-2313 Analysis
  • Latest CVEs
  • CVE-2026-9813: FlowIntel SSRF Vulnerability

  • CVE-2026-4377: D-Link DWR-X1820 Auth Bypass Vulnerability

  • CVE-2026-47074: ex_aws_sns Auth Bypass Vulnerability

  • CVE-2026-46241: Linux Kernel Use-After-Free Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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