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-2025-49124

CVE-2025-49124: Apache Tomcat Untrusted Search Path Flaw

CVE-2025-49124 is an untrusted search path vulnerability in Apache Tomcat's Windows installer that could allow attackers to exploit path handling. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-49124 Overview

CVE-2025-49124 is an Untrusted Search Path vulnerability affecting the Apache Tomcat installer for Windows. During the installation process, the Tomcat installer invokes icacls.exe without specifying a full path, creating an opportunity for attackers to hijack the executable search order and execute malicious code with elevated privileges.

Critical Impact

Local attackers can exploit the unqualified path to icacls.exe during Tomcat installation to achieve arbitrary code execution with the privileges of the installer process, potentially leading to complete system compromise.

Affected Products

  • Apache Tomcat 11.0.0-M1 through 11.0.7
  • Apache Tomcat 10.1.0 through 10.1.41
  • Apache Tomcat 9.0.23 through 9.0.105
  • Apache Tomcat 8.5.0 through 8.5.100 (EOL)
  • Apache Tomcat 7.0.95 through 7.0.109 (EOL)

Discovery Timeline

  • 2025-06-16 - CVE-2025-49124 published to NVD
  • 2025-10-29 - Last updated in NVD database

Technical Details for CVE-2025-49124

Vulnerability Analysis

This vulnerability is classified as CWE-426 (Untrusted Search Path), a category of vulnerabilities where an application searches for critical resources using an externally-supplied search path that is not adequately restricted. In the context of the Apache Tomcat Windows installer, the installation script calls the Windows utility icacls.exe to configure file permissions but fails to specify the complete filesystem path to the executable.

When Windows executes a program without a full path, it follows a predefined search order that typically begins with the current working directory before checking system directories. An attacker who can place a malicious executable named icacls.exe in a directory that appears earlier in the search path can hijack this execution flow.

Root Cause

The root cause of CVE-2025-49124 lies in the installer script's use of an unqualified executable name when invoking system utilities. Instead of calling C:\Windows\System32\icacls.exe with the full path, the installer simply invokes icacls.exe, relying on the Windows PATH environment variable to locate the executable. This design decision, while convenient, introduces a search path vulnerability that can be exploited in environments where an attacker has write access to directories in the search path.

Attack Vector

The attack vector for this vulnerability requires local access to the target system. An attacker must be able to place a malicious executable in a directory that is searched before the legitimate Windows system directory. Common exploitation scenarios include:

  1. Writable PATH directories: If any directory in the PATH environment variable is writable by unprivileged users, an attacker can plant a malicious icacls.exe there
  2. Current working directory attacks: If the installer is executed from a directory where the attacker has placed a malicious executable
  3. DLL planting in user-accessible locations: Targeting directories commonly accessible during installation workflows

When the legitimate Tomcat installer runs and attempts to call icacls.exe, the malicious executable is executed instead, inheriting the privileges of the installer process—often running with administrative rights during software installation.

Detection Methods for CVE-2025-49124

Indicators of Compromise

  • Presence of unexpected icacls.exe files outside of C:\Windows\System32\ or C:\Windows\SysWOW64\
  • Process execution logs showing icacls.exe spawned from unusual parent directories
  • Newly created executables in directories within the system PATH with names matching Windows system utilities
  • Anomalous process behavior during Apache Tomcat installation sequences

Detection Strategies

  • Monitor file creation events for executables named icacls.exe in non-standard locations using endpoint detection tools
  • Implement application whitelisting to prevent execution of system utilities from unauthorized paths
  • Configure Windows Defender Application Control (WDAC) policies to restrict executable locations
  • Use SentinelOne's behavioral AI to detect process injection and privilege escalation attempts during software installation

Monitoring Recommendations

  • Enable detailed process creation auditing (Windows Event ID 4688) with command line logging
  • Monitor for process execution where the image path does not match expected system locations
  • Implement file integrity monitoring on critical system directories and PATH locations
  • Review installation logs for signs of unexpected executable invocations

How to Mitigate CVE-2025-49124

Immediate Actions Required

  • Upgrade Apache Tomcat to version 11.0.8, 10.1.42, or 9.0.106 which contain the fix
  • Audit existing Tomcat installations to verify they were not compromised during initial setup
  • Review file permissions on directories in the system PATH to ensure they are not world-writable
  • Consider reinstalling affected Tomcat versions using the patched installer on sensitive systems

Patch Information

Apache has released fixed versions that address this vulnerability by specifying the full path to icacls.exe in the installer script. Users are strongly recommended to upgrade to the following patched versions:

  • Apache Tomcat 11.0.8 (for 11.x users)
  • Apache Tomcat 10.1.42 (for 10.1.x users)
  • Apache Tomcat 9.0.106 (for 9.0.x users)

For detailed patch information, refer to the Apache Security Mailing List Post and the Openwall OSS Security Update.

Note: Versions 8.5.x and 7.0.x are End-of-Life and will not receive patches. Organizations running these versions should migrate to a supported release immediately.

Workarounds

  • Ensure all directories in the system PATH have restrictive write permissions before running the installer
  • Run the Tomcat installer from a clean, controlled directory where no untrusted files exist
  • Temporarily remove writable directories from the PATH environment variable during installation
  • Verify the hash of the installer package against Apache's published checksums before execution
  • Use a dedicated, isolated administrative account for software installations
bash
# Verify PATH directories have secure permissions before installation
icacls "C:\Program Files" /verify
icacls "C:\Windows\System32" /verify

# Check for suspicious icacls.exe files outside system directories
where /r C:\ icacls.exe

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechApache Tomcat

  • SeverityHIGH

  • CVSS Score8.4

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-426
  • Technical References
  • Openwall OSS Security Update
  • Vendor Resources
  • Apache Security Mailing List Post
  • Related CVEs
  • CVE-2025-55754: Apache Tomcat ANSI Escape Injection Flaw

  • CVE-2023-46589: Apache Tomcat Request Smuggling Flaw

  • CVE-2023-45648: Apache Tomcat Request Smuggling Flaw

  • CVE-2023-41080: Apache Tomcat Open Redirect Vulnerability
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